|
|
@ -517,7 +517,7 @@ public class BusVehicleApplyService extends MybatisBaseService<BusVehicleApplyMa |
|
|
|
finPaymentrecordDto.setCostTypeKey(DictCommonEnum.costType.CG_TYPE.getCode()); |
|
|
|
finPaymentrecordDto.setCostTypeValue(DictCommonEnum.costType.CG_TYPE.getRemarks()); |
|
|
|
//查询收款单位和收款账号
|
|
|
|
/* List<BusVehicleApplyDetailVo> busVehicleApplyDetailList = busVehicleApplyDetailService.fetchByApplySid(busVehicleApply.getSid()); |
|
|
|
List<BusVehicleApplyDetailVo> busVehicleApplyDetailList = busVehicleApplyDetailService.fetchByApplySid(busVehicleApply.getSid()); |
|
|
|
String modelSid = busVehicleApplyDetailList.get(0).getVehicleSid(); |
|
|
|
//根据车型sid查询账户名称和银行账号
|
|
|
|
List<BusApplyVo> busApplyVo = baseManufacturerBankService.selectByApplySid(modelSid); |
|
|
@ -525,14 +525,14 @@ public class BusVehicleApplyService extends MybatisBaseService<BusVehicleApplyMa |
|
|
|
if (!busApplyVo.isEmpty()) { |
|
|
|
finPaymentrecordDto.setReceiveBankAccount(busApplyVo.get(0).getNum()); |
|
|
|
finPaymentrecordDto.setReceiveCompany(busApplyVo.get(0).getName()); |
|
|
|
}*/ |
|
|
|
List<BusApplyVo> busApplyVo = baseManufacturerBankService.selectBankByApplySid(busVehicleApply.getCreateOrgSid()); |
|
|
|
} |
|
|
|
/* List<BusApplyVo> busApplyVo = baseManufacturerBankService.selectBankByApplySid(busVehicleApply.getCreateOrgSid()); |
|
|
|
busApplyVo.removeAll(Collections.singleton(null)); |
|
|
|
if (!busApplyVo.isEmpty()) { |
|
|
|
finPaymentrecordDto.setReceiveBankAccount(busApplyVo.get(0).getNum()); |
|
|
|
finPaymentrecordDto.setReceiveCompany(busApplyVo.get(0).getName()); |
|
|
|
finPaymentrecordDto.setPayCode(busApplyVo.get(0).getCode()); |
|
|
|
} |
|
|
|
}*/ |
|
|
|
finPaymentrecordDto.setBusSid(r.getData()); |
|
|
|
finPaymentrecordFeign.save(finPaymentrecordDto); |
|
|
|
} |
|
|
|