|
@@ -276,7 +276,7 @@ func (c *MessageCommon) MessageList() {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- for _, messageInfo := range list {
|
|
|
+ for i, messageInfo := range list {
|
|
|
approvalInfo := company_approval_message.ApprovalInfo{}
|
|
|
if messageInfo.SourceType == 1 {
|
|
|
if companyApproval, ok := companyApprovalMap[messageInfo.CompanyApprovalId]; ok {
|
|
@@ -321,7 +321,7 @@ func (c *MessageCommon) MessageList() {
|
|
|
if err != nil {
|
|
|
return
|
|
|
}
|
|
|
- messageInfo.AffiliatedCompany = sealItem.AffiliatedCompany
|
|
|
+ list[i].AffiliatedCompany = sealItem.AffiliatedCompany
|
|
|
}
|
|
|
} else {
|
|
|
if newApproval, ok := newApprovalMap[messageInfo.CompanyApprovalId]; ok {
|