超市不分页接口
This commit is contained in:
parent
ee5f4fd914
commit
bd0ed29c96
|
|
@ -44,9 +44,15 @@ public class SupermarketInfoController extends BaseController {
|
|||
//@RequiresPermissions("supermarket:info:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(SupermarketInfo supermarketInfo) {
|
||||
if (supermarketInfo.isPagenation()) {
|
||||
startPage();
|
||||
List<SupermarketInfo> list = supermarketInfoService.selectSupermarketInfoList(supermarketInfo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
@ApiOperation(value = "查询超市列表(不分页)")
|
||||
//@RequiresPermissions("supermarket:info:list")
|
||||
@GetMapping("/listAll")
|
||||
public TableDataInfo listAll(SupermarketInfo supermarketInfo) {
|
||||
List<SupermarketInfo> list = supermarketInfoService.selectSupermarketInfoList(supermarketInfo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue