|
@@ -1439,7 +1439,7 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
|
|
|
stockSaleReceiptReport.setTitleNo(warehouseInOutInfo.getTitleNo());
|
|
|
}
|
|
|
//自运出库时手动加的车
|
|
|
- if ("1".equals(warehouseInOutInfo.getSelfLoading())) {
|
|
|
+ if ("1".equals(warehouseInOutInfo.getSelfLoading())|| warehouseInOutInfo.getCarId() == null) {
|
|
|
List<TranCarInfo> tranCarInfoList = tranCarInfoService.selectList(new EntityWrapper<TranCarInfo>()
|
|
|
.eq("contract_no", contractManagementInfo1.getContractNo()).eq("tran_type", "1"));
|
|
|
TranCarInfo tranCarInfo = new TranCarInfo();
|
|
@@ -1580,7 +1580,7 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
|
|
|
// contractInventoryDistributionService.updateById(contractInventoryDistribution);
|
|
|
// }
|
|
|
//自运出库时手动加的车
|
|
|
- if ("1".equals(warehouseInOutInfo.getSelfLoading())) {
|
|
|
+ if ("1".equals(warehouseInOutInfo.getSelfLoading())|| warehouseInOutInfo.getCarId() == null) {
|
|
|
List<TranCarInfo> tranCarInfoList = tranCarInfoService.selectList(new EntityWrapper<TranCarInfo>()
|
|
|
.eq("contract_no", warehouseInOutInfo.getContractNo()).eq("tran_type", "1")
|
|
|
.orderBy("create_date", false));
|
|
@@ -4099,7 +4099,7 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
|
|
|
stockSaleReceiptReport.setTitleNo(warehouseInOutInfo.getTitleNo());
|
|
|
}
|
|
|
//自运出库时手动加的车
|
|
|
- if ("1".equals(warehouseInOutInfo.getSelfLoading())) {
|
|
|
+ if ("1".equals(warehouseInOutInfo.getSelfLoading())|| warehouseInOutInfo.getCarId() == null) {
|
|
|
List<TranCarInfo> tranCarInfoList = tranCarInfoService.selectList(new EntityWrapper<TranCarInfo>()
|
|
|
.eq("contract_no", contractManagementInfo1.getContractNo()).eq("tran_type", "1"));
|
|
|
TranCarInfo tranCarInfo = new TranCarInfo();
|
|
@@ -4242,7 +4242,7 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
|
|
|
// contractInventoryDistributionService.updateById(contractInventoryDistribution);
|
|
|
// }
|
|
|
//自运出库时手动加的车
|
|
|
- if ("1".equals(warehouseInOutInfo.getSelfLoading())) {
|
|
|
+ if ("1".equals(warehouseInOutInfo.getSelfLoading())|| warehouseInOutInfo.getCarId() == null) {
|
|
|
List<TranCarInfo> tranCarInfoList = tranCarInfoService.selectList(new EntityWrapper<TranCarInfo>()
|
|
|
.eq("contract_no", warehouseInOutInfo.getContractNo()).eq("tran_type", "1")
|
|
|
.orderBy("create_date", false));
|