记得上下班打卡 | git大法好,push需谨慎

Commit 9105ba73 authored by 胡佳晨's avatar 胡佳晨

admin 配置完成

parent bb223084
...@@ -25,10 +25,10 @@ public class PerformanceAdminListParam { ...@@ -25,10 +25,10 @@ public class PerformanceAdminListParam {
private String stopSellTime; private String stopSellTime;
@ApiModelProperty(value = "页数", example = "0") @ApiModelProperty(value = "页数", example = "0")
@NotNull(message = "不能为空") @NotNull(message = "不能为空")
private Integer page; private Integer pageSize;
@ApiModelProperty(value = "数量", example = "20") @ApiModelProperty(value = "数量", example = "20")
@NotNull(message = "不能为空") @NotNull(message = "不能为空")
private Integer size; private Integer pageNum;
@ApiModelProperty(value = "排序字段", hidden = true) @ApiModelProperty(value = "排序字段", hidden = true)
private String orderItem; private String orderItem;
@ApiModelProperty(value = "排序方式", hidden = true) @ApiModelProperty(value = "排序方式", hidden = true)
......
...@@ -201,7 +201,7 @@ public class KylinPerformancesAdminServiceImpl extends ServiceImpl<KylinPerforma ...@@ -201,7 +201,7 @@ public class KylinPerformancesAdminServiceImpl extends ServiceImpl<KylinPerforma
public PageInfo<PerformanceAdminListDao> getList(PerformanceAdminListParam performanceAdminListParam) { public PageInfo<PerformanceAdminListDao> getList(PerformanceAdminListParam performanceAdminListParam) {
PageInfo<PerformanceAdminListDao> pageInfoTmp = null; PageInfo<PerformanceAdminListDao> pageInfoTmp = null;
try { try {
PageHelper.startPage(performanceAdminListParam.getPage(), performanceAdminListParam.getSize()); PageHelper.startPage(performanceAdminListParam.getPageNum(), performanceAdminListParam.getPageSize());
List<PerformanceAdminListDao> voList = performancesMapper.misPerformanceList(BeanUtil.convertBeanToMap(performanceAdminListParam)); List<PerformanceAdminListDao> voList = performancesMapper.misPerformanceList(BeanUtil.convertBeanToMap(performanceAdminListParam));
pageInfoTmp = new PageInfo(voList); pageInfoTmp = new PageInfo(voList);
} catch (Exception e) { } catch (Exception e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment