Commit 320faa67 authored by huyuchen's avatar huyuchen

明细接口改造

parent 0cc9adcd
...@@ -843,24 +843,24 @@ public class DoJointSocialTask { ...@@ -843,24 +843,24 @@ public class DoJointSocialTask {
paramList.add(fundParam); paramList.add(fundParam);
} }
} }
R<EkpSocialPushInfoVo> info = ekpDaprUtil.pushFundInfoToEkp(paramList); // R<EkpSocialPushInfoVo> info = ekpDaprUtil.pushFundInfoToEkp(paramList);
if (Common.isNotNull(info) && Common.isNotNull(info.getData())) { // if (Common.isNotNull(info) && Common.isNotNull(info.getData())) {
EkpSocialPushInfoVo vo = info.getData(); // EkpSocialPushInfoVo vo = info.getData();
List<String> idList = vo.getPaymentIds(); // List<String> idList = vo.getPaymentIds();
for (String id : idList) { // for (String id : idList) {
paymentInfoMapper.updateBySocialPayment(id); // paymentInfoMapper.updateBySocialPayment(id);
} // }
} else { // } else {
TSendEkpError error = new TSendEkpError(); // TSendEkpError error = new TSendEkpError();
error.setCreateTime(new Date()); // error.setCreateTime(new Date());
error.setCreateDay(DateUtil.getThisDay()); // error.setCreateDay(DateUtil.getThisDay());
error.setType(CommonConstants.THREE_STRING); // error.setType(CommonConstants.THREE_STRING);
error.setCreateUserName("公积金实缴费用推送"); // error.setCreateUserName("公积金实缴费用推送");
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.saveError(error);
} // }
} catch (Exception e) { } catch (Exception e) {
TSendEkpError error = new TSendEkpError(); TSendEkpError error = new TSendEkpError();
error.setCreateTime(new Date()); error.setCreateTime(new Date());
......
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