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