日志与手动激活定时任务

This commit is contained in:
zhaokaiyao@91isoft.com
2022-01-18 21:42:13 +08:00
parent 4da914c88a
commit ca79108b71
2 changed files with 14 additions and 3 deletions
@@ -14,6 +14,7 @@ import com.adc.da.slrs.sarStandWarning.entity.WarningDate;
import com.adc.da.slrs.sarStandWarning.service.IWarningDateService;
import com.adc.da.slrs.sarStandardsInfo.dao.SarStandardsInfoDao;
import com.adc.da.slrs.sarStandardsInfo.entity.SarStandardsInfo;
import com.adc.da.slrs.sarUpdLog.service.ISarUpdLogService;
import com.adc.da.util.UUIDUtils;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import lombok.extern.slf4j.Slf4j;
@@ -175,7 +176,8 @@ public class ScheduledJob {
@Autowired
private ISarUpdLogService sarUpdLogEOService;
/**
@@ -299,6 +301,7 @@ public class ScheduledJob {
try {
// sarUpdLogEOService.createUpdateLog(sarStandardsInfoEO.getStandType() + "_STAND", sarStandardsInfoEO.getId(), oldMap, newMap, content);
sarStandardsInfoDao.updateById(sarStandardsInfo);
}catch (Exception e){
System.out.println("代替标准状态更新:id为"+key+"文本状态更新失败");