Commit 48143e87 authored by hongguangwu's avatar hongguangwu

MVP1.7.2 失败原因

parent e3624d36
......@@ -52,9 +52,9 @@ public interface EkpBankGrantDetailMapper extends BaseMapper<EkpBankGrantDetail>
void updateStatusByGrantFail(@Param("fdParentId") String fdParentId);
// 发放失败,批量更新中信银行交易流水表fd_3b148bc0c28e48为失败,根据 工资明细fdId:fd_3b1fe00b0f5dde
void updateZhongXinStatus(@Param("salaryId") String salaryId, @Param("detailId") String detailId);
void updateZhongXinStatus(@Param("salaryId") String salaryId, @Param("detailId") String detailId, @Param("detailFailMsg") String detailFailMsg);
// 发放失败,批量更新中信银行交易流水Model表fd_3b148bc0c28e48为失败,根据 工资明细fdId:fd_3b1fe00b0f5dde
void updateZhongXinMainStatus(@Param("salaryId") String salaryId, @Param("detailId") String detailId);
void updateZhongXinMainStatus(@Param("salaryId") String salaryId, @Param("detailId") String detailId, @Param("detailFailMsg") String detailFailMsg);
// 发放失败,批量更新中信银行交易流水表fd_3b148bc0c28e48为失败,根据 工资明细fdId:fd_3b1fe00b0f5dde
void updateZhongXinStatusAndBankInfo(@Param("salaryIdList") List<String> salaryIdList);
......
......@@ -48,8 +48,8 @@ public interface EkpBankGrantDetailService extends IService<EkpBankGrantDetail>
void updateStatusByGrant(String fdParentId);
// 发放失败,批量更新中信银行交易流水表fd_3b148bc0c28e48为失败,根据 工资明细fdId:fd_3b1fe00b0f5dde
void updateZhongXinStatus(String salaryId, String detailId);
void updateZhongXinMainStatus(String salaryId, String detailId);
void updateZhongXinStatus(String salaryId, String detailId, String detailFailMsg);
void updateZhongXinMainStatus(String salaryId, String detailId, String detailFailMsg);
// 明细再次-发放失败,批量更新中信银行交易流水表fd_3b148bc0c28e48为失败,根据 工资明细fdId:fd_3b1fe00b0f5dde
void updateZhongXinStatusAndBankInfo(List<String> salaryIdList);
......
......@@ -64,14 +64,14 @@ public class EkpBankGrantDetailServiceImpl extends ServiceImpl<EkpBankGrantDetai
// 发放失败,批量更新中信银行交易流水表fd_3b148bc0c28e48为失败,根据 工资明细fdId:fd_3b1fe00b0f5dde
@Override
public void updateZhongXinStatus(String salaryId, String detailId) {
baseMapper.updateZhongXinStatus(salaryId, detailId);
public void updateZhongXinStatus(String salaryId, String detailId, String detailFailMsg) {
baseMapper.updateZhongXinStatus(salaryId, detailId, detailFailMsg);
}
// 发放失败,批量更新中信银行交易流水表fd_3b148bc0c28e48为失败,根据 工资明细fdId:fd_3b1fe00b0f5dde
@Override
public void updateZhongXinMainStatus(String salaryId, String detailId) {
baseMapper.updateZhongXinMainStatus(salaryId, detailId);
public void updateZhongXinMainStatus(String salaryId, String detailId, String detailFailMsg) {
baseMapper.updateZhongXinMainStatus(salaryId, detailId, detailFailMsg);
}
// 明细再次-发放失败,批量更新中信银行交易流水表fd_3b148bc0c28e48为失败,根据 工资明细fdId:fd_3b1fe00b0f5dde
......
......@@ -877,8 +877,8 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn
detailData.setFdFailureFeedback(data.getCompanyHandlerResult());
detailData.setFdFailNum(detailData.getFdFailNum() + 1);
// 批量更新中信银行表数据,使发放失败处理有数据出现
ekpBankGrantDetailService.updateZhongXinStatus(detailData.getFdSalaryId(), detailData.getFdId());
ekpBankGrantDetailService.updateZhongXinMainStatus(detailData.getFdSalaryId(), detailData.getFdId());
ekpBankGrantDetailService.updateZhongXinStatus(detailData.getFdSalaryId(), detailData.getFdId(), data.getCompanyHandlerResult());
ekpBankGrantDetailService.updateZhongXinMainStatus(detailData.getFdSalaryId(), detailData.getFdId(), data.getCompanyHandlerResult());
}
detailDataList.add(detailData);
}
......@@ -991,8 +991,8 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn
detailData.setFdFailureFeedback(data.getCompanyHandlerResult());
detailData.setFdFailNum(vo.getFdFailNum() + 1);
// 批量更新中信银行表数据,使发放失败处理有数据出现
ekpBankGrantDetailService.updateZhongXinStatus(vo.getFdSalaryId(), vo.getFdId());
ekpBankGrantDetailService.updateZhongXinMainStatus(vo.getFdSalaryId(), vo.getFdId());
ekpBankGrantDetailService.updateZhongXinStatus(vo.getFdSalaryId(), vo.getFdId(), data.getCompanyHandlerResult());
ekpBankGrantDetailService.updateZhongXinMainStatus(vo.getFdSalaryId(), vo.getFdId(), data.getCompanyHandlerResult());
}
// 交易时间
if (Common.isNotNull(data.getCompanyHandleTime())) {
......
......@@ -126,7 +126,7 @@
<!-- 发放失败,批量更新中信银行交易流水表fd_3b148bc0c28e48为失败,根据 工资明细fdId:fd_3b1fe00b0f5dde -->
<update id="updateZhongXinStatus">
update ekp_db4ed54e25543f4b7a9a a
set a.fd_3b148bc0c28e48='失败',a.fd_tbankempid = #{detailId}
set a.fd_3b148bc0c28e48='失败',a.fd_tbankempid = #{detailId},a.fd_3aff567d4b75ce = #{detailFailMsg}
where a.fd_3b1fe00b0f5dde = #{salaryId}
</update>
......@@ -135,7 +135,7 @@
<update id="updateZhongXinMainStatus">
UPDATE modeling_simple_main a
JOIN ekp_db4ed54e25543f4b7a9a b on a.fd_id=b.fd_id
SET a.extend_data_xml=JSON_SET(a.extend_data_xml,'$[1].fd_3b148bc0c28e48', '失败','$[1].fd_tbankempid', #{detailId})
SET a.extend_data_xml=JSON_SET(a.extend_data_xml,'$[1].fd_3b148bc0c28e48', '失败','$[1].fd_tbankempid', #{detailId}, '$[1].fd_3aff567d4b75ce', #{detailFailMsg})
where b.fd_3b56782982b8b2 = #{salaryId}
</update>
......
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