|
@@ -131,7 +131,7 @@ public class PmWorkReportServiceImpl extends AbstractCrudService<PmWorkReportMap
|
|
|
//固定返回七条数据,没有内容也要设置时间给前端渲染
|
|
|
LambdaQueryWrapper<PmWorkReport> queryWrapperR = Wrappers.lambdaQuery();
|
|
|
queryWrapperR.select(PmWorkReport::getId, PmWorkReport::getReportDate, PmWorkReport::getSubmitDate, PmWorkReport::getUpdateTime,
|
|
|
- PmWorkReport::getTomorrowPlan, PmWorkReport::getCoordinateWork, PmWorkReport::getCcTo, PmWorkReport::getDingTalk)
|
|
|
+ PmWorkReport::getTomorrowPlan, PmWorkReport::getCoordinateWork, PmWorkReport::getCcTo, PmWorkReport::getSendDingTalk)
|
|
|
.eq(PmWorkReport::getSubmitterId, SecurityUtils.getUserId())
|
|
|
.between(PmWorkReport::getReportDate, startDate1, endDate1)
|
|
|
.orderByAsc(PmWorkReport::getReportDate)
|
|
@@ -317,7 +317,7 @@ public class PmWorkReportServiceImpl extends AbstractCrudService<PmWorkReportMap
|
|
|
//存入消息接收
|
|
|
receiveMessages(ids, newReport.getId());
|
|
|
//是否同步钉钉
|
|
|
- if (pmWorkReport.getDingTalk() == 0) {
|
|
|
+ if (pmWorkReport.getSendDingTalk() == 0) {
|
|
|
sendDingTalkDailyReport(pmWorkReport);
|
|
|
}
|
|
|
} else if (repeat.size() > 0) {
|