|
|
@@ -351,12 +351,13 @@ public class BasicWarehouseController {
|
|
351
|
351
|
@RequestMapping(value="/getCountWhs", method=RequestMethod.GET)
|
|
352
|
352
|
@ApiOperation(value="查询货位数", notes = "查询货位数")
|
|
353
|
353
|
@ApiImplicitParams({
|
|
354
|
|
- @ApiImplicitParam(name = "orgId", value = "单位ID", paramType = "query")
|
|
|
354
|
+ @ApiImplicitParam(name = "orgId", value = "单位ID", paramType = "query"),
|
|
|
355
|
+ @ApiImplicitParam(name = "delFlag", value = "启用状态(1:启用,0:弃用)", paramType = "query")
|
|
355
|
356
|
})
|
|
356
|
|
- public Integer getCountWhs(Integer orgId) {
|
|
|
357
|
+ public Integer getCountWhs(Integer orgId, Integer delFlag) {
|
|
357
|
358
|
Integer hws = 0;
|
|
358
|
359
|
try {
|
|
359
|
|
- hws = basicWarehouseService.getCountWhs(orgId);
|
|
|
360
|
+ hws = basicWarehouseService.getCountWhs(orgId, delFlag);
|
|
360
|
361
|
} catch (Exception e) {
|
|
361
|
362
|
hws = 0;
|
|
362
|
363
|
e.printStackTrace();
|