...
|
...
|
@@ -72,7 +72,9 @@ func (noticePersonalService *NoticePersonalService) AgreeJoinCreationProject(agr |
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "消息体生成失败"+err.Error())
|
|
|
}
|
|
|
extendData := map[string]interface{}{
|
|
|
"creationProjectId": agreeJoinCreationProjectCommand.CreationProjectId,
|
|
|
"creationProjectId": agreeJoinCreationProjectCommand.CreationProjectId,
|
|
|
"creationProjectName": agreeJoinCreationProjectCommand.CreationProjectName,
|
|
|
"creationProjectNumber": agreeJoinCreationProjectCommand.CreationProjectNumber,
|
|
|
}
|
|
|
extendStr, _ := json.Marshal(extendData)
|
|
|
noticePersonal := domain.NoticePersonal{
|
...
|
...
|
@@ -225,10 +227,16 @@ func (noticePersonalService *NoticePersonalService) InformExpectedDividends(info |
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "消息体生成失败"+err.Error())
|
|
|
}
|
|
|
extendData := map[string]interface{}{
|
|
|
"creationProjectId": informExpectedDividendsCommand.CreationProjectId,
|
|
|
"creationContractId": informExpectedDividendsCommand.CreationContractId,
|
|
|
"dividendsEstimateId": informExpectedDividendsCommand.DividendsEstimateId,
|
|
|
"creationProjectId": informExpectedDividendsCommand.CreationProjectId,
|
|
|
"creationProjectNumber": informExpectedDividendsCommand.CreationProjectNumber,
|
|
|
"creationProjectName": informExpectedDividendsCommand.CreationProjectName,
|
|
|
"creationContractId": informExpectedDividendsCommand.CreationContractId,
|
|
|
"creationContractName": informExpectedDividendsCommand.CreationContractName,
|
|
|
"productName": informExpectedDividendsCommand.ProductName,
|
|
|
"dividendsEstimateId": informExpectedDividendsCommand.DividendsEstimateId,
|
|
|
"dividendsAmount": informExpectedDividendsCommand.DividendsAmount,
|
|
|
}
|
|
|
|
|
|
extendStr, _ := json.Marshal(extendData)
|
|
|
noticePersonal := domain.NoticePersonal{
|
|
|
CreatedAt: time.Now(),
|
...
|
...
|
@@ -320,7 +328,14 @@ func (noticePersonalService *NoticePersonalService) InformJoinCreationContract(i |
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "消息体生成失败"+err.Error())
|
|
|
}
|
|
|
extendData := map[string]interface{}{}
|
|
|
extendData := map[string]interface{}{
|
|
|
"creationProjectId": informJoinCreationContractCommand.CreationProjectId,
|
|
|
"creationProjectName": informJoinCreationContractCommand.CreationProjectName,
|
|
|
"creationProjectNumber": informJoinCreationContractCommand.CreationContractNumber,
|
|
|
"creationContractId": informJoinCreationContractCommand.CreationContractId,
|
|
|
"creationContractName": informJoinCreationContractCommand.CreationContractName,
|
|
|
"creationContractNumber": informJoinCreationContractCommand.CreationContractNumber,
|
|
|
}
|
|
|
extendStr, _ := json.Marshal(extendData)
|
|
|
noticePersonal := domain.NoticePersonal{
|
|
|
CreatedAt: time.Now(),
|
...
|
...
|
@@ -410,7 +425,9 @@ func (noticePersonalService *NoticePersonalService) RefuseJoinCreationProject(re |
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "消息体生成失败"+err.Error())
|
|
|
}
|
|
|
extendData := map[string]interface{}{
|
|
|
"creationProjectId": refuseJoinCreationProjectCommand.CreationProjectId,
|
|
|
"creationProjectId": refuseJoinCreationProjectCommand.CreationProjectId,
|
|
|
"creationProjectName": refuseJoinCreationProjectCommand.CreationProjectName,
|
|
|
"creationProjectNumber": refuseJoinCreationProjectCommand.CreationProjectNumber,
|
|
|
}
|
|
|
extendStr, _ := json.Marshal(extendData)
|
|
|
noticePersonal := domain.NoticePersonal{
|
...
|
...
|
@@ -503,8 +520,10 @@ func (noticePersonalService *NoticePersonalService) CreditAccountEstimate(credit |
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "消息体生成失败"+err.Error())
|
|
|
}
|
|
|
extendData := map[string]interface{}{
|
|
|
"creditAccountId": creditAccountEstimateCommand.CreditAccountId,
|
|
|
"dividendsEstimateId": creditAccountEstimateCommand.DividendsEstimateId,
|
|
|
"creditAccountId": creditAccountEstimateCommand.CreditAccountId,
|
|
|
"dividendsEstimateId": creditAccountEstimateCommand.DividendsEstimateId,
|
|
|
"creditAccountOrderNum": creditAccountEstimateCommand.CreditAccountOrderNum,
|
|
|
"dividendsEstimateOrderNumber": creditAccountEstimateCommand.DividendsEstimateOrderNumber,
|
|
|
}
|
|
|
extendStr, _ := json.Marshal(extendData)
|
|
|
noticePersonal := domain.NoticePersonal{
|
...
|
...
|
@@ -597,8 +616,12 @@ func (noticePersonalService *NoticePersonalService) CreditAccountPayment(creditA |
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "消息体生成失败"+err.Error())
|
|
|
}
|
|
|
extendData := map[string]interface{}{
|
|
|
"creditAccountId": creditAccountPaymentCommand.CreditAccountId,
|
|
|
"creditAccountId": creditAccountPaymentCommand.CreditAccountId,
|
|
|
"creditAccountOrderNum": creditAccountPaymentCommand.CreditAccountOrderNum,
|
|
|
"settlementAmount": creditAccountPaymentCommand.SettlementAmount,
|
|
|
"actuallyPaidAmount": creditAccountPaymentCommand.ActuallyPaidAmount,
|
|
|
}
|
|
|
|
|
|
extendStr, _ := json.Marshal(extendData)
|
|
|
noticePersonal := domain.NoticePersonal{
|
|
|
CreatedAt: time.Now(),
|
...
|
...
|
|