Commit e92c72fe authored by chenzhao's avatar chenzhao

修复投融资bug

parent 8a58c918
......@@ -241,11 +241,16 @@ public class FinancingInfoServiceImpl extends BaseService<FinancingInfoDto, Fina
if (!CollectionUtils.isEmpty(financingInfos)) {
FinancingInfo financingInfo = financingInfos.get(0);
financingInfo.setStatus("待推送");
financingInfo.setFinancingCompaniesCode(null);
financingInfo.setFinancingCompaniesSeq(null);
financingInfo.setFinancingCompaniesName(null);
this.updateById(financingInfo);
LambdaQueryWrapper<FinancingAuditing> wrapper = new LambdaQueryWrapper();
wrapper.eq(FinancingAuditing::getPeasantHouseholdId,financingInfo.getPeasantHouseholdId());
financingAuditingService.getBaseMapper().delete(wrapper);
LambdaQueryWrapper<FinancingRectificationOrder> wrapper1 = new LambdaQueryWrapper();
wrapper1.eq(FinancingRectificationOrder::getPeasantHouseholdId,financingInfo.getPeasantHouseholdId());
financingRectificationOrderService.getBaseMapper().delete(wrapper1);
this.deleteBySeq(financingInfo.getSequenceNbr());
}
}
......
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