Commit 3589083a authored by fangxinjiang's avatar fangxinjiang

预估推送异常优化--邮件通知不阻断程序进程-fxj

parent b3b63ccf
...@@ -970,7 +970,10 @@ public class DoJointSocialTask { ...@@ -970,7 +970,10 @@ public class DoJointSocialTask {
//获取项目信息 //获取项目信息
settleDomain = selectVoMap.get(library.getDeptNo()); settleDomain = selectVoMap.get(library.getDeptNo());
if (Common.isEmpty(settleDomain)) { if (Common.isEmpty(settleDomain)) {
ServiceUtil.runTimeExceptionDiy("获取结算主体异常,请检查传参和档案服务状态!"); // 抛出异常错误,通过邮件提醒处理
log.error("获取结算主体(“+library.getDeptNo()+”)异常,请检查传参和档案服务状态!");
continue;
//ServiceUtil.runTimeExceptionDiy("获取结算主体异常,请检查传参和档案服务状态!");
} }
if (CommonConstants.ZERO_STRING.equals(settleDomain.getSocialType())) { if (CommonConstants.ZERO_STRING.equals(settleDomain.getSocialType())) {
continue; continue;
...@@ -1264,7 +1267,10 @@ public class DoJointSocialTask { ...@@ -1264,7 +1267,10 @@ public class DoJointSocialTask {
//获取项目信息 //获取项目信息
settleDomain = selectVoMap.get(library.getDeptNo()); settleDomain = selectVoMap.get(library.getDeptNo());
if (Common.isEmpty(settleDomain)) { if (Common.isEmpty(settleDomain)) {
ServiceUtil.runTimeExceptionDiy("获取结算主体异常,请检查传参和档案服务状态!"); // 抛出异常错误,通过邮件提醒处理
log.error("获取结算主体(“+library.getDeptNo()+”)异常,请检查传参和档案服务状态!");
continue;
//ServiceUtil.runTimeExceptionDiy("获取结算主体异常,请检查传参和档案服务状态!");
} }
if (CommonConstants.ZERO_STRING.equals(settleDomain.getFundType())) { if (CommonConstants.ZERO_STRING.equals(settleDomain.getFundType())) {
continue; continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment