|
@@ -1354,7 +1354,7 @@ public class ReportServiceImpl extends ServiceImpl<ReportMapper, Report> impleme
|
|
if (wxCorpInfo != null) {
|
|
if (wxCorpInfo != null) {
|
|
List<String> auditorCorpwxUserids = new ArrayList<>();
|
|
List<String> auditorCorpwxUserids = new ArrayList<>();
|
|
for (Report report : reportList) {
|
|
for (Report report : reportList) {
|
|
- String corpwxUserid = userMapper.selectById(report.getProjectAuditorId()).getCorpwxUserid();
|
|
|
|
|
|
+ String corpwxUserid = userMapper.selectById((report.getIsDeptAudit() == null || report.getIsDeptAudit() == 0)?report.getProjectAuditorId():report.getAuditDeptManagerid()).getCorpwxUserid();
|
|
//推送到企业微信
|
|
//推送到企业微信
|
|
JSONObject json=new JSONObject();
|
|
JSONObject json=new JSONObject();
|
|
JSONArray dataJson=new JSONArray();
|
|
JSONArray dataJson=new JSONArray();
|