Commit 0399e2c9 authored by huyuchen's avatar huyuchen

明细接口改造

parent aaaf1477
...@@ -259,6 +259,8 @@ public interface TPaymentInfoMapper extends BaseMapper<TPaymentInfo> { ...@@ -259,6 +259,8 @@ public interface TPaymentInfoMapper extends BaseMapper<TPaymentInfo> {
void updateBySocialPayment(@Param("id")String id); void updateBySocialPayment(@Param("id")String id);
void batchUpdateFundPaymentByList(@Param("idList") List<String> idList);
void updateBySocialPaymentList(@Param("idStr")String idStr); void updateBySocialPaymentList(@Param("idStr")String idStr);
void batchUpdateSocialPaymentByList(@Param("details") List<String> idStr); void batchUpdateSocialPaymentByList(@Param("details") List<String> idStr);
......
...@@ -845,9 +845,8 @@ public class DoJointSocialTask { ...@@ -845,9 +845,8 @@ public class DoJointSocialTask {
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(); if (!Common.isEmpty(vo.getPaymentIds())) {
for (String id : idList) { paymentInfoMapper.batchUpdateFundPaymentByList(vo.getPaymentIds());
paymentInfoMapper.updateBySocialPayment(id);
} }
} else { } else {
TSendEkpError error = new TSendEkpError(); TSendEkpError error = new TSendEkpError();
......
...@@ -2526,6 +2526,14 @@ ...@@ -2526,6 +2526,14 @@
</foreach> </foreach>
</update> </update>
<!-- 批量更改社保公积金推送状态 -->
<update id="batchUpdateFundPaymentByList">
update t_payment_info a set a.PUSH_STATUS = '0',a.UPDATE_TIME = NOW() where a.id in
<foreach item="item" index="index" collection="idList" open="(" separator="," close=")">
#{item}
</foreach>
</update>
<!-- 更改社保公积金推送状态 --> <!-- 更改社保公积金推送状态 -->
<update id="updateBySocialIncomePayment"> <update id="updateBySocialIncomePayment">
......
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