|
|
|
@ -76,13 +76,26 @@ public class BasicdataGoodsAreaController extends BladeController {
|
|
|
|
|
@GetMapping("/list") |
|
|
|
|
@ApiOperationSupport(order = 2) |
|
|
|
|
@ApiOperation(value = "分页", notes = "传入warehouseGoodsArea") |
|
|
|
|
public R<IPage<BasicdataGoodsAreaVO>> list(@ApiIgnore @RequestParam Map<String, Object> basicdataGoodsArea, Query query) { |
|
|
|
|
public R<IPage<BasicdataGoodsAreaEntity>> list(@ApiIgnore @RequestParam Map<String, Object> basicdataGoodsArea, Query query) { |
|
|
|
|
IPage<Object> page = Condition.getPage(query); |
|
|
|
|
IPage<BasicdataGoodsAreaVO> list = basicdataGoodsAreaService.getBasicdataGoodsAreaList(basicdataGoodsArea,page); |
|
|
|
|
// IPage<BasicdataGoodsAreaVO> pages = basicdataGoodsAreaService.page(Condition.getPage(query), Condition.getQueryWrapper(basicdataGoodsArea, BasicdataGoodsAreaEntity.class));
|
|
|
|
|
return R.data(list); |
|
|
|
|
// IPage<BasicdataGoodsAreaVO> list = basicdataGoodsAreaService.getBasicdataGoodsAreaList(basicdataGoodsArea,page);
|
|
|
|
|
IPage<BasicdataGoodsAreaEntity> 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<IPage<BasicdataGoodsAreaEntity>> listInfo(@ApiIgnore Query query) {
|
|
|
|
|
// IPage<Object> page = Condition.getPage(query);
|
|
|
|
|
//// IPage<BasicdataGoodsAreaVO> list = basicdataGoodsAreaService.getBasicdataGoodsAreaList(basicdataGoodsArea,page);
|
|
|
|
|
// IPage<BasicdataGoodsAreaEntity> pages = basicdataGoodsAreaService.page(Condition.getPage(query));
|
|
|
|
|
// return R.data(pages);
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 货区 自定义分页 |
|
|
|
|
*/ |
|
|
|
|