|
|
|
@ -250,7 +250,7 @@ public class CarsLoadApiController {
|
|
|
|
|
public R removeCarsLoadScan(@RequestBody LoadCarsDTO loadCarsDTO) { |
|
|
|
|
String method = "############removeCarsLoadScan: "; |
|
|
|
|
log.info(method + "请求参数{}", loadCarsDTO); |
|
|
|
|
Long carsLoadScanId = loadCarsDTO.getCarsLoadScanId(); |
|
|
|
|
String carsLoadScanIds = loadCarsDTO.getCarsLoadScanIds(); |
|
|
|
|
try{ |
|
|
|
|
|
|
|
|
|
//当前登录人选择的仓库
|
|
|
|
@ -261,12 +261,12 @@ public class CarsLoadApiController {
|
|
|
|
|
} |
|
|
|
|
loadCarsDTO.setWarehouseId(myCurrentWarehouse.getId()); |
|
|
|
|
|
|
|
|
|
if(Objects.isNull(carsLoadScanId)){ |
|
|
|
|
log.warn(method+"配载装车扫描id为空 carsLoadScanId={}",carsLoadScanId); |
|
|
|
|
if(StringUtil.isBlank(carsLoadScanIds)){ |
|
|
|
|
log.warn(method+"配载装车扫描id为空 carsLoadScanIds={}",carsLoadScanIds); |
|
|
|
|
return R.fail(405,"配载装车扫描id为空"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return carsLoadService.removeCarsLoadScan(carsLoadScanId,myCurrentWarehouse.getId()); |
|
|
|
|
return carsLoadService.removeCarsLoadScan(carsLoadScanIds,myCurrentWarehouse.getId()); |
|
|
|
|
}catch (CustomerException e){ |
|
|
|
|
log.error(e.message,e); |
|
|
|
|
return R.fail(e.code,e.message); |
|
|
|
|