|
|
@ -116,7 +116,7 @@ public class LoanMortgageInformationTransactService extends MybatisBaseService<L |
|
|
|
for (String busSid : busSids) { |
|
|
|
LoanMortgageInformationTransactVo vo = new LoanMortgageInformationTransactVo(); |
|
|
|
vo.setShowHandleBtn(true); |
|
|
|
vo.setDisbursementDate("-"); |
|
|
|
// vo.setDisbursementDate("-");
|
|
|
|
vo.setSid(busSid); |
|
|
|
//根据业务车辆sid查询 销售订单业务车辆表
|
|
|
|
BusSalesOrderVehicle orderVehicle = busSalesOrderVehicleFeign.details(busSid).getData(); |
|
|
@ -563,10 +563,8 @@ public class LoanMortgageInformationTransactService extends MybatisBaseService<L |
|
|
|
|
|
|
|
public ResultBean<LoanMortgageInformationTransactDetailsVo> getMortgageInfo(String busVinSid) { |
|
|
|
ResultBean<LoanMortgageInformationTransactDetailsVo> rb = ResultBean.fireFail(); |
|
|
|
LoanMortgageInformationTransactDetailsVo vo = baseMapper.getMortgageInfo(busVinSid); |
|
|
|
if (StringUtils.isBlank(vo.getMortgageDate())) { |
|
|
|
vo.setMortgageDate("-"); |
|
|
|
} |
|
|
|
LoanMortgageInformationTransactDetailsVo fetchVo = baseMapper.getMortgageInfo(busVinSid); |
|
|
|
LoanMortgageInformationTransactDetailsVo vo = new LoanMortgageInformationTransactDetailsVo(); |
|
|
|
//根据业务车辆sid查询 销售订单业务车辆表
|
|
|
|
BusSalesOrderVehicle orderVehicle = busSalesOrderVehicleFeign.details(busVinSid).getData(); |
|
|
|
if (null != orderVehicle) { |
|
|
@ -616,6 +614,21 @@ public class LoanMortgageInformationTransactService extends MybatisBaseService<L |
|
|
|
vo.setDrivingFiles(drivingFiles); |
|
|
|
} |
|
|
|
} |
|
|
|
if (null != fetchVo) { |
|
|
|
if (StringUtils.isNotBlank(fetchVo.getMortgageDate())) { |
|
|
|
vo.setMortgageDate(fetchVo.getMortgageDate()); |
|
|
|
} |
|
|
|
if (StringUtils.isNotBlank(fetchVo.getRemarks())) { |
|
|
|
vo.setRemarks(fetchVo.getRemarks()); |
|
|
|
} |
|
|
|
// else {
|
|
|
|
// vo.setMortgageDate("-");
|
|
|
|
// }
|
|
|
|
} |
|
|
|
// else {
|
|
|
|
// vo.setMortgageDate("-");
|
|
|
|
// }
|
|
|
|
vo.setBusVinSid(busVinSid); |
|
|
|
return rb.success().setData(vo); |
|
|
|
} |
|
|
|
} |
|
|
|