1.同步自助平台资质预警代码

master
x_z 2 years ago
parent a57b6a23a4
commit d86907486c

@ -99,4 +99,6 @@ public class SupCertRemindMsgEntity {
@TableField(value = "remark")
private String remark;
@TableField(value = "remindCount")
private int remindCount;
}

@ -168,7 +168,8 @@ public class SupCertRemindMsgImpl implements SupCertRemindMsgService {
msgEntity.setHandleMsg(null); //处理方式重置为空
msgEntity.setUpdateTime(new Date());
msgEntity.setNextRemindTime(new Date());
msgEntity.setNextRemindTime(cn.hutool.core.date.DateUtil.parse(cn.hutool.core.date.DateUtil.offsetDay(new Date(), 1).toString("yyyy-MM-dd") + " 07:00:00"));
msgEntity.setRemindCount(msgEntity.getRemindCount() + 1);
if (null == msgEntity.getId()) {
log.info("新增资质预警:{}", JSONUtil.toJsonStr(msgEntity));
supCertRemindMsgDao.insert(msgEntity);

Loading…
Cancel
Save