超市分页
This commit is contained in:
parent
b5388e9510
commit
2d0fb9838d
|
|
@ -44,7 +44,9 @@ public class SupermarketInfoController extends BaseController {
|
|||
//@RequiresPermissions("supermarket:info:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(SupermarketInfo supermarketInfo) {
|
||||
startPage();
|
||||
if (supermarketInfo.isPagenation()) {
|
||||
startPage();
|
||||
}
|
||||
List<SupermarketInfo> list = supermarketInfoService.selectSupermarketInfoList(supermarketInfo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,6 +20,9 @@ import com.bonus.common.core.web.domain.BaseEntity;
|
|||
public class SupermarketInfo extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 是否分页 */
|
||||
private boolean pagenation;
|
||||
|
||||
/** 超市id */
|
||||
private Long supermarketId;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue