定时任务周期编号修改

main
dongdingding 6 months ago
parent 12cfe0f22e
commit 87ef329ad3

@ -3,6 +3,7 @@ package com.mudu.quartz;
import cn.hutool.core.collection.CollectionUtil; import cn.hutool.core.collection.CollectionUtil;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
import cn.hutool.http.HttpRequest; import cn.hutool.http.HttpRequest;
import cn.hutool.json.JSONUtil;
import com.alibaba.fastjson2.JSON; import com.alibaba.fastjson2.JSON;
import com.alibaba.fastjson2.JSONObject; import com.alibaba.fastjson2.JSONObject;
import com.mudu.entity.ACheckQuatzEntity; import com.mudu.entity.ACheckQuatzEntity;
@ -213,7 +214,14 @@ public class AcheckTaskQuartz {
XcRequest xcRequest = new XcRequest(); XcRequest xcRequest = new XcRequest();
xcRequest.setQybh(a.getXxbh()); xcRequest.setQybh(a.getXxbh());
xcRequest.setZqbh(rwzqUuid); xcRequest.setZqbh(rwzqUuid);
String xcrwuuid = xcrwMdService.getByxxbh(xcRequest); String xcrwuuid=null;
try{
xcrwuuid = xcrwMdService.getByxxbh(xcRequest);
}catch (Exception e){
logger.error("周期编号重复-----------------"+JSONUtil.toJsonStr(xcRequest));
}
if (StrUtil.isEmpty(xcrwuuid)) { if (StrUtil.isEmpty(xcrwuuid)) {
continue; continue;
} }

Loading…
Cancel
Save