作者 tangxuhui

错误修正

... ... @@ -245,8 +245,8 @@ func (noticePersonalService *NoticePersonalService) InformExpectedDividends(info
CompanyId: informExpectedDividendsCommand.CompanyId,
Content: tplResult.String(),
IsRead: domain.NoticePersonalIsNotRead,
Module: domain.Action01_01,
ModuleAction: domain.Action01_01,
Module: domain.Module01,
ModuleAction: domain.Action01_04,
UserBaseId: informExpectedDividendsCommand.UserBaseId,
OrgId: informExpectedDividendsCommand.OrgId,
UserId: informExpectedDividendsCommand.UserId,
... ... @@ -344,8 +344,8 @@ func (noticePersonalService *NoticePersonalService) InformJoinCreationContract(i
CompanyId: informJoinCreationContractCommand.CompanyId,
Content: tplResult.String(),
IsRead: domain.NoticePersonalIsNotRead,
Module: domain.Action01_01,
ModuleAction: domain.Action01_01,
Module: domain.Module01,
ModuleAction: domain.Action01_03,
UserBaseId: informJoinCreationContractCommand.UserBaseId,
OrgId: informJoinCreationContractCommand.OrgId,
UserId: informJoinCreationContractCommand.UserId,
... ... @@ -437,8 +437,8 @@ func (noticePersonalService *NoticePersonalService) RefuseJoinCreationProject(re
CompanyId: refuseJoinCreationProjectCommand.CompanyId,
Content: tplResult.String(),
IsRead: domain.NoticePersonalIsNotRead,
Module: domain.Action01_01,
ModuleAction: domain.Action01_01,
Module: domain.Module01,
ModuleAction: domain.Action01_02,
UserBaseId: refuseJoinCreationProjectCommand.UserBaseId,
OrgId: refuseJoinCreationProjectCommand.OrgId,
UserId: refuseJoinCreationProjectCommand.UserId,
... ... @@ -533,8 +533,8 @@ func (noticePersonalService *NoticePersonalService) CreditAccountEstimate(credit
CompanyId: creditAccountEstimateCommand.CompanyId,
Content: tplResult.String(),
IsRead: domain.NoticePersonalIsNotRead,
Module: domain.Action01_01,
ModuleAction: domain.Action01_01,
Module: domain.Module01,
ModuleAction: domain.Action01_05,
UserBaseId: creditAccountEstimateCommand.UserBaseId,
OrgId: creditAccountEstimateCommand.OrgId,
UserId: creditAccountEstimateCommand.UserId,
... ... @@ -558,7 +558,7 @@ func (noticePersonalService *NoticePersonalService) CreditAccountEstimate(credit
return noticePersonal, nil
}
// 设置消息:账期结算消息-分红预算
// 设置消息:账期支付消息
func (noticePersonalService *NoticePersonalService) CreditAccountPayment(creditAccountPaymentCommand *command.CreditAccountPaymentCommand) (interface{}, error) {
if err := creditAccountPaymentCommand.ValidateCommand(); err != nil {
return nil, application.ThrowError(application.ARG_ERROR, err.Error())
... ... @@ -584,7 +584,7 @@ func (noticePersonalService *NoticePersonalService) CreditAccountPayment(creditA
}
_, settings, err := noticeSettingRepository.Find(map[string]interface{}{
"orgId": creditAccountPaymentCommand.OrgId,
"moduleAction": domain.Action01_05,
"moduleAction": domain.Action01_06,
})
if err != nil {
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
... ... @@ -630,8 +630,8 @@ func (noticePersonalService *NoticePersonalService) CreditAccountPayment(creditA
CompanyId: creditAccountPaymentCommand.CompanyId,
Content: tplResult.String(),
IsRead: domain.NoticePersonalIsNotRead,
Module: domain.Action01_01,
ModuleAction: domain.Action01_01,
Module: domain.Module01,
ModuleAction: domain.Action01_06,
UserBaseId: creditAccountPaymentCommand.UserBaseId,
OrgId: creditAccountPaymentCommand.OrgId,
UserId: creditAccountPaymentCommand.UserId,
... ...