|
@@ -268,6 +268,7 @@ public class PmWorkReportServiceImpl extends AbstractCrudService<PmWorkReportMap
|
|
|
newReport.setDeptId(deptId);
|
|
|
newReport.setTenantId(tenantId);
|
|
|
newReport.setTotalHours(totalWorkTime);
|
|
|
+ newReport.setSendDingTalk(pmWorkReport.getSendDingTalk());
|
|
|
try {
|
|
|
pmWorkReportMapper.insert(newReport);
|
|
|
|
|
@@ -317,7 +318,7 @@ public class PmWorkReportServiceImpl extends AbstractCrudService<PmWorkReportMap
|
|
|
//存入消息接收
|
|
|
receiveMessages(ids, newReport.getId());
|
|
|
//是否同步钉钉
|
|
|
- if (pmWorkReport.getSendDingTalk() == 0) {
|
|
|
+ if (pmWorkReport.getSendDingTalk() == 1) {
|
|
|
sendDingTalkDailyReport(pmWorkReport);
|
|
|
}
|
|
|
} else if (repeat.size() > 0) {
|