|
|
|
@ -99,14 +99,6 @@ public class AdvanceDetailController {
|
|
|
|
|
return R.fail(405,"请选择删除的包件"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient.getMyCurrentWarehouse(); |
|
|
|
|
if(Objects.isNull(myCurrentWarehouse)){ |
|
|
|
|
log.warn(method+"请选择仓库"); |
|
|
|
|
return R.fail(405,"请选择仓库"); |
|
|
|
|
} |
|
|
|
|
advanceDetailDTO.setWarehouseId(myCurrentWarehouse.getId()); |
|
|
|
|
advanceDetailDTO.setWarehouseName(myCurrentWarehouse.getName()); |
|
|
|
|
|
|
|
|
|
return advanceDetailService.deleteAdvanceDetail(advanceDetailDTO); |
|
|
|
|
}catch (CustomerException e){ |
|
|
|
|
log.error(e.message,e); |
|
|
|
|