修改三方验收预约短信通知,进场时间+7天的18:00,发送短信到加盟商,
This commit is contained in:
@@ -322,7 +322,7 @@ public class XxlJobHandler {
|
||||
*/
|
||||
@XxlJob("threeAcceptanceMessage")
|
||||
public void threeAcceptanceMessage() {
|
||||
log.info("------定时任务三方验收预约短信通知-----");
|
||||
log.info("------定时任务三方验收待验收的短信通知-----");
|
||||
boolean hasNext = true;
|
||||
int pageNum = 1;
|
||||
int pageSize = 50;
|
||||
@@ -332,7 +332,7 @@ public class XxlJobHandler {
|
||||
List<AcceptanceInfoDO> acceptanceInfoDOS = acceptanceInfoDAO
|
||||
.selectAcceptanceInfoBySignatures(ShopSubStageEnum.SHOP_STAGE_12.getShopSubStage(), ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_121.getShopSubStageStatus());
|
||||
if (CollectionUtils.isEmpty(acceptanceInfoDOS)) {
|
||||
log.info("------定时任务结束三方验收预约短信通知------");
|
||||
log.info("------定时任务结束三方验收待验收的短信通知------");
|
||||
return;
|
||||
}
|
||||
for (AcceptanceInfoDO acceptanceInfoDO : acceptanceInfoDOS) {
|
||||
@@ -349,7 +349,7 @@ public class XxlJobHandler {
|
||||
Long lineId = shopInfo.getLineId();
|
||||
LineInfoDO lineInfo = lineInfoDAO.getLineInfo(lineId);
|
||||
if (Objects.isNull(lineInfo) && StringUtils.isNull(lineInfo.getMobile())) {
|
||||
log.error("定时任务三方验收预约短信通知:加盟商手机号为空,shopId:#{}", acceptanceInfoDO.getShopId());
|
||||
log.error("定时任务三方验收待验收的短信通知:加盟商手机号为空,shopId:#{}", acceptanceInfoDO.getShopId());
|
||||
break;
|
||||
}
|
||||
EnterpriseUserDO supervisor = userAuthMappingService
|
||||
@@ -373,8 +373,6 @@ public class XxlJobHandler {
|
||||
if (Objects.nonNull(decorationEndTime)) {
|
||||
String date = DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD, decorationEndTime);
|
||||
messageMap.put("demolitionPlanTime", date);
|
||||
} else {
|
||||
messageMap.put("demolitionPlanTime", "");
|
||||
}
|
||||
}
|
||||
messageMap.put("palnAcceptanceTime", planAcceptanceTime);
|
||||
@@ -385,7 +383,7 @@ public class XxlJobHandler {
|
||||
}
|
||||
break;
|
||||
} catch (Exception e) {
|
||||
log.error("定时任务三方验收预约短信通知失败 shopId:{}", acceptanceInfoDO.getShopId());
|
||||
log.error("定时任务三方验收待验收的短信通知失败 shopId:{}", acceptanceInfoDO.getShopId());
|
||||
flag++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user