Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
c1f3af62ff
|
|
@ -91,7 +91,13 @@ public class RemindJobImpl implements RemindJob {
|
|||
boolean update = tmpPushRemindService.update(tblTmpPushRemind, new UpdateWrapper<TblTmpPushRemind>()
|
||||
.eq("device_id", tblTmpPushRemind.getDeviceId())
|
||||
.eq("user_id", tblTmpPushRemind.getUserId()));
|
||||
log.info("update : " + update);
|
||||
|
||||
Integer deviceId = tblTmpPushRemind.getDeviceId();
|
||||
TblDevice device = deviceService.getById(deviceId);
|
||||
device.setRemindDate(instant.atZone(zoneId).toLocalDate());
|
||||
boolean update1 = deviceService.updateById(device);
|
||||
log.info("update-device : " + update1);
|
||||
log.info("update-tmpPushRemind : " + update);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -118,6 +124,7 @@ public class RemindJobImpl implements RemindJob {
|
|||
deviceUsers.forEach(deviceUser -> {
|
||||
setPushList(pushList, deviceUser, pushContent);
|
||||
});
|
||||
|
||||
Date date = nextRemindDate(Integer.parseInt(tblDeviceHeaterDetail.getHeaterCycle()));
|
||||
String nextRemindDate = IfishTaskUtil.format(date);
|
||||
//更新下次提醒时间
|
||||
|
|
|
|||
Loading…
Reference in New Issue