diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/controller/BasicdataGoodsAreaController.java b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/controller/BasicdataGoodsAreaController.java index e1111d4d1..cabff7b48 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/controller/BasicdataGoodsAreaController.java +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/controller/BasicdataGoodsAreaController.java @@ -76,13 +76,26 @@ public class BasicdataGoodsAreaController extends BladeController { @GetMapping("/list") @ApiOperationSupport(order = 2) @ApiOperation(value = "分页", notes = "传入warehouseGoodsArea") - public R> list(@ApiIgnore @RequestParam Map basicdataGoodsArea, Query query) { + public R> list(@ApiIgnore @RequestParam Map basicdataGoodsArea, Query query) { IPage page = Condition.getPage(query); - IPage list = basicdataGoodsAreaService.getBasicdataGoodsAreaList(basicdataGoodsArea,page); -// IPage pages = basicdataGoodsAreaService.page(Condition.getPage(query), Condition.getQueryWrapper(basicdataGoodsArea, BasicdataGoodsAreaEntity.class)); - return R.data(list); +// IPage list = basicdataGoodsAreaService.getBasicdataGoodsAreaList(basicdataGoodsArea,page); + IPage pages = basicdataGoodsAreaService.page(Condition.getPage(query), Condition.getQueryWrapper(basicdataGoodsArea, BasicdataGoodsAreaEntity.class)); + return R.data(pages); } +// /** +// * 货区 分页 +// */ +// @GetMapping("/list") +// @ApiOperationSupport(order = 2) +// @ApiOperation(value = "分页", notes = "传入warehouseGoodsArea") +// public R> listInfo(@ApiIgnore Query query) { +// IPage page = Condition.getPage(query); +//// IPage list = basicdataGoodsAreaService.getBasicdataGoodsAreaList(basicdataGoodsArea,page); +// IPage pages = basicdataGoodsAreaService.page(Condition.getPage(query)); +// return R.data(pages); +// } + /** * 货区 自定义分页 */ diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataGoodsAreaMapper.xml b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataGoodsAreaMapper.xml index 7a2e1b090..437ec1e7a 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataGoodsAreaMapper.xml +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataGoodsAreaMapper.xml @@ -21,7 +21,7 @@ - + UPDATE logpm_warehouse_goods_area