Commit cc5eca32 authored by huyuchen's avatar huyuchen

明细接口改造

parent 0399e2c9
...@@ -692,7 +692,7 @@ public class DoJointSocialTask { ...@@ -692,7 +692,7 @@ public class DoJointSocialTask {
error.setLinkId(unPushInfo.get(0).getId()); error.setLinkId(unPushInfo.get(0).getId());
error.setTitle("社保明细批量保存失败"); error.setTitle("社保明细批量保存失败");
error.setNums(CommonConstants.ONE_INT); error.setNums(CommonConstants.ONE_INT);
tSendEkpErrorService.saveError(error); tSendEkpErrorService.save(error);
} }
} catch (Exception e) { } catch (Exception e) {
TSendEkpError error = new TSendEkpError(); TSendEkpError error = new TSendEkpError();
...@@ -703,7 +703,7 @@ public class DoJointSocialTask { ...@@ -703,7 +703,7 @@ public class DoJointSocialTask {
error.setLinkId(unPushInfo.get(0).getId()); error.setLinkId(unPushInfo.get(0).getId());
error.setTitle(e.getMessage()); error.setTitle(e.getMessage());
error.setNums(CommonConstants.ONE_INT); error.setNums(CommonConstants.ONE_INT);
tSendEkpErrorService.saveError(error); tSendEkpErrorService.save(error);
log.error("推送社保实缴费用到EKP错误", e); log.error("推送社保实缴费用到EKP错误", e);
} }
log.info("推送社保实缴费用到EKP结束"); log.info("推送社保实缴费用到EKP结束");
...@@ -857,7 +857,7 @@ public class DoJointSocialTask { ...@@ -857,7 +857,7 @@ public class DoJointSocialTask {
error.setLinkId(unPushInfo.get(0).getId()); error.setLinkId(unPushInfo.get(0).getId());
error.setTitle("公积金批量插入失败"); error.setTitle("公积金批量插入失败");
error.setNums(CommonConstants.ONE_INT); error.setNums(CommonConstants.ONE_INT);
tSendEkpErrorService.saveError(error); tSendEkpErrorService.save(error);
} }
} catch (Exception e) { } catch (Exception e) {
TSendEkpError error = new TSendEkpError(); TSendEkpError error = new TSendEkpError();
...@@ -868,7 +868,7 @@ public class DoJointSocialTask { ...@@ -868,7 +868,7 @@ public class DoJointSocialTask {
error.setLinkId(unPushInfo.get(0).getId()); error.setLinkId(unPushInfo.get(0).getId());
error.setTitle(e.getMessage()); error.setTitle(e.getMessage());
error.setNums(CommonConstants.ONE_INT); error.setNums(CommonConstants.ONE_INT);
tSendEkpErrorService.saveError(error); tSendEkpErrorService.save(error);
log.error("公积金推送实缴费用到EKP错误", e); log.error("公积金推送实缴费用到EKP错误", e);
} }
log.info("公积金推送实缴费用到EKP结束"); log.info("公积金推送实缴费用到EKP结束");
...@@ -1150,7 +1150,7 @@ public class DoJointSocialTask { ...@@ -1150,7 +1150,7 @@ public class DoJointSocialTask {
error.setLinkId(unPushInfo.get(0).getId()); error.setLinkId(unPushInfo.get(0).getId());
error.setTitle("社保预估明细批量保存失败"); error.setTitle("社保预估明细批量保存失败");
error.setNums(CommonConstants.ONE_INT); error.setNums(CommonConstants.ONE_INT);
tSendEkpErrorService.saveError(error); tSendEkpErrorService.save(error);
} }
} catch (Exception e) { } catch (Exception e) {
TSendEkpError error = new TSendEkpError(); TSendEkpError error = new TSendEkpError();
...@@ -1161,7 +1161,7 @@ public class DoJointSocialTask { ...@@ -1161,7 +1161,7 @@ public class DoJointSocialTask {
error.setLinkId(unPushInfo.get(0).getId()); error.setLinkId(unPushInfo.get(0).getId());
error.setTitle(e.getMessage()); error.setTitle(e.getMessage());
error.setNums(CommonConstants.ONE_INT); error.setNums(CommonConstants.ONE_INT);
tSendEkpErrorService.saveError(error); tSendEkpErrorService.save(error);
log.error("推送社保预估费用到EKP错误", e); log.error("推送社保预估费用到EKP错误", e);
} }
log.info("推送社保预估费预估用到EKP结束"); log.info("推送社保预估费预估用到EKP结束");
...@@ -1334,7 +1334,7 @@ public class DoJointSocialTask { ...@@ -1334,7 +1334,7 @@ public class DoJointSocialTask {
error.setLinkId(unPushInfo.get(0).getId()); error.setLinkId(unPushInfo.get(0).getId());
error.setTitle("公积金预估明细批量保存失败"); error.setTitle("公积金预估明细批量保存失败");
error.setNums(CommonConstants.ONE_INT); error.setNums(CommonConstants.ONE_INT);
tSendEkpErrorService.saveError(error); tSendEkpErrorService.save(error);
} }
} catch (Exception e) { } catch (Exception e) {
TSendEkpError error = new TSendEkpError(); TSendEkpError error = new TSendEkpError();
...@@ -1345,7 +1345,7 @@ public class DoJointSocialTask { ...@@ -1345,7 +1345,7 @@ public class DoJointSocialTask {
error.setLinkId(unPushInfo.get(0).getId()); error.setLinkId(unPushInfo.get(0).getId());
error.setTitle(e.getMessage()); error.setTitle(e.getMessage());
error.setNums(CommonConstants.ONE_INT); error.setNums(CommonConstants.ONE_INT);
tSendEkpErrorService.saveError(error); tSendEkpErrorService.save(error);
log.error("推送公积金预估费用到EKP错误", e); log.error("推送公积金预估费用到EKP错误", e);
} }
log.info("推送公积金预估费用到EKP结束"); log.info("推送公积金预估费用到EKP结束");
......
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