|
@@ -3024,8 +3024,12 @@ public class ContractManagementInfoServiceImpl extends ServiceImpl<ContractManag
|
|
|
}
|
|
|
|
|
|
}
|
|
|
- contractManagementInfo.setTranCarInfoList(newCarList);
|
|
|
- contractManagementInfo.setTranCarInfoList1(newCarList1);
|
|
|
+ if(newCarList.size() > 0){
|
|
|
+ contractManagementInfo.setTranCarInfoList(newCarList);
|
|
|
+ }
|
|
|
+ if(newCarList1.size() > 0){
|
|
|
+ contractManagementInfo.setTranCarInfoList1(newCarList1);
|
|
|
+ }
|
|
|
//查船名
|
|
|
Wrapper<TranCarInfo> shipListWrapper = new EntityWrapper<>();
|
|
|
shipListWrapper.eq("contract_no", contractManagementInfo.getContractNo())
|