|
@@ -57,7 +57,9 @@ func (noticeSettingService *NoticeSettingService) NoticeSettingList(noticeSettin |
|
@@ -57,7 +57,9 @@ func (noticeSettingService *NoticeSettingService) NoticeSettingList(noticeSettin |
57
|
return 0, nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|
57
|
return 0, nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|
58
|
}
|
58
|
}
|
59
|
dataList := []dto.NoticeSettingItem{}
|
59
|
dataList := []dto.NoticeSettingItem{}
|
|
|
60
|
+
|
60
|
for _, v := range result.List {
|
61
|
for _, v := range result.List {
|
|
|
62
|
+
|
61
|
item := dto.NoticeSettingItem{
|
63
|
item := dto.NoticeSettingItem{
|
62
|
CompanyID: v.CompanyID,
|
64
|
CompanyID: v.CompanyID,
|
63
|
Content: v.Content,
|
65
|
Content: v.Content,
|
|
@@ -68,8 +70,15 @@ func (noticeSettingService *NoticeSettingService) NoticeSettingList(noticeSettin |
|
@@ -68,8 +70,15 @@ func (noticeSettingService *NoticeSettingService) NoticeSettingList(noticeSettin |
68
|
OrgID: v.OrgID,
|
70
|
OrgID: v.OrgID,
|
69
|
ModuleActionName: v.ModuleActionName,
|
71
|
ModuleActionName: v.ModuleActionName,
|
70
|
}
|
72
|
}
|
|
|
73
|
+ orgData, _ := creationUserGateway.OrgGet(allied_creation_user.ReqOrgGet{
|
|
|
74
|
+ OrgId: v.OrgID,
|
|
|
75
|
+ })
|
|
|
76
|
+ if orgData != nil {
|
|
|
77
|
+ item.OrgName = orgData.OrgName
|
|
|
78
|
+ }
|
71
|
dataList = append(dataList, item)
|
79
|
dataList = append(dataList, item)
|
72
|
}
|
80
|
}
|
|
|
81
|
+
|
73
|
return result.Count, dataList, nil
|
82
|
return result.Count, dataList, nil
|
74
|
}
|
83
|
}
|
75
|
|
84
|
|