Browse Source

定制功能列表 添加分页

dev_shibei_match
zhangyongzhangyong 4 years ago
parent
commit
b310170a70
  1. 2
      epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/form/FunctionCustomizedListFormDTO.java
  2. 1
      epmet-module/oper-customize/oper-customize-server/src/main/resources/mapper/FunctionCustomizedDao.xml

2
epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/form/FunctionCustomizedListFormDTO.java

@ -54,6 +54,6 @@ public class FunctionCustomizedListFormDTO implements Serializable {
/** /**
* 页容量默认20页 * 页容量默认20页
*/ */
@Min(value = 1, message = "每页条数必须大于必须大于0") @Min(value = 1, message = "每页条数必须大于0")
private Integer pageSize; private Integer pageSize;
} }

1
epmet-module/oper-customize/oper-customize-server/src/main/resources/mapper/FunctionCustomizedDao.xml

@ -69,6 +69,7 @@
AND cu.FROM_APP = #{fromApp} AND cu.FROM_APP = #{fromApp}
</if> </if>
ORDER BY cu.FROM_APP, f.CREATED_TIME DESC ORDER BY cu.FROM_APP, f.CREATED_TIME DESC
LIMIT #{pageNo}, #{pageSize}
</select> </select>
<!-- 定制功能列表 总条数 --> <!-- 定制功能列表 总条数 -->

Loading…
Cancel
Save