|
@@ -1201,15 +1201,18 @@ public class WarehouseBaseInfoServiceImpl extends ServiceImpl<WarehouseBaseInfoM
|
|
|
if(contractManagementInfo == null){
|
|
|
InOutWarehouseTask inOutWarehouseTask = iInOutWarehouseTaskService.selectOne(
|
|
|
new EntityWrapper<InOutWarehouseTask>()
|
|
|
- .eq("in_out_task_no",warehouseInOutInfo.getContractNo())
|
|
|
+ .eq("move_task_no",warehouseInOutInfo.getContractNo())
|
|
|
+ .eq("in_out_flag","1")
|
|
|
.eq("delete_flag",0));
|
|
|
contractManagementInfo = contractManagementInfoService.selectOne(
|
|
|
new EntityWrapper<ContractManagementInfo>()
|
|
|
- .eq("contract_no",inOutWarehouseTask.getContractNo())
|
|
|
+ .eq("contract_no",inOutWarehouseTask.getWarehouseName())
|
|
|
.eq("delete_flag",0));
|
|
|
}
|
|
|
warehouseInOutInfo.setContractManagementInfo(contractManagementInfo);
|
|
|
- CommonCompany commonCompany = commonCompanyService.selectById(contractManagementInfo.getCompId());
|
|
|
+ CommonCompany commonCompany = commonCompanyService.selectOne(new EntityWrapper<CommonCompany>()
|
|
|
+ .eq("comp_id", contractManagementInfo.getCompId())
|
|
|
+ .eq("delete_flag", "0"));
|
|
|
warehouseInOutInfo.setCompanyName(commonCompany.getCompName());
|
|
|
return warehouseInOutInfo;
|
|
|
}
|