|
|
@ -138,6 +138,7 @@ public class BusVehicleOrderService extends MybatisBaseService<BusVehicleOrderMa |
|
|
|
if (StringUtils.isNotBlank(query.getEndDate())) { |
|
|
|
qw.lt("bva.applicationDate", query.getEndDate()); |
|
|
|
} |
|
|
|
qw.orderByDesc("bvo.subscriptionDate"); |
|
|
|
return qw; |
|
|
|
} |
|
|
|
|
|
|
@ -256,7 +257,7 @@ public class BusVehicleOrderService extends MybatisBaseService<BusVehicleOrderMa |
|
|
|
scmApplyInbound.setConfigSid(busVehicleApplyDetail.getConfigSid()); |
|
|
|
scmApplyInbound.setNodeState("待提交"); |
|
|
|
scmApplyInbound.setNum(dto.getPlatformNo()); |
|
|
|
String contractPrice = baseMapper.getContractPrice(); |
|
|
|
String contractPrice = baseMapper.getContractPrice(dto.getPurchaseRequisitionSid()); |
|
|
|
scmApplyInbound.setContractPrice(new BigDecimal(contractPrice)); |
|
|
|
scmApplyInbound.setCostPrice(new BigDecimal(contractPrice)); |
|
|
|
scmApplyInboundFeign.saveOrUpdateApplyInBound(scmApplyInbound); |
|
|
|