重新生成代码
This commit is contained in:
parent
2caaa7fff6
commit
459e866c9f
|
@ -13,10 +13,6 @@ public class UpmsLogExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public UpmsLogExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class UpmsLogExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class UpmsOrganizationExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public UpmsOrganizationExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class UpmsOrganizationExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class UpmsPermissionExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public UpmsPermissionExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class UpmsPermissionExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class UpmsRoleExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public UpmsRoleExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class UpmsRoleExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class UpmsRolePermissionExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public UpmsRolePermissionExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class UpmsRolePermissionExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class UpmsSystemExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public UpmsSystemExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class UpmsSystemExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class UpmsUserExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public UpmsUserExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class UpmsUserExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class UpmsUserOrganizationExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public UpmsUserOrganizationExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class UpmsUserOrganizationExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class UpmsUserPermissionExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public UpmsUserPermissionExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class UpmsUserPermissionExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class UpmsUserRoleExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public UpmsUserRoleExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class UpmsUserRoleExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -113,14 +113,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="ResultMapWithBLOBs">
|
||||
select
|
||||
|
|
|
@ -82,14 +82,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -89,14 +89,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -83,14 +83,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -80,14 +80,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -89,14 +89,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -88,14 +88,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -80,14 +80,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -81,14 +81,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -80,14 +80,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -52,8 +52,6 @@ public class UpmsLogController extends BaseController {
|
|||
@RequestParam(required = false, value = "sort") String sort,
|
||||
@RequestParam(required = false, value = "order") String order) {
|
||||
UpmsLogExample upmsLogExample = new UpmsLogExample();
|
||||
upmsLogExample.setOffset(offset);
|
||||
upmsLogExample.setLimit(limit);
|
||||
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
|
||||
upmsLogExample.setOrderByClause(sort + " " + order);
|
||||
}
|
||||
|
@ -61,7 +59,7 @@ public class UpmsLogController extends BaseController {
|
|||
upmsLogExample.or()
|
||||
.andDescriptionLike("%" + search + "%");
|
||||
}
|
||||
List<UpmsLog> rows = upmsLogService.selectByExample(upmsLogExample);
|
||||
List<UpmsLog> rows = upmsLogService.selectByExampleForOffsetPage(upmsLogExample, offset, limit);
|
||||
long total = upmsLogService.countByExample(upmsLogExample);
|
||||
Map<String, Object> result = new HashMap<>();
|
||||
result.put("rows", rows);
|
||||
|
|
|
@ -57,8 +57,6 @@ public class UpmsOrganizationController extends BaseController {
|
|||
@RequestParam(required = false, value = "sort") String sort,
|
||||
@RequestParam(required = false, value = "order") String order) {
|
||||
UpmsOrganizationExample upmsOrganizationExample = new UpmsOrganizationExample();
|
||||
upmsOrganizationExample.setOffset(offset);
|
||||
upmsOrganizationExample.setLimit(limit);
|
||||
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
|
||||
upmsOrganizationExample.setOrderByClause(sort + " " + order);
|
||||
}
|
||||
|
@ -66,7 +64,7 @@ public class UpmsOrganizationController extends BaseController {
|
|||
upmsOrganizationExample.or()
|
||||
.andNameLike("%" + search + "%");
|
||||
}
|
||||
List<UpmsOrganization> rows = upmsOrganizationService.selectByExample(upmsOrganizationExample);
|
||||
List<UpmsOrganization> rows = upmsOrganizationService.selectByExampleForOffsetPage(upmsOrganizationExample, offset, limit);
|
||||
long total = upmsOrganizationService.countByExample(upmsOrganizationExample);
|
||||
Map<String, Object> result = new HashMap<>();
|
||||
result.put("rows", rows);
|
||||
|
|
|
@ -77,8 +77,6 @@ public class UpmsPermissionController extends BaseController {
|
|||
if (0 != systemId) {
|
||||
criteria.andSystemIdEqualTo(systemId);
|
||||
}
|
||||
upmsPermissionExample.setOffset(offset);
|
||||
upmsPermissionExample.setLimit(limit);
|
||||
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
|
||||
upmsPermissionExample.setOrderByClause(sort + " " + order);
|
||||
}
|
||||
|
@ -86,7 +84,7 @@ public class UpmsPermissionController extends BaseController {
|
|||
upmsPermissionExample.or()
|
||||
.andNameLike("%" + search + "%");
|
||||
}
|
||||
List<UpmsPermission> rows = upmsPermissionService.selectByExample(upmsPermissionExample);
|
||||
List<UpmsPermission> rows = upmsPermissionService.selectByExampleForOffsetPage(upmsPermissionExample, offset, limit);
|
||||
long total = upmsPermissionService.countByExample(upmsPermissionExample);
|
||||
Map<String, Object> result = new HashMap<>();
|
||||
result.put("rows", rows);
|
||||
|
|
|
@ -86,8 +86,6 @@ public class UpmsRoleController extends BaseController {
|
|||
@RequestParam(required = false, value = "sort") String sort,
|
||||
@RequestParam(required = false, value = "order") String order) {
|
||||
UpmsRoleExample upmsRoleExample = new UpmsRoleExample();
|
||||
upmsRoleExample.setOffset(offset);
|
||||
upmsRoleExample.setLimit(limit);
|
||||
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
|
||||
upmsRoleExample.setOrderByClause(sort + " " + order);
|
||||
}
|
||||
|
@ -95,7 +93,7 @@ public class UpmsRoleController extends BaseController {
|
|||
upmsRoleExample.or()
|
||||
.andTitleLike("%" + search + "%");
|
||||
}
|
||||
List<UpmsRole> rows = upmsRoleService.selectByExample(upmsRoleExample);
|
||||
List<UpmsRole> rows = upmsRoleService.selectByExampleForOffsetPage(upmsRoleExample, offset, limit);
|
||||
long total = upmsRoleService.countByExample(upmsRoleExample);
|
||||
Map<String, Object> result = new HashMap<>();
|
||||
result.put("rows", rows);
|
||||
|
|
|
@ -57,8 +57,6 @@ public class UpmsSystemController extends BaseController {
|
|||
@RequestParam(required = false, value = "sort") String sort,
|
||||
@RequestParam(required = false, value = "order") String order) {
|
||||
UpmsSystemExample upmsSystemExample = new UpmsSystemExample();
|
||||
upmsSystemExample.setOffset(offset);
|
||||
upmsSystemExample.setLimit(limit);
|
||||
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
|
||||
upmsSystemExample.setOrderByClause(sort + " " + order);
|
||||
}
|
||||
|
@ -66,7 +64,7 @@ public class UpmsSystemController extends BaseController {
|
|||
upmsSystemExample.or()
|
||||
.andTitleLike("%" + search + "%");
|
||||
}
|
||||
List<UpmsSystem> rows = upmsSystemService.selectByExample(upmsSystemExample);
|
||||
List<UpmsSystem> rows = upmsSystemService.selectByExampleForOffsetPage(upmsSystemExample, offset, limit);
|
||||
long total = upmsSystemService.countByExample(upmsSystemExample);
|
||||
Map<String, Object> result = new HashMap<>();
|
||||
result.put("rows", rows);
|
||||
|
|
|
@ -146,8 +146,6 @@ public class UpmsUserController extends BaseController {
|
|||
@RequestParam(required = false, value = "sort") String sort,
|
||||
@RequestParam(required = false, value = "order") String order) {
|
||||
UpmsUserExample upmsUserExample = new UpmsUserExample();
|
||||
upmsUserExample.setOffset(offset);
|
||||
upmsUserExample.setLimit(limit);
|
||||
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
|
||||
upmsUserExample.setOrderByClause(sort + " " + order);
|
||||
}
|
||||
|
@ -157,7 +155,7 @@ public class UpmsUserController extends BaseController {
|
|||
upmsUserExample.or()
|
||||
.andUsernameLike("%" + search + "%");
|
||||
}
|
||||
List<UpmsUser> rows = upmsUserService.selectByExample(upmsUserExample);
|
||||
List<UpmsUser> rows = upmsUserService.selectByExampleForOffsetPage(upmsUserExample, offset, limit);
|
||||
long total = upmsUserService.countByExample(upmsUserExample);
|
||||
Map<String, Object> result = new HashMap<>();
|
||||
result.put("rows", rows);
|
||||
|
|
Loading…
Reference in New Issue