@ -105,7 +105,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
verifySaveNewCarsLoad ( carsLoadDTO ) ;
@ -135,7 +135,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
if ( Objects . isNull ( loadId ) ) {
@ -178,7 +178,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
if ( Objects . isNull ( loadId ) ) {
@ -250,7 +250,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
// if(Objects.isNull(loadId)){
@ -284,7 +284,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( Objects . isNull ( loadId ) ) {
@ -322,7 +322,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( Objects . isNull ( loadId ) ) {
@ -389,7 +389,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( Objects . isNull ( carsOrderId ) ) {
@ -430,7 +430,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( StringUtil . isBlank ( carsOrderIds ) ) {
@ -464,7 +464,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( Objects . isNull ( loadId ) ) {
@ -503,7 +503,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( Objects . isNull ( loadId ) ) {
@ -539,7 +539,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( Objects . isNull ( carsOrderId ) ) {
@ -745,7 +745,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( Objects . isNull ( loadId ) ) {
@ -794,7 +794,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -830,7 +830,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -875,7 +875,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -921,7 +921,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -968,7 +968,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -1031,7 +1031,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
return carsLoadService . findLoadInitData ( myCurrentWarehouse . getId ( ) ) ;
} catch ( CustomerException e ) {
@ -1057,7 +1057,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
return carsLoadService . findLoadFeeByNodeId ( loadId , myCurrentWarehouse . getId ( ) ) ;
} catch ( CustomerException e ) {
@ -1096,7 +1096,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
if ( Objects . isNull ( loadId ) ) {
@ -1174,7 +1174,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -1222,7 +1222,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -1255,7 +1255,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -1285,7 +1285,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -1323,7 +1323,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -1387,7 +1387,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -1437,7 +1437,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -1475,7 +1475,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -1512,7 +1512,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -1546,7 +1546,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -1582,7 +1582,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
batchUnloadDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -1624,7 +1624,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -1659,7 +1659,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -1696,7 +1696,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -1735,7 +1735,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -1802,7 +1802,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -1836,7 +1836,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 400 , "仓库信息为空 " ) ;
return R . fail ( 400 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
loadCarsDTO . setWarehouseName ( myCurrentWarehouse . getName ( ) ) ;
@ -1872,7 +1872,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( Objects . isNull ( signOrderId ) ) {
@ -1885,7 +1885,7 @@ public class CarsLoadController {
return R . fail ( 405 , "包件码为空" ) ;
}
return carsLoadService . signScanPackageCode ( signOrderId , orderPackageCode , "PC签收" ) ;
return carsLoadService . signScanPackageCode ( signOrderId , orderPackageCode , "PC签收" , loadCarsDTO . getWarehouseId ( ) ) ;
} catch ( CustomerException e ) {
log . error ( e . message , e ) ;
return R . fail ( e . code , e . message ) ;
@ -1913,7 +1913,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( Objects . isNull ( signOrderId ) ) {
@ -1951,7 +1951,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( Objects . isNull ( loadId ) ) {
@ -1985,7 +1985,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( Objects . isNull ( loadId ) ) {
@ -2019,7 +2019,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( Objects . isNull ( loadId ) ) {
@ -2052,7 +2052,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( Objects . isNull ( loadId ) ) {
@ -2089,7 +2089,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( Objects . isNull ( loadId ) ) {
@ -2123,7 +2123,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( Objects . isNull ( loadId ) ) {
@ -2156,7 +2156,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( Objects . isNull ( loadId ) ) {
@ -2189,7 +2189,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( Objects . isNull ( loadId ) ) {
@ -2221,7 +2221,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -2299,7 +2299,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( ObjectUtil . isNull ( loadId ) ) {
@ -2330,7 +2330,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
@ -2359,7 +2359,7 @@ public class CarsLoadController {
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient . getMyCurrentWarehouse ( ) ;
if ( Objects . isNull ( myCurrentWarehouse ) ) {
log . warn ( method + "仓库信息为空 myCurrentWarehouse={}" , myCurrentWarehouse ) ;
return R . fail ( 405 , "仓库信息为空 " ) ;
return R . fail ( 405 , "多仓权限无法操作,请选择 仓库" ) ;
}
loadCarsDTO . setWarehouseId ( myCurrentWarehouse . getId ( ) ) ;
if ( Objects . isNull ( signOrderId ) ) {