|
@@ -797,7 +797,7 @@ public class WarehouseBaseInfoServiceImpl extends ServiceImpl<WarehouseBaseInfoM
|
|
.eq("contract_id",contractManagementInfo.getId()));
|
|
.eq("contract_id",contractManagementInfo.getId()));
|
|
//查合同下的车牌号
|
|
//查合同下的车牌号
|
|
List<TranCarInfo> tranCarInfoList=tranCarInfoService.selectList(new EntityWrapper<TranCarInfo>()
|
|
List<TranCarInfo> tranCarInfoList=tranCarInfoService.selectList(new EntityWrapper<TranCarInfo>()
|
|
- .eq("contract_no",contractManagementInfo.getContractNo()).eq("tran_type","1"));
|
|
|
|
|
|
+ .eq("contract_no",contractManagementInfo.getContractNo()).eq("tran_type","1").ne("submit","1"));
|
|
if (!CollectionUtils.isEmpty(tranCarInfoList)){
|
|
if (!CollectionUtils.isEmpty(tranCarInfoList)){
|
|
contractManagementInfo.setTranCarInfoList(tranCarInfoList);
|
|
contractManagementInfo.setTranCarInfoList(tranCarInfoList);
|
|
}
|
|
}
|
|
@@ -821,7 +821,7 @@ public class WarehouseBaseInfoServiceImpl extends ServiceImpl<WarehouseBaseInfoM
|
|
BeanUtils.copyProperties(inOutWarehouseTask, contractManagementInfo);
|
|
BeanUtils.copyProperties(inOutWarehouseTask, contractManagementInfo);
|
|
//查移库任务编号下的车牌号
|
|
//查移库任务编号下的车牌号
|
|
List<TranCarInfo> tranCarInfoList=tranCarInfoService.selectList(new EntityWrapper<TranCarInfo>()
|
|
List<TranCarInfo> tranCarInfoList=tranCarInfoService.selectList(new EntityWrapper<TranCarInfo>()
|
|
- .eq("contract_no",inOutWarehouseTask.getMoveTaskNo()).eq("tran_type","1"));
|
|
|
|
|
|
+ .eq("contract_no",inOutWarehouseTask.getMoveTaskNo()).eq("tran_type","1").ne("submit","1"));
|
|
if (!CollectionUtils.isEmpty(tranCarInfoList)){
|
|
if (!CollectionUtils.isEmpty(tranCarInfoList)){
|
|
contractManagementInfo.setTranCarInfoList(tranCarInfoList);
|
|
contractManagementInfo.setTranCarInfoList(tranCarInfoList);
|
|
}
|
|
}
|
|
@@ -940,7 +940,7 @@ public class WarehouseBaseInfoServiceImpl extends ServiceImpl<WarehouseBaseInfoM
|
|
.eq("contract_id",contractManagementInfo.getId()));
|
|
.eq("contract_id",contractManagementInfo.getId()));
|
|
//查合同下的车牌号,入库只能查到未提交的
|
|
//查合同下的车牌号,入库只能查到未提交的
|
|
List<TranCarInfo> tranCarInfoList=tranCarInfoService.selectList(new EntityWrapper<TranCarInfo>()
|
|
List<TranCarInfo> tranCarInfoList=tranCarInfoService.selectList(new EntityWrapper<TranCarInfo>()
|
|
- .eq("contract_no",contractManagementInfo.getContractNo()).eq("tran_type","1").eq("submit","0"));
|
|
|
|
|
|
+ .eq("contract_no",contractManagementInfo.getContractNo()).eq("tran_type","1").ne("submit","2"));
|
|
if (!CollectionUtils.isEmpty(tranCarInfoList)){
|
|
if (!CollectionUtils.isEmpty(tranCarInfoList)){
|
|
contractManagementInfo.setTranCarInfoList(tranCarInfoList);
|
|
contractManagementInfo.setTranCarInfoList(tranCarInfoList);
|
|
}
|
|
}
|
|
@@ -962,7 +962,7 @@ public class WarehouseBaseInfoServiceImpl extends ServiceImpl<WarehouseBaseInfoM
|
|
.eq("contract_id",contractManagementInfo1.getId()));
|
|
.eq("contract_id",contractManagementInfo1.getId()));
|
|
//查合同下的车牌号,入库只能查到未提交的
|
|
//查合同下的车牌号,入库只能查到未提交的
|
|
List<TranCarInfo> tranCarInfoList=tranCarInfoService.selectList(new EntityWrapper<TranCarInfo>()
|
|
List<TranCarInfo> tranCarInfoList=tranCarInfoService.selectList(new EntityWrapper<TranCarInfo>()
|
|
- .eq("contract_no",contractManagementInfo1.getContractNo()).eq("tran_type","1").eq("submit","0"));
|
|
|
|
|
|
+ .eq("contract_no",contractManagementInfo1.getContractNo()).eq("tran_type","1").ne("submit","2"));
|
|
if (!CollectionUtils.isEmpty(tranCarInfoList)){
|
|
if (!CollectionUtils.isEmpty(tranCarInfoList)){
|
|
contractManagementInfo1.setTranCarInfoList(tranCarInfoList);
|
|
contractManagementInfo1.setTranCarInfoList(tranCarInfoList);
|
|
}
|
|
}
|
|
@@ -982,7 +982,7 @@ public class WarehouseBaseInfoServiceImpl extends ServiceImpl<WarehouseBaseInfoM
|
|
BeanUtils.copyProperties(inOutWarehouseTask, contractManagementInfo);
|
|
BeanUtils.copyProperties(inOutWarehouseTask, contractManagementInfo);
|
|
//查移库任务编号下的车牌号,入库只能查到未提交的
|
|
//查移库任务编号下的车牌号,入库只能查到未提交的
|
|
List<TranCarInfo> tranCarInfoList=tranCarInfoService.selectList(new EntityWrapper<TranCarInfo>()
|
|
List<TranCarInfo> tranCarInfoList=tranCarInfoService.selectList(new EntityWrapper<TranCarInfo>()
|
|
- .eq("contract_no",inOutWarehouseTask.getMoveTaskNo()).eq("tran_type","1").eq("submit","0"));
|
|
|
|
|
|
+ .eq("contract_no",inOutWarehouseTask.getMoveTaskNo()).eq("tran_type","1").ne("submit","2"));
|
|
if (!CollectionUtils.isEmpty(tranCarInfoList)){
|
|
if (!CollectionUtils.isEmpty(tranCarInfoList)){
|
|
contractManagementInfo.setTranCarInfoList(tranCarInfoList);
|
|
contractManagementInfo.setTranCarInfoList(tranCarInfoList);
|
|
}
|
|
}
|