作者 tangxuhui

错误修正

@@ -245,8 +245,8 @@ func (noticePersonalService *NoticePersonalService) InformExpectedDividends(info @@ -245,8 +245,8 @@ func (noticePersonalService *NoticePersonalService) InformExpectedDividends(info
245 CompanyId: informExpectedDividendsCommand.CompanyId, 245 CompanyId: informExpectedDividendsCommand.CompanyId,
246 Content: tplResult.String(), 246 Content: tplResult.String(),
247 IsRead: domain.NoticePersonalIsNotRead, 247 IsRead: domain.NoticePersonalIsNotRead,
248 - Module: domain.Action01_01,  
249 - ModuleAction: domain.Action01_01, 248 + Module: domain.Module01,
  249 + ModuleAction: domain.Action01_04,
250 UserBaseId: informExpectedDividendsCommand.UserBaseId, 250 UserBaseId: informExpectedDividendsCommand.UserBaseId,
251 OrgId: informExpectedDividendsCommand.OrgId, 251 OrgId: informExpectedDividendsCommand.OrgId,
252 UserId: informExpectedDividendsCommand.UserId, 252 UserId: informExpectedDividendsCommand.UserId,
@@ -344,8 +344,8 @@ func (noticePersonalService *NoticePersonalService) InformJoinCreationContract(i @@ -344,8 +344,8 @@ func (noticePersonalService *NoticePersonalService) InformJoinCreationContract(i
344 CompanyId: informJoinCreationContractCommand.CompanyId, 344 CompanyId: informJoinCreationContractCommand.CompanyId,
345 Content: tplResult.String(), 345 Content: tplResult.String(),
346 IsRead: domain.NoticePersonalIsNotRead, 346 IsRead: domain.NoticePersonalIsNotRead,
347 - Module: domain.Action01_01,  
348 - ModuleAction: domain.Action01_01, 347 + Module: domain.Module01,
  348 + ModuleAction: domain.Action01_03,
349 UserBaseId: informJoinCreationContractCommand.UserBaseId, 349 UserBaseId: informJoinCreationContractCommand.UserBaseId,
350 OrgId: informJoinCreationContractCommand.OrgId, 350 OrgId: informJoinCreationContractCommand.OrgId,
351 UserId: informJoinCreationContractCommand.UserId, 351 UserId: informJoinCreationContractCommand.UserId,
@@ -437,8 +437,8 @@ func (noticePersonalService *NoticePersonalService) RefuseJoinCreationProject(re @@ -437,8 +437,8 @@ func (noticePersonalService *NoticePersonalService) RefuseJoinCreationProject(re
437 CompanyId: refuseJoinCreationProjectCommand.CompanyId, 437 CompanyId: refuseJoinCreationProjectCommand.CompanyId,
438 Content: tplResult.String(), 438 Content: tplResult.String(),
439 IsRead: domain.NoticePersonalIsNotRead, 439 IsRead: domain.NoticePersonalIsNotRead,
440 - Module: domain.Action01_01,  
441 - ModuleAction: domain.Action01_01, 440 + Module: domain.Module01,
  441 + ModuleAction: domain.Action01_02,
442 UserBaseId: refuseJoinCreationProjectCommand.UserBaseId, 442 UserBaseId: refuseJoinCreationProjectCommand.UserBaseId,
443 OrgId: refuseJoinCreationProjectCommand.OrgId, 443 OrgId: refuseJoinCreationProjectCommand.OrgId,
444 UserId: refuseJoinCreationProjectCommand.UserId, 444 UserId: refuseJoinCreationProjectCommand.UserId,
@@ -533,8 +533,8 @@ func (noticePersonalService *NoticePersonalService) CreditAccountEstimate(credit @@ -533,8 +533,8 @@ func (noticePersonalService *NoticePersonalService) CreditAccountEstimate(credit
533 CompanyId: creditAccountEstimateCommand.CompanyId, 533 CompanyId: creditAccountEstimateCommand.CompanyId,
534 Content: tplResult.String(), 534 Content: tplResult.String(),
535 IsRead: domain.NoticePersonalIsNotRead, 535 IsRead: domain.NoticePersonalIsNotRead,
536 - Module: domain.Action01_01,  
537 - ModuleAction: domain.Action01_01, 536 + Module: domain.Module01,
  537 + ModuleAction: domain.Action01_05,
538 UserBaseId: creditAccountEstimateCommand.UserBaseId, 538 UserBaseId: creditAccountEstimateCommand.UserBaseId,
539 OrgId: creditAccountEstimateCommand.OrgId, 539 OrgId: creditAccountEstimateCommand.OrgId,
540 UserId: creditAccountEstimateCommand.UserId, 540 UserId: creditAccountEstimateCommand.UserId,
@@ -558,7 +558,7 @@ func (noticePersonalService *NoticePersonalService) CreditAccountEstimate(credit @@ -558,7 +558,7 @@ func (noticePersonalService *NoticePersonalService) CreditAccountEstimate(credit
558 return noticePersonal, nil 558 return noticePersonal, nil
559 } 559 }
560 560
561 -// 设置消息:账期结算消息-分红预算 561 +// 设置消息:账期支付消息
562 func (noticePersonalService *NoticePersonalService) CreditAccountPayment(creditAccountPaymentCommand *command.CreditAccountPaymentCommand) (interface{}, error) { 562 func (noticePersonalService *NoticePersonalService) CreditAccountPayment(creditAccountPaymentCommand *command.CreditAccountPaymentCommand) (interface{}, error) {
563 if err := creditAccountPaymentCommand.ValidateCommand(); err != nil { 563 if err := creditAccountPaymentCommand.ValidateCommand(); err != nil {
564 return nil, application.ThrowError(application.ARG_ERROR, err.Error()) 564 return nil, application.ThrowError(application.ARG_ERROR, err.Error())
@@ -584,7 +584,7 @@ func (noticePersonalService *NoticePersonalService) CreditAccountPayment(creditA @@ -584,7 +584,7 @@ func (noticePersonalService *NoticePersonalService) CreditAccountPayment(creditA
584 } 584 }
585 _, settings, err := noticeSettingRepository.Find(map[string]interface{}{ 585 _, settings, err := noticeSettingRepository.Find(map[string]interface{}{
586 "orgId": creditAccountPaymentCommand.OrgId, 586 "orgId": creditAccountPaymentCommand.OrgId,
587 - "moduleAction": domain.Action01_05, 587 + "moduleAction": domain.Action01_06,
588 }) 588 })
589 if err != nil { 589 if err != nil {
590 return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) 590 return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
@@ -630,8 +630,8 @@ func (noticePersonalService *NoticePersonalService) CreditAccountPayment(creditA @@ -630,8 +630,8 @@ func (noticePersonalService *NoticePersonalService) CreditAccountPayment(creditA
630 CompanyId: creditAccountPaymentCommand.CompanyId, 630 CompanyId: creditAccountPaymentCommand.CompanyId,
631 Content: tplResult.String(), 631 Content: tplResult.String(),
632 IsRead: domain.NoticePersonalIsNotRead, 632 IsRead: domain.NoticePersonalIsNotRead,
633 - Module: domain.Action01_01,  
634 - ModuleAction: domain.Action01_01, 633 + Module: domain.Module01,
  634 + ModuleAction: domain.Action01_06,
635 UserBaseId: creditAccountPaymentCommand.UserBaseId, 635 UserBaseId: creditAccountPaymentCommand.UserBaseId,
636 OrgId: creditAccountPaymentCommand.OrgId, 636 OrgId: creditAccountPaymentCommand.OrgId,
637 UserId: creditAccountPaymentCommand.UserId, 637 UserId: creditAccountPaymentCommand.UserId,