Commit 320faa67 authored by huyuchen's avatar huyuchen

明细接口改造

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