Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
6654f4ea
Commit
6654f4ea
authored
Oct 30, 2023
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台角色管理
parent
a0d72c86
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
131 additions
and
567 deletions
+131
-567
ch-dao/src/main/java/com/wwdz/ch/db/domain/Role.java
ch-dao/src/main/java/com/wwdz/ch/db/domain/Role.java
+40
-245
ch-dao/src/main/java/com/wwdz/ch/db/domain/RoleExample.java
ch-dao/src/main/java/com/wwdz/ch/db/domain/RoleExample.java
+73
-175
ch-dao/src/main/java/com/wwdz/ch/db/impl/dts/DtsRoleDaoImpl.java
...src/main/java/com/wwdz/ch/db/impl/dts/DtsRoleDaoImpl.java
+6
-7
ch-dao/src/main/java/com/wwdz/ch/db/mapper/RoleMapper.java
ch-dao/src/main/java/com/wwdz/ch/db/mapper/RoleMapper.java
+8
-76
ch-dao/src/main/resources/com/wwdz/ch/db/mapper/RoleMapper.xml
...o/src/main/resources/com/wwdz/ch/db/mapper/RoleMapper.xml
+4
-64
No files found.
ch-dao/src/main/java/com/wwdz/ch/db/domain/Role.java
View file @
6654f4ea
package
com.wwdz.ch.db.domain
;
package
com.wwdz.ch.db.domain
;
import
java.
time.LocalDateTim
e
;
import
java.
io.Serializabl
e
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Arrays
;
import
java.util.Date
;
public
class
Role
{
import
com.xxdxxs.entity.Entity
;
import
lombok.Data
;
/**
* @author shiyu
* @date 2023/10/30
*/
@Data
public
class
Role
implements
Entity
{
/**
/**
* This field was generated by MyBatis Generator.
* This field was generated by MyBatis Generator.
* This field corresponds to the database table
dts_
role
* This field corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -16,250 +25,47 @@ public class Role {
...
@@ -16,250 +25,47 @@ public class Role {
/**
/**
* This field was generated by MyBatis Generator.
* This field was generated by MyBatis Generator.
* This field corresponds to the database table
dts_
role
* This field corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
*/
public
static
final
Boolean
IS_DELETED
=
true
;
public
static
final
Boolean
IS_DELETED
=
true
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dts_role.id
*
* @mbg.generated
*/
private
Integer
id
;
private
Integer
id
;
/**
/**
*
* 角色名称
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dts_role.name
*
* @mbg.generated
*/
*/
private
String
name
;
private
String
name
;
/**
/**
*
* 角色描述
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dts_role.desc
*
* @mbg.generated
*/
*/
private
String
desc
;
private
String
desc
;
/**
/**
*
* 是否启用
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dts_role.enabled
*
* @mbg.generated
*/
*/
private
Boolean
enabled
;
private
Boolean
enabled
;
/**
/**
*
* 创建时间
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dts_role.add_time
*
* @mbg.generated
*/
*/
private
LocalDateTim
e
addTime
;
private
Dat
e
addTime
;
/**
/**
*
* 更新时间
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dts_role.update_time
*
* @mbg.generated
*/
*/
private
LocalDateTim
e
updateTime
;
private
Dat
e
updateTime
;
/**
/**
*
* 逻辑删除
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dts_role.deleted
*
* @mbg.generated
*/
*/
private
Boolean
deleted
;
private
Boolean
deleted
;
/**
private
static
final
long
serialVersionUID
=
1L
;
* This method was generated by MyBatis Generator.
* This method returns the value of the database column dts_role.id
*
* @return the value of dts_role.id
*
* @mbg.generated
*/
public
Integer
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column dts_role.id
*
* @param id the value for dts_role.id
*
* @mbg.generated
*/
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column dts_role.name
*
* @return the value of dts_role.name
*
* @mbg.generated
*/
public
String
getName
()
{
return
name
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column dts_role.name
*
* @param name the value for dts_role.name
*
* @mbg.generated
*/
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column dts_role.desc
*
* @return the value of dts_role.desc
*
* @mbg.generated
*/
public
String
getDesc
()
{
return
desc
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column dts_role.desc
*
* @param desc the value for dts_role.desc
*
* @mbg.generated
*/
public
void
setDesc
(
String
desc
)
{
this
.
desc
=
desc
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column dts_role.enabled
*
* @return the value of dts_role.enabled
*
* @mbg.generated
*/
public
Boolean
getEnabled
()
{
return
enabled
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column dts_role.enabled
*
* @param enabled the value for dts_role.enabled
*
* @mbg.generated
*/
public
void
setEnabled
(
Boolean
enabled
)
{
this
.
enabled
=
enabled
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column dts_role.add_time
*
* @return the value of dts_role.add_time
*
* @mbg.generated
*/
public
LocalDateTime
getAddTime
()
{
return
addTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column dts_role.add_time
*
* @param addTime the value for dts_role.add_time
*
* @mbg.generated
*/
public
void
setAddTime
(
LocalDateTime
addTime
)
{
this
.
addTime
=
addTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column dts_role.update_time
*
* @return the value of dts_role.update_time
*
* @mbg.generated
*/
public
LocalDateTime
getUpdateTime
()
{
return
updateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column dts_role.update_time
*
* @param updateTime the value for dts_role.update_time
*
* @mbg.generated
*/
public
void
setUpdateTime
(
LocalDateTime
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column dts_role.deleted
*
* @return the value of dts_role.deleted
*
* @mbg.generated
*/
public
Boolean
getDeleted
()
{
return
deleted
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column dts_role.deleted
*
* @param deleted the value for dts_role.deleted
*
* @mbg.generated
*/
public
void
setDeleted
(
Boolean
deleted
)
{
this
.
deleted
=
deleted
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
StringBuilder
sb
=
new
StringBuilder
();
...
@@ -273,16 +79,11 @@ public class Role {
...
@@ -273,16 +79,11 @@ public class Role {
sb
.
append
(
", addTime="
).
append
(
addTime
);
sb
.
append
(
", addTime="
).
append
(
addTime
);
sb
.
append
(
", updateTime="
).
append
(
updateTime
);
sb
.
append
(
", updateTime="
).
append
(
updateTime
);
sb
.
append
(
", deleted="
).
append
(
deleted
);
sb
.
append
(
", deleted="
).
append
(
deleted
);
sb
.
append
(
", serialVersionUID="
).
append
(
serialVersionUID
);
sb
.
append
(
"]"
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
return
sb
.
toString
();
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
@Override
@Override
public
boolean
equals
(
Object
that
)
{
public
boolean
equals
(
Object
that
)
{
if
(
this
==
that
)
{
if
(
this
==
that
)
{
...
@@ -304,12 +105,6 @@ public class Role {
...
@@ -304,12 +105,6 @@ public class Role {
&&
(
this
.
getDeleted
()
==
null
?
other
.
getDeleted
()
==
null
:
this
.
getDeleted
().
equals
(
other
.
getDeleted
()));
&&
(
this
.
getDeleted
()
==
null
?
other
.
getDeleted
()
==
null
:
this
.
getDeleted
().
equals
(
other
.
getDeleted
()));
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
@Override
@Override
public
int
hashCode
()
{
public
int
hashCode
()
{
final
int
prime
=
31
;
final
int
prime
=
31
;
...
@@ -326,7 +121,7 @@ public class Role {
...
@@ -326,7 +121,7 @@ public class Role {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -337,7 +132,7 @@ public class Role {
...
@@ -337,7 +132,7 @@ public class Role {
/**
/**
* This enum was generated by MyBatis Generator.
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table
dts_
role
* This enum corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -353,7 +148,7 @@ public class Role {
...
@@ -353,7 +148,7 @@ public class Role {
/**
/**
* This field was generated by MyBatis Generator.
* This field was generated by MyBatis Generator.
* This field corresponds to the database table
dts_
role
* This field corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -362,7 +157,7 @@ public class Role {
...
@@ -362,7 +157,7 @@ public class Role {
/**
/**
* This field was generated by MyBatis Generator.
* This field was generated by MyBatis Generator.
* This field corresponds to the database table
dts_
role
* This field corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -371,7 +166,7 @@ public class Role {
...
@@ -371,7 +166,7 @@ public class Role {
/**
/**
* This field was generated by MyBatis Generator.
* This field was generated by MyBatis Generator.
* This field corresponds to the database table
dts_
role
* This field corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -380,7 +175,7 @@ public class Role {
...
@@ -380,7 +175,7 @@ public class Role {
/**
/**
* This field was generated by MyBatis Generator.
* This field was generated by MyBatis Generator.
* This field corresponds to the database table
dts_
role
* This field corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -389,7 +184,7 @@ public class Role {
...
@@ -389,7 +184,7 @@ public class Role {
/**
/**
* This field was generated by MyBatis Generator.
* This field was generated by MyBatis Generator.
* This field corresponds to the database table
dts_
role
* This field corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -398,7 +193,7 @@ public class Role {
...
@@ -398,7 +193,7 @@ public class Role {
/**
/**
* This field was generated by MyBatis Generator.
* This field was generated by MyBatis Generator.
* This field corresponds to the database table
dts_
role
* This field corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -407,7 +202,7 @@ public class Role {
...
@@ -407,7 +202,7 @@ public class Role {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -418,7 +213,7 @@ public class Role {
...
@@ -418,7 +213,7 @@ public class Role {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -429,7 +224,7 @@ public class Role {
...
@@ -429,7 +224,7 @@ public class Role {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -440,7 +235,7 @@ public class Role {
...
@@ -440,7 +235,7 @@ public class Role {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -451,7 +246,7 @@ public class Role {
...
@@ -451,7 +246,7 @@ public class Role {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -465,7 +260,7 @@ public class Role {
...
@@ -465,7 +260,7 @@ public class Role {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -476,7 +271,7 @@ public class Role {
...
@@ -476,7 +271,7 @@ public class Role {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -487,7 +282,7 @@ public class Role {
...
@@ -487,7 +282,7 @@ public class Role {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -502,7 +297,7 @@ public class Role {
...
@@ -502,7 +297,7 @@ public class Role {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
...
ch-dao/src/main/java/com/wwdz/ch/db/domain/RoleExample.java
View file @
6654f4ea
package
com.wwdz.ch.db.domain
;
package
com.wwdz.ch.db.domain
;
import
java.time.LocalDateTime
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
public
class
RoleExample
{
public
class
RoleExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table dts_role
*
* @mbg.generated
*/
protected
String
orderByClause
;
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table dts_role
*
* @mbg.generated
*/
protected
boolean
distinct
;
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table dts_role
*
* @mbg.generated
*/
protected
List
<
Criteria
>
oredCriteria
;
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
public
RoleExample
()
{
public
RoleExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
this
.
orderByClause
=
orderByClause
;
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
public
String
getOrderByClause
()
{
public
String
getOrderByClause
()
{
return
orderByClause
;
return
orderByClause
;
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
public
void
setDistinct
(
boolean
distinct
)
{
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
this
.
distinct
=
distinct
;
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
public
boolean
isDistinct
()
{
public
boolean
isDistinct
()
{
return
distinct
;
return
distinct
;
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
return
oredCriteria
;
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
public
void
or
(
Criteria
criteria
)
{
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
oredCriteria
.
add
(
criteria
);
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
public
Criteria
or
()
{
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
oredCriteria
.
add
(
criteria
);
...
@@ -113,7 +47,7 @@ public class RoleExample {
...
@@ -113,7 +47,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -125,7 +59,7 @@ public class RoleExample {
...
@@ -125,7 +59,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -142,12 +76,6 @@ public class RoleExample {
...
@@ -142,12 +76,6 @@ public class RoleExample {
return
this
;
return
this
;
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
public
Criteria
createCriteria
()
{
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
if
(
oredCriteria
.
size
()
==
0
)
{
...
@@ -156,23 +84,11 @@ public class RoleExample {
...
@@ -156,23 +84,11 @@ public class RoleExample {
return
criteria
;
return
criteria
;
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
protected
Criteria
createCriteriaInternal
()
{
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
(
this
);
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
return
criteria
;
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
public
void
clear
()
{
public
void
clear
()
{
oredCriteria
.
clear
();
oredCriteria
.
clear
();
orderByClause
=
null
;
orderByClause
=
null
;
...
@@ -181,7 +97,7 @@ public class RoleExample {
...
@@ -181,7 +97,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -191,12 +107,6 @@ public class RoleExample {
...
@@ -191,12 +107,6 @@ public class RoleExample {
return
example
.
createCriteria
();
return
example
.
createCriteria
();
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table dts_role
*
* @mbg.generated
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
List
<
Criterion
>
criteria
;
...
@@ -255,7 +165,7 @@ public class RoleExample {
...
@@ -255,7 +165,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -272,7 +182,7 @@ public class RoleExample {
...
@@ -272,7 +182,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -289,7 +199,7 @@ public class RoleExample {
...
@@ -289,7 +199,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -306,7 +216,7 @@ public class RoleExample {
...
@@ -306,7 +216,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -323,7 +233,7 @@ public class RoleExample {
...
@@ -323,7 +233,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -340,7 +250,7 @@ public class RoleExample {
...
@@ -340,7 +250,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -387,7 +297,7 @@ public class RoleExample {
...
@@ -387,7 +297,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -404,7 +314,7 @@ public class RoleExample {
...
@@ -404,7 +314,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -421,7 +331,7 @@ public class RoleExample {
...
@@ -421,7 +331,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -438,7 +348,7 @@ public class RoleExample {
...
@@ -438,7 +348,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -455,7 +365,7 @@ public class RoleExample {
...
@@ -455,7 +365,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -472,7 +382,7 @@ public class RoleExample {
...
@@ -472,7 +382,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -529,7 +439,7 @@ public class RoleExample {
...
@@ -529,7 +439,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -546,7 +456,7 @@ public class RoleExample {
...
@@ -546,7 +456,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -563,7 +473,7 @@ public class RoleExample {
...
@@ -563,7 +473,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -580,7 +490,7 @@ public class RoleExample {
...
@@ -580,7 +490,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -597,7 +507,7 @@ public class RoleExample {
...
@@ -597,7 +507,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -614,7 +524,7 @@ public class RoleExample {
...
@@ -614,7 +524,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -671,7 +581,7 @@ public class RoleExample {
...
@@ -671,7 +581,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -688,7 +598,7 @@ public class RoleExample {
...
@@ -688,7 +598,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -705,7 +615,7 @@ public class RoleExample {
...
@@ -705,7 +615,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -722,7 +632,7 @@ public class RoleExample {
...
@@ -722,7 +632,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -739,7 +649,7 @@ public class RoleExample {
...
@@ -739,7 +649,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -756,7 +666,7 @@ public class RoleExample {
...
@@ -756,7 +666,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -796,14 +706,14 @@ public class RoleExample {
...
@@ -796,14 +706,14 @@ public class RoleExample {
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andAddTimeEqualTo
(
LocalDateTim
e
value
)
{
public
Criteria
andAddTimeEqualTo
(
Dat
e
value
)
{
addCriterion
(
"add_time ="
,
value
,
"addTime"
);
addCriterion
(
"add_time ="
,
value
,
"addTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -813,14 +723,14 @@ public class RoleExample {
...
@@ -813,14 +723,14 @@ public class RoleExample {
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andAddTimeNotEqualTo
(
LocalDateTim
e
value
)
{
public
Criteria
andAddTimeNotEqualTo
(
Dat
e
value
)
{
addCriterion
(
"add_time <>"
,
value
,
"addTime"
);
addCriterion
(
"add_time <>"
,
value
,
"addTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -830,14 +740,14 @@ public class RoleExample {
...
@@ -830,14 +740,14 @@ public class RoleExample {
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andAddTimeGreaterThan
(
LocalDateTim
e
value
)
{
public
Criteria
andAddTimeGreaterThan
(
Dat
e
value
)
{
addCriterion
(
"add_time >"
,
value
,
"addTime"
);
addCriterion
(
"add_time >"
,
value
,
"addTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -847,14 +757,14 @@ public class RoleExample {
...
@@ -847,14 +757,14 @@ public class RoleExample {
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andAddTimeGreaterThanOrEqualTo
(
LocalDateTim
e
value
)
{
public
Criteria
andAddTimeGreaterThanOrEqualTo
(
Dat
e
value
)
{
addCriterion
(
"add_time >="
,
value
,
"addTime"
);
addCriterion
(
"add_time >="
,
value
,
"addTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -864,14 +774,14 @@ public class RoleExample {
...
@@ -864,14 +774,14 @@ public class RoleExample {
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andAddTimeLessThan
(
LocalDateTim
e
value
)
{
public
Criteria
andAddTimeLessThan
(
Dat
e
value
)
{
addCriterion
(
"add_time <"
,
value
,
"addTime"
);
addCriterion
(
"add_time <"
,
value
,
"addTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -881,14 +791,14 @@ public class RoleExample {
...
@@ -881,14 +791,14 @@ public class RoleExample {
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andAddTimeLessThanOrEqualTo
(
LocalDateTim
e
value
)
{
public
Criteria
andAddTimeLessThanOrEqualTo
(
Dat
e
value
)
{
addCriterion
(
"add_time <="
,
value
,
"addTime"
);
addCriterion
(
"add_time <="
,
value
,
"addTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -898,22 +808,22 @@ public class RoleExample {
...
@@ -898,22 +808,22 @@ public class RoleExample {
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andAddTimeIn
(
List
<
LocalDateTim
e
>
values
)
{
public
Criteria
andAddTimeIn
(
List
<
Dat
e
>
values
)
{
addCriterion
(
"add_time in"
,
values
,
"addTime"
);
addCriterion
(
"add_time in"
,
values
,
"addTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andAddTimeNotIn
(
List
<
LocalDateTim
e
>
values
)
{
public
Criteria
andAddTimeNotIn
(
List
<
Dat
e
>
values
)
{
addCriterion
(
"add_time not in"
,
values
,
"addTime"
);
addCriterion
(
"add_time not in"
,
values
,
"addTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andAddTimeBetween
(
LocalDateTime
value1
,
LocalDateTim
e
value2
)
{
public
Criteria
andAddTimeBetween
(
Date
value1
,
Dat
e
value2
)
{
addCriterion
(
"add_time between"
,
value1
,
value2
,
"addTime"
);
addCriterion
(
"add_time between"
,
value1
,
value2
,
"addTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andAddTimeNotBetween
(
LocalDateTime
value1
,
LocalDateTim
e
value2
)
{
public
Criteria
andAddTimeNotBetween
(
Date
value1
,
Dat
e
value2
)
{
addCriterion
(
"add_time not between"
,
value1
,
value2
,
"addTime"
);
addCriterion
(
"add_time not between"
,
value1
,
value2
,
"addTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
...
@@ -928,14 +838,14 @@ public class RoleExample {
...
@@ -928,14 +838,14 @@ public class RoleExample {
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andUpdateTimeEqualTo
(
LocalDateTim
e
value
)
{
public
Criteria
andUpdateTimeEqualTo
(
Dat
e
value
)
{
addCriterion
(
"update_time ="
,
value
,
"updateTime"
);
addCriterion
(
"update_time ="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -945,14 +855,14 @@ public class RoleExample {
...
@@ -945,14 +855,14 @@ public class RoleExample {
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andUpdateTimeNotEqualTo
(
LocalDateTim
e
value
)
{
public
Criteria
andUpdateTimeNotEqualTo
(
Dat
e
value
)
{
addCriterion
(
"update_time <>"
,
value
,
"updateTime"
);
addCriterion
(
"update_time <>"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -962,14 +872,14 @@ public class RoleExample {
...
@@ -962,14 +872,14 @@ public class RoleExample {
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andUpdateTimeGreaterThan
(
LocalDateTim
e
value
)
{
public
Criteria
andUpdateTimeGreaterThan
(
Dat
e
value
)
{
addCriterion
(
"update_time >"
,
value
,
"updateTime"
);
addCriterion
(
"update_time >"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -979,14 +889,14 @@ public class RoleExample {
...
@@ -979,14 +889,14 @@ public class RoleExample {
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andUpdateTimeGreaterThanOrEqualTo
(
LocalDateTim
e
value
)
{
public
Criteria
andUpdateTimeGreaterThanOrEqualTo
(
Dat
e
value
)
{
addCriterion
(
"update_time >="
,
value
,
"updateTime"
);
addCriterion
(
"update_time >="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -996,14 +906,14 @@ public class RoleExample {
...
@@ -996,14 +906,14 @@ public class RoleExample {
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andUpdateTimeLessThan
(
LocalDateTim
e
value
)
{
public
Criteria
andUpdateTimeLessThan
(
Dat
e
value
)
{
addCriterion
(
"update_time <"
,
value
,
"updateTime"
);
addCriterion
(
"update_time <"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -1013,14 +923,14 @@ public class RoleExample {
...
@@ -1013,14 +923,14 @@ public class RoleExample {
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andUpdateTimeLessThanOrEqualTo
(
LocalDateTim
e
value
)
{
public
Criteria
andUpdateTimeLessThanOrEqualTo
(
Dat
e
value
)
{
addCriterion
(
"update_time <="
,
value
,
"updateTime"
);
addCriterion
(
"update_time <="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -1030,22 +940,22 @@ public class RoleExample {
...
@@ -1030,22 +940,22 @@ public class RoleExample {
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andUpdateTimeIn
(
List
<
LocalDateTim
e
>
values
)
{
public
Criteria
andUpdateTimeIn
(
List
<
Dat
e
>
values
)
{
addCriterion
(
"update_time in"
,
values
,
"updateTime"
);
addCriterion
(
"update_time in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andUpdateTimeNotIn
(
List
<
LocalDateTim
e
>
values
)
{
public
Criteria
andUpdateTimeNotIn
(
List
<
Dat
e
>
values
)
{
addCriterion
(
"update_time not in"
,
values
,
"updateTime"
);
addCriterion
(
"update_time not in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andUpdateTimeBetween
(
LocalDateTime
value1
,
LocalDateTim
e
value2
)
{
public
Criteria
andUpdateTimeBetween
(
Date
value1
,
Dat
e
value2
)
{
addCriterion
(
"update_time between"
,
value1
,
value2
,
"updateTime"
);
addCriterion
(
"update_time between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
public
Criteria
andUpdateTimeNotBetween
(
LocalDateTime
value1
,
LocalDateTim
e
value2
)
{
public
Criteria
andUpdateTimeNotBetween
(
Date
value1
,
Dat
e
value2
)
{
addCriterion
(
"update_time not between"
,
value1
,
value2
,
"updateTime"
);
addCriterion
(
"update_time not between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
return
(
Criteria
)
this
;
}
}
...
@@ -1067,7 +977,7 @@ public class RoleExample {
...
@@ -1067,7 +977,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -1084,7 +994,7 @@ public class RoleExample {
...
@@ -1084,7 +994,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -1101,7 +1011,7 @@ public class RoleExample {
...
@@ -1101,7 +1011,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -1118,7 +1028,7 @@ public class RoleExample {
...
@@ -1118,7 +1028,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -1135,7 +1045,7 @@ public class RoleExample {
...
@@ -1135,7 +1045,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -1152,7 +1062,7 @@ public class RoleExample {
...
@@ -1152,7 +1062,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -1183,16 +1093,10 @@ public class RoleExample {
...
@@ -1183,16 +1093,10 @@ public class RoleExample {
}
}
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table dts_role
*
* @mbg.generated do_not_delete_during_merge
*/
public
static
class
Criteria
extends
GeneratedCriteria
{
public
static
class
Criteria
extends
GeneratedCriteria
{
/**
/**
* This field was generated by MyBatis Generator.
* This field was generated by MyBatis Generator.
* This field corresponds to the database table
dts_
role
* This field corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -1201,7 +1105,7 @@ public class RoleExample {
...
@@ -1201,7 +1105,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -1213,7 +1117,7 @@ public class RoleExample {
...
@@ -1213,7 +1117,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -1224,7 +1128,7 @@ public class RoleExample {
...
@@ -1224,7 +1128,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -1238,7 +1142,7 @@ public class RoleExample {
...
@@ -1238,7 +1142,7 @@ public class RoleExample {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -1249,7 +1153,7 @@ public class RoleExample {
...
@@ -1249,7 +1153,7 @@ public class RoleExample {
/**
/**
* This interface was generated by MyBatis Generator.
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table
dts_
role
* This interface corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -1257,7 +1161,7 @@ public class RoleExample {
...
@@ -1257,7 +1161,7 @@ public class RoleExample {
public
interface
ICriteriaAdd
{
public
interface
ICriteriaAdd
{
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -1266,12 +1170,6 @@ public class RoleExample {
...
@@ -1266,12 +1170,6 @@ public class RoleExample {
}
}
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table dts_role
*
* @mbg.generated
*/
public
static
class
Criterion
{
public
static
class
Criterion
{
private
String
condition
;
private
String
condition
;
...
...
ch-dao/src/main/java/com/wwdz/ch/db/impl/dts/DtsRoleDaoImpl.java
View file @
6654f4ea
...
@@ -6,14 +6,12 @@ import com.wwdz.ch.db.dao.dts.DtsRoleDao;
...
@@ -6,14 +6,12 @@ import com.wwdz.ch.db.dao.dts.DtsRoleDao;
import
com.wwdz.ch.db.domain.Role
;
import
com.wwdz.ch.db.domain.Role
;
import
com.wwdz.ch.db.domain.RoleExample
;
import
com.wwdz.ch.db.domain.RoleExample
;
import
com.wwdz.ch.db.mapper.RoleMapper
;
import
com.wwdz.ch.db.mapper.RoleMapper
;
import
org.codehaus.plexus.util.dag.DAG
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.time.LocalDateTime
;
import
java.time.LocalDateTime
;
import
java.util.Arrays
;
import
java.util.*
;
import
java.util.HashSet
;
import
java.util.List
;
import
java.util.Set
;
@Service
@Service
public
class
DtsRoleDaoImpl
implements
DtsRoleDao
{
public
class
DtsRoleDaoImpl
implements
DtsRoleDao
{
...
@@ -64,8 +62,9 @@ public class DtsRoleDaoImpl implements DtsRoleDao {
...
@@ -64,8 +62,9 @@ public class DtsRoleDaoImpl implements DtsRoleDao {
@Override
@Override
public
void
add
(
Role
role
)
{
public
void
add
(
Role
role
)
{
role
.
setAddTime
(
LocalDateTime
.
now
());
Date
now
=
new
Date
();
role
.
setUpdateTime
(
LocalDateTime
.
now
());
role
.
setAddTime
(
now
);
role
.
setUpdateTime
(
now
);
roleMapper
.
insertSelective
(
role
);
roleMapper
.
insertSelective
(
role
);
}
}
...
@@ -76,7 +75,7 @@ public class DtsRoleDaoImpl implements DtsRoleDao {
...
@@ -76,7 +75,7 @@ public class DtsRoleDaoImpl implements DtsRoleDao {
@Override
@Override
public
void
updateById
(
Role
role
)
{
public
void
updateById
(
Role
role
)
{
role
.
setUpdateTime
(
LocalDateTime
.
now
());
role
.
setUpdateTime
(
new
Date
());
roleMapper
.
updateByPrimaryKeySelective
(
role
);
roleMapper
.
updateByPrimaryKeySelective
(
role
);
}
}
...
...
ch-dao/src/main/java/com/wwdz/ch/db/mapper/RoleMapper.java
View file @
6654f4ea
...
@@ -3,54 +3,22 @@ package com.wwdz.ch.db.mapper;
...
@@ -3,54 +3,22 @@ package com.wwdz.ch.db.mapper;
import
com.wwdz.ch.db.domain.Role
;
import
com.wwdz.ch.db.domain.Role
;
import
com.wwdz.ch.db.domain.RoleExample
;
import
com.wwdz.ch.db.domain.RoleExample
;
import
java.util.List
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
@Mapper
public
interface
RoleMapper
{
public
interface
RoleMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
long
countByExample
(
RoleExample
example
);
long
countByExample
(
RoleExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
int
deleteByExample
(
RoleExample
example
);
int
deleteByExample
(
RoleExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
int
deleteByPrimaryKey
(
Integer
id
);
int
deleteByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
int
insert
(
Role
record
);
int
insert
(
Role
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
int
insertSelective
(
Role
record
);
int
insertSelective
(
Role
record
);
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -59,7 +27,7 @@ public interface RoleMapper {
...
@@ -59,7 +27,7 @@ public interface RoleMapper {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -68,82 +36,46 @@ public interface RoleMapper {
...
@@ -68,82 +36,46 @@ public interface RoleMapper {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
*/
List
<
Role
>
selectByExampleSelective
(
@Param
(
"example"
)
RoleExample
example
,
@Param
(
"selective"
)
Role
.
Column
...
selective
);
List
<
Role
>
selectByExampleSelective
(
@Param
(
"example"
)
RoleExample
example
,
@Param
(
"selective"
)
Role
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
List
<
Role
>
selectByExample
(
RoleExample
example
);
List
<
Role
>
selectByExample
(
RoleExample
example
);
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
*/
Role
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
Role
.
Column
...
selective
);
Role
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
Role
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
Role
selectByPrimaryKey
(
Integer
id
);
Role
selectByPrimaryKey
(
Integer
id
);
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
*/
Role
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
Role
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
Role
record
,
@Param
(
"example"
)
RoleExample
example
);
int
updateByExampleSelective
(
@Param
(
"record"
)
Role
record
,
@Param
(
"example"
)
RoleExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
int
updateByExample
(
@Param
(
"record"
)
Role
record
,
@Param
(
"example"
)
RoleExample
example
);
int
updateByExample
(
@Param
(
"record"
)
Role
record
,
@Param
(
"example"
)
RoleExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
int
updateByPrimaryKeySelective
(
Role
record
);
int
updateByPrimaryKeySelective
(
Role
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dts_role
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
Role
record
);
int
updateByPrimaryKey
(
Role
record
);
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
@@ -152,7 +84,7 @@ public interface RoleMapper {
...
@@ -152,7 +84,7 @@ public interface RoleMapper {
/**
/**
* This method was generated by MyBatis Generator.
* This method was generated by MyBatis Generator.
* This method corresponds to the database table
dts_
role
* This method corresponds to the database table role
*
*
* @mbg.generated
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
* @project https://github.com/itfsw/mybatis-generator-plugin
...
...
ch-dao/src/main/resources/com/wwdz/ch/db/mapper/RoleMapper.xml
View file @
6654f4ea
...
@@ -2,10 +2,6 @@
...
@@ -2,10 +2,6 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.wwdz.ch.db.mapper.RoleMapper"
>
<mapper
namespace=
"com.wwdz.ch.db.mapper.RoleMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.wwdz.ch.db.domain.Role"
>
<resultMap
id=
"BaseResultMap"
type=
"com.wwdz.ch.db.domain.Role"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id
column=
"id"
jdbcType=
"INTEGER"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"INTEGER"
property=
"id"
/>
<result
column=
"name"
jdbcType=
"VARCHAR"
property=
"name"
/>
<result
column=
"name"
jdbcType=
"VARCHAR"
property=
"name"
/>
<result
column=
"desc"
jdbcType=
"VARCHAR"
property=
"desc"
/>
<result
column=
"desc"
jdbcType=
"VARCHAR"
property=
"desc"
/>
...
@@ -15,10 +11,6 @@
...
@@ -15,10 +11,6 @@
<result
column=
"deleted"
jdbcType=
"BIT"
property=
"deleted"
/>
<result
column=
"deleted"
jdbcType=
"BIT"
property=
"deleted"
/>
</resultMap>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<sql
id=
"Example_Where_Clause"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<where>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<if
test=
"criteria.valid"
>
...
@@ -48,10 +40,6 @@
...
@@ -48,10 +40,6 @@
</where>
</where>
</sql>
</sql>
<sql
id=
"Update_By_Example_Where_Clause"
>
<sql
id=
"Update_By_Example_Where_Clause"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<where>
<foreach
collection=
"example.oredCriteria"
item=
"criteria"
separator=
"or"
>
<foreach
collection=
"example.oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<if
test=
"criteria.valid"
>
...
@@ -81,21 +69,14 @@
...
@@ -81,21 +69,14 @@
</where>
</where>
</sql>
</sql>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
id, `name`, `desc`, enabled, add_time, update_time, deleted
id, `name`, `desc`, enabled, add_time, update_time, deleted
</sql>
</sql>
<select
id=
"selectByExample"
parameterType=
"com.wwdz.ch.db.domain.RoleExample"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByExample"
parameterType=
"com.wwdz.ch.db.domain.RoleExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
select
<if
test=
"distinct"
>
<if
test=
"distinct"
>
distinct
distinct
</if>
</if>
'true' as QUERYID,
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from role
from role
<if
test=
"_parameter != null"
>
<if
test=
"_parameter != null"
>
...
@@ -112,6 +93,7 @@
...
@@ -112,6 +93,7 @@
@project https://github.com/itfsw/mybatis-generator-plugin
@project https://github.com/itfsw/mybatis-generator-plugin
-->
-->
select
select
'true' as QUERYID,
<if
test=
"example.distinct"
>
<if
test=
"example.distinct"
>
distinct
distinct
</if>
</if>
...
@@ -134,10 +116,6 @@
...
@@ -134,10 +116,6 @@
</if>
</if>
</select>
</select>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Integer"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Integer"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from role
from role
...
@@ -149,10 +127,6 @@
...
@@ -149,10 +127,6 @@
This element is automatically generated by MyBatis Generator, do not modify.
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
@project https://github.com/itfsw/mybatis-generator-plugin
-->
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from role
from role
...
@@ -188,28 +162,16 @@
...
@@ -188,28 +162,16 @@
where id = #{id,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</select>
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Integer"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Integer"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from role
delete from role
where id = #{id,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</delete>
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.wwdz.ch.db.domain.RoleExample"
>
<delete
id=
"deleteByExample"
parameterType=
"com.wwdz.ch.db.domain.RoleExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from role
delete from role
<if
test=
"_parameter != null"
>
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
<include
refid=
"Example_Where_Clause"
/>
</if>
</if>
</delete>
</delete>
<insert
id=
"insert"
parameterType=
"com.wwdz.ch.db.domain.Role"
>
<insert
id=
"insert"
parameterType=
"com.wwdz.ch.db.domain.Role"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Integer"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Integer"
>
SELECT LAST_INSERT_ID()
SELECT LAST_INSERT_ID()
</selectKey>
</selectKey>
...
@@ -221,10 +183,6 @@
...
@@ -221,10 +183,6 @@
)
)
</insert>
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.wwdz.ch.db.domain.Role"
>
<insert
id=
"insertSelective"
parameterType=
"com.wwdz.ch.db.domain.Role"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Integer"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Integer"
>
SELECT LAST_INSERT_ID()
SELECT LAST_INSERT_ID()
</selectKey>
</selectKey>
...
@@ -271,20 +229,12 @@
...
@@ -271,20 +229,12 @@
</trim>
</trim>
</insert>
</insert>
<select
id=
"countByExample"
parameterType=
"com.wwdz.ch.db.domain.RoleExample"
resultType=
"java.lang.Long"
>
<select
id=
"countByExample"
parameterType=
"com.wwdz.ch.db.domain.RoleExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from role
select count(*) from role
<if
test=
"_parameter != null"
>
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
<include
refid=
"Example_Where_Clause"
/>
</if>
</if>
</select>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update role
update role
<set>
<set>
<if
test=
"record.id != null"
>
<if
test=
"record.id != null"
>
...
@@ -314,10 +264,6 @@
...
@@ -314,10 +264,6 @@
</if>
</if>
</update>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
<update
id=
"updateByExample"
parameterType=
"map"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update role
update role
set id = #{record.id,jdbcType=INTEGER},
set id = #{record.id,jdbcType=INTEGER},
`name` = #{record.name,jdbcType=VARCHAR},
`name` = #{record.name,jdbcType=VARCHAR},
...
@@ -331,10 +277,6 @@
...
@@ -331,10 +277,6 @@
</if>
</if>
</update>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.wwdz.ch.db.domain.Role"
>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.wwdz.ch.db.domain.Role"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update role
update role
<set>
<set>
<if
test=
"name != null"
>
<if
test=
"name != null"
>
...
@@ -359,10 +301,6 @@
...
@@ -359,10 +301,6 @@
where id = #{id,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</update>
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.wwdz.ch.db.domain.Role"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.wwdz.ch.db.domain.Role"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update role
update role
set `name` = #{name,jdbcType=VARCHAR},
set `name` = #{name,jdbcType=VARCHAR},
`desc` = #{desc,jdbcType=VARCHAR},
`desc` = #{desc,jdbcType=VARCHAR},
...
@@ -379,6 +317,7 @@
...
@@ -379,6 +317,7 @@
@project https://github.com/itfsw/mybatis-generator-plugin
@project https://github.com/itfsw/mybatis-generator-plugin
-->
-->
select
select
'true' as QUERYID,
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from role
from role
<if
test=
"_parameter != null"
>
<if
test=
"_parameter != null"
>
...
@@ -396,6 +335,7 @@
...
@@ -396,6 +335,7 @@
@project https://github.com/itfsw/mybatis-generator-plugin
@project https://github.com/itfsw/mybatis-generator-plugin
-->
-->
select
select
'true' as QUERYID,
<choose>
<choose>
<when
test=
"selective != null and selective.length > 0"
>
<when
test=
"selective != null and selective.length > 0"
>
<foreach
collection=
"selective"
item=
"column"
separator=
","
>
<foreach
collection=
"selective"
item=
"column"
separator=
","
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment