Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
ZhangKuan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张宽
ZhangKuan
Commits
31062397
Commit
31062397
authored
Mar 23, 2018
by
=
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
d5f2b06c
Changes
16
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
0 additions
and
8953 deletions
+0
-8953
CcDutyMapper.java
...m/haomostudio/zhangjiakouapibackend/dao/CcDutyMapper.java
+0
-105
CcDutyPlanMapper.java
...omostudio/zhangjiakouapibackend/dao/CcDutyPlanMapper.java
+0
-105
CcMemorandumMapper.java
...ostudio/zhangjiakouapibackend/dao/CcMemorandumMapper.java
+0
-105
CcShiftMapper.java
.../haomostudio/zhangjiakouapibackend/dao/CcShiftMapper.java
+0
-105
CcDuty.java
...java/com/haomostudio/zhangjiakouapibackend/po/CcDuty.java
+0
-769
CcDutyExample.java
...m/haomostudio/zhangjiakouapibackend/po/CcDutyExample.java
+0
-1803
CcDutyPlan.java
.../com/haomostudio/zhangjiakouapibackend/po/CcDutyPlan.java
+0
-259
CcDutyPlanExample.java
...omostudio/zhangjiakouapibackend/po/CcDutyPlanExample.java
+0
-773
CcMemorandum.java
...om/haomostudio/zhangjiakouapibackend/po/CcMemorandum.java
+0
-327
CcMemorandumExample.java
...ostudio/zhangjiakouapibackend/po/CcMemorandumExample.java
+0
-893
CcShift.java
...ava/com/haomostudio/zhangjiakouapibackend/po/CcShift.java
+0
-565
CcShiftExample.java
.../haomostudio/zhangjiakouapibackend/po/CcShiftExample.java
+0
-1383
CcDutyMapper.xml
...is/com/haomostudio/zhangjiakouapibackend/CcDutyMapper.xml
+0
-574
CcDutyPlanMapper.xml
...om/haomostudio/zhangjiakouapibackend/CcDutyPlanMapper.xml
+0
-337
CcMemorandumMapper.xml
.../haomostudio/zhangjiakouapibackend/CcMemorandumMapper.xml
+0
-370
CcShiftMapper.xml
...s/com/haomostudio/zhangjiakouapibackend/CcShiftMapper.xml
+0
-480
No files found.
dao/src/main/java/com/haomostudio/zhangjiakouapibackend/dao/CcDutyMapper.java
deleted
100644 → 0
View file @
d5f2b06c
package
com
.
haomostudio
.
zhangjiakouapibackend
.
dao
;
import
com.haomostudio.zhangjiakouapibackend.po.CcDuty
;
import
com.haomostudio.zhangjiakouapibackend.po.CcDutyExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.session.RowBounds
;
public
interface
CcDutyMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
long
countByExample
(
CcDutyExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
deleteByExample
(
CcDutyExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
deleteByPrimaryKey
(
String
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
insert
(
CcDuty
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
insertSelective
(
CcDuty
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
List
<
CcDuty
>
selectByExampleWithRowbounds
(
CcDutyExample
example
,
RowBounds
rowBounds
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
List
<
CcDuty
>
selectByExample
(
CcDutyExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
CcDuty
selectByPrimaryKey
(
String
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
CcDuty
record
,
@Param
(
"example"
)
CcDutyExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
updateByExample
(
@Param
(
"record"
)
CcDuty
record
,
@Param
(
"example"
)
CcDutyExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
updateByPrimaryKeySelective
(
CcDuty
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
updateByPrimaryKey
(
CcDuty
record
);
}
\ No newline at end of file
dao/src/main/java/com/haomostudio/zhangjiakouapibackend/dao/CcDutyPlanMapper.java
deleted
100644 → 0
View file @
d5f2b06c
package
com
.
haomostudio
.
zhangjiakouapibackend
.
dao
;
import
com.haomostudio.zhangjiakouapibackend.po.CcDutyPlan
;
import
com.haomostudio.zhangjiakouapibackend.po.CcDutyPlanExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.session.RowBounds
;
public
interface
CcDutyPlanMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
long
countByExample
(
CcDutyPlanExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
deleteByExample
(
CcDutyPlanExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
deleteByPrimaryKey
(
String
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
insert
(
CcDutyPlan
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
insertSelective
(
CcDutyPlan
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
List
<
CcDutyPlan
>
selectByExampleWithRowbounds
(
CcDutyPlanExample
example
,
RowBounds
rowBounds
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
List
<
CcDutyPlan
>
selectByExample
(
CcDutyPlanExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
CcDutyPlan
selectByPrimaryKey
(
String
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
CcDutyPlan
record
,
@Param
(
"example"
)
CcDutyPlanExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
updateByExample
(
@Param
(
"record"
)
CcDutyPlan
record
,
@Param
(
"example"
)
CcDutyPlanExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
updateByPrimaryKeySelective
(
CcDutyPlan
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
updateByPrimaryKey
(
CcDutyPlan
record
);
}
\ No newline at end of file
dao/src/main/java/com/haomostudio/zhangjiakouapibackend/dao/CcMemorandumMapper.java
deleted
100644 → 0
View file @
d5f2b06c
package
com
.
haomostudio
.
zhangjiakouapibackend
.
dao
;
import
com.haomostudio.zhangjiakouapibackend.po.CcMemorandum
;
import
com.haomostudio.zhangjiakouapibackend.po.CcMemorandumExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.session.RowBounds
;
public
interface
CcMemorandumMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
long
countByExample
(
CcMemorandumExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
deleteByExample
(
CcMemorandumExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
deleteByPrimaryKey
(
String
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
insert
(
CcMemorandum
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
insertSelective
(
CcMemorandum
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
List
<
CcMemorandum
>
selectByExampleWithRowbounds
(
CcMemorandumExample
example
,
RowBounds
rowBounds
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
List
<
CcMemorandum
>
selectByExample
(
CcMemorandumExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
CcMemorandum
selectByPrimaryKey
(
String
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
CcMemorandum
record
,
@Param
(
"example"
)
CcMemorandumExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
updateByExample
(
@Param
(
"record"
)
CcMemorandum
record
,
@Param
(
"example"
)
CcMemorandumExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
updateByPrimaryKeySelective
(
CcMemorandum
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
updateByPrimaryKey
(
CcMemorandum
record
);
}
\ No newline at end of file
dao/src/main/java/com/haomostudio/zhangjiakouapibackend/dao/CcShiftMapper.java
deleted
100644 → 0
View file @
d5f2b06c
package
com
.
haomostudio
.
zhangjiakouapibackend
.
dao
;
import
com.haomostudio.zhangjiakouapibackend.po.CcShift
;
import
com.haomostudio.zhangjiakouapibackend.po.CcShiftExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.session.RowBounds
;
public
interface
CcShiftMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
long
countByExample
(
CcShiftExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
deleteByExample
(
CcShiftExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
deleteByPrimaryKey
(
String
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
insert
(
CcShift
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
insertSelective
(
CcShift
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
List
<
CcShift
>
selectByExampleWithRowbounds
(
CcShiftExample
example
,
RowBounds
rowBounds
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
List
<
CcShift
>
selectByExample
(
CcShiftExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
CcShift
selectByPrimaryKey
(
String
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
CcShift
record
,
@Param
(
"example"
)
CcShiftExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
updateByExample
(
@Param
(
"record"
)
CcShift
record
,
@Param
(
"example"
)
CcShiftExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
updateByPrimaryKeySelective
(
CcShift
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
int
updateByPrimaryKey
(
CcShift
record
);
}
\ No newline at end of file
domain/src/main/java/com/haomostudio/zhangjiakouapibackend/po/CcDuty.java
deleted
100644 → 0
View file @
d5f2b06c
package
com
.
haomostudio
.
zhangjiakouapibackend
.
po
;
import
java.util.Date
;
public
class
CcDuty
{
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
id
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.class_leaders_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
classLeadersId
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.class_leaders
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
classLeaders
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.department
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
department
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.post_leaders
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
postLeaders
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.morning
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
morning
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.noon
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
noon
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.evening
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
evening
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.watch_people
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
watchPeople
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.type
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
type
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.duty_date
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
dutyDate
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.end_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
Date
endTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.start_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
Date
startTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.create_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
Date
createTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.last_update_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
Date
lastUpdateTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.on_duty_plan_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
onDutyPlanId
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.duty_stage
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
dutyStage
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.post_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
postDuty
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.remark
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
remark
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.number_days
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
numberDays
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.holiday
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
holiday
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty.holiday_name
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
holidayName
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.id
*
* @return the value of cc_duty.id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.id
*
* @param id the value for cc_duty.id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setId
(
String
id
)
{
this
.
id
=
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.class_leaders_id
*
* @return the value of cc_duty.class_leaders_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getClassLeadersId
()
{
return
classLeadersId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.class_leaders_id
*
* @param classLeadersId the value for cc_duty.class_leaders_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setClassLeadersId
(
String
classLeadersId
)
{
this
.
classLeadersId
=
classLeadersId
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.class_leaders
*
* @return the value of cc_duty.class_leaders
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getClassLeaders
()
{
return
classLeaders
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.class_leaders
*
* @param classLeaders the value for cc_duty.class_leaders
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setClassLeaders
(
String
classLeaders
)
{
this
.
classLeaders
=
classLeaders
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.department
*
* @return the value of cc_duty.department
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getDepartment
()
{
return
department
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.department
*
* @param department the value for cc_duty.department
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setDepartment
(
String
department
)
{
this
.
department
=
department
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.post_leaders
*
* @return the value of cc_duty.post_leaders
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getPostLeaders
()
{
return
postLeaders
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.post_leaders
*
* @param postLeaders the value for cc_duty.post_leaders
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setPostLeaders
(
String
postLeaders
)
{
this
.
postLeaders
=
postLeaders
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.morning
*
* @return the value of cc_duty.morning
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getMorning
()
{
return
morning
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.morning
*
* @param morning the value for cc_duty.morning
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setMorning
(
String
morning
)
{
this
.
morning
=
morning
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.noon
*
* @return the value of cc_duty.noon
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getNoon
()
{
return
noon
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.noon
*
* @param noon the value for cc_duty.noon
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setNoon
(
String
noon
)
{
this
.
noon
=
noon
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.evening
*
* @return the value of cc_duty.evening
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getEvening
()
{
return
evening
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.evening
*
* @param evening the value for cc_duty.evening
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setEvening
(
String
evening
)
{
this
.
evening
=
evening
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.watch_people
*
* @return the value of cc_duty.watch_people
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getWatchPeople
()
{
return
watchPeople
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.watch_people
*
* @param watchPeople the value for cc_duty.watch_people
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setWatchPeople
(
String
watchPeople
)
{
this
.
watchPeople
=
watchPeople
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.type
*
* @return the value of cc_duty.type
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getType
()
{
return
type
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.type
*
* @param type the value for cc_duty.type
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setType
(
String
type
)
{
this
.
type
=
type
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.duty_date
*
* @return the value of cc_duty.duty_date
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getDutyDate
()
{
return
dutyDate
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.duty_date
*
* @param dutyDate the value for cc_duty.duty_date
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setDutyDate
(
String
dutyDate
)
{
this
.
dutyDate
=
dutyDate
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.end_time
*
* @return the value of cc_duty.end_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Date
getEndTime
()
{
return
endTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.end_time
*
* @param endTime the value for cc_duty.end_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setEndTime
(
Date
endTime
)
{
this
.
endTime
=
endTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.start_time
*
* @return the value of cc_duty.start_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Date
getStartTime
()
{
return
startTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.start_time
*
* @param startTime the value for cc_duty.start_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setStartTime
(
Date
startTime
)
{
this
.
startTime
=
startTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.create_time
*
* @return the value of cc_duty.create_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Date
getCreateTime
()
{
return
createTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.create_time
*
* @param createTime the value for cc_duty.create_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.last_update_time
*
* @return the value of cc_duty.last_update_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Date
getLastUpdateTime
()
{
return
lastUpdateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.last_update_time
*
* @param lastUpdateTime the value for cc_duty.last_update_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setLastUpdateTime
(
Date
lastUpdateTime
)
{
this
.
lastUpdateTime
=
lastUpdateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.on_duty_plan_id
*
* @return the value of cc_duty.on_duty_plan_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getOnDutyPlanId
()
{
return
onDutyPlanId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.on_duty_plan_id
*
* @param onDutyPlanId the value for cc_duty.on_duty_plan_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setOnDutyPlanId
(
String
onDutyPlanId
)
{
this
.
onDutyPlanId
=
onDutyPlanId
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.duty_stage
*
* @return the value of cc_duty.duty_stage
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getDutyStage
()
{
return
dutyStage
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.duty_stage
*
* @param dutyStage the value for cc_duty.duty_stage
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setDutyStage
(
String
dutyStage
)
{
this
.
dutyStage
=
dutyStage
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.post_duty
*
* @return the value of cc_duty.post_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getPostDuty
()
{
return
postDuty
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.post_duty
*
* @param postDuty the value for cc_duty.post_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setPostDuty
(
String
postDuty
)
{
this
.
postDuty
=
postDuty
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.remark
*
* @return the value of cc_duty.remark
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getRemark
()
{
return
remark
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.remark
*
* @param remark the value for cc_duty.remark
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.number_days
*
* @return the value of cc_duty.number_days
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getNumberDays
()
{
return
numberDays
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.number_days
*
* @param numberDays the value for cc_duty.number_days
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setNumberDays
(
String
numberDays
)
{
this
.
numberDays
=
numberDays
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.holiday
*
* @return the value of cc_duty.holiday
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getHoliday
()
{
return
holiday
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.holiday
*
* @param holiday the value for cc_duty.holiday
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setHoliday
(
String
holiday
)
{
this
.
holiday
=
holiday
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty.holiday_name
*
* @return the value of cc_duty.holiday_name
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getHolidayName
()
{
return
holidayName
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty.holiday_name
*
* @param holidayName the value for cc_duty.holiday_name
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setHolidayName
(
String
holidayName
)
{
this
.
holidayName
=
holidayName
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
getClass
().
getSimpleName
());
sb
.
append
(
" ["
);
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", id="
).
append
(
id
);
sb
.
append
(
", classLeadersId="
).
append
(
classLeadersId
);
sb
.
append
(
", classLeaders="
).
append
(
classLeaders
);
sb
.
append
(
", department="
).
append
(
department
);
sb
.
append
(
", postLeaders="
).
append
(
postLeaders
);
sb
.
append
(
", morning="
).
append
(
morning
);
sb
.
append
(
", noon="
).
append
(
noon
);
sb
.
append
(
", evening="
).
append
(
evening
);
sb
.
append
(
", watchPeople="
).
append
(
watchPeople
);
sb
.
append
(
", type="
).
append
(
type
);
sb
.
append
(
", dutyDate="
).
append
(
dutyDate
);
sb
.
append
(
", endTime="
).
append
(
endTime
);
sb
.
append
(
", startTime="
).
append
(
startTime
);
sb
.
append
(
", createTime="
).
append
(
createTime
);
sb
.
append
(
", lastUpdateTime="
).
append
(
lastUpdateTime
);
sb
.
append
(
", onDutyPlanId="
).
append
(
onDutyPlanId
);
sb
.
append
(
", dutyStage="
).
append
(
dutyStage
);
sb
.
append
(
", postDuty="
).
append
(
postDuty
);
sb
.
append
(
", remark="
).
append
(
remark
);
sb
.
append
(
", numberDays="
).
append
(
numberDays
);
sb
.
append
(
", holiday="
).
append
(
holiday
);
sb
.
append
(
", holidayName="
).
append
(
holidayName
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
domain/src/main/java/com/haomostudio/zhangjiakouapibackend/po/CcDutyExample.java
deleted
100644 → 0
View file @
d5f2b06c
package
com
.
haomostudio
.
zhangjiakouapibackend
.
po
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
public
class
CcDutyExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
CcDutyExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
String
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
String
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
String
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
String
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLike
(
String
value
)
{
addCriterion
(
"id like"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotLike
(
String
value
)
{
addCriterion
(
"id not like"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersIdIsNull
()
{
addCriterion
(
"class_leaders_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersIdIsNotNull
()
{
addCriterion
(
"class_leaders_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersIdEqualTo
(
String
value
)
{
addCriterion
(
"class_leaders_id ="
,
value
,
"classLeadersId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersIdNotEqualTo
(
String
value
)
{
addCriterion
(
"class_leaders_id <>"
,
value
,
"classLeadersId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersIdGreaterThan
(
String
value
)
{
addCriterion
(
"class_leaders_id >"
,
value
,
"classLeadersId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"class_leaders_id >="
,
value
,
"classLeadersId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersIdLessThan
(
String
value
)
{
addCriterion
(
"class_leaders_id <"
,
value
,
"classLeadersId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"class_leaders_id <="
,
value
,
"classLeadersId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersIdLike
(
String
value
)
{
addCriterion
(
"class_leaders_id like"
,
value
,
"classLeadersId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersIdNotLike
(
String
value
)
{
addCriterion
(
"class_leaders_id not like"
,
value
,
"classLeadersId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"class_leaders_id in"
,
values
,
"classLeadersId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"class_leaders_id not in"
,
values
,
"classLeadersId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"class_leaders_id between"
,
value1
,
value2
,
"classLeadersId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"class_leaders_id not between"
,
value1
,
value2
,
"classLeadersId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersIsNull
()
{
addCriterion
(
"class_leaders is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersIsNotNull
()
{
addCriterion
(
"class_leaders is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersEqualTo
(
String
value
)
{
addCriterion
(
"class_leaders ="
,
value
,
"classLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersNotEqualTo
(
String
value
)
{
addCriterion
(
"class_leaders <>"
,
value
,
"classLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersGreaterThan
(
String
value
)
{
addCriterion
(
"class_leaders >"
,
value
,
"classLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"class_leaders >="
,
value
,
"classLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersLessThan
(
String
value
)
{
addCriterion
(
"class_leaders <"
,
value
,
"classLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"class_leaders <="
,
value
,
"classLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersLike
(
String
value
)
{
addCriterion
(
"class_leaders like"
,
value
,
"classLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersNotLike
(
String
value
)
{
addCriterion
(
"class_leaders not like"
,
value
,
"classLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersIn
(
List
<
String
>
values
)
{
addCriterion
(
"class_leaders in"
,
values
,
"classLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"class_leaders not in"
,
values
,
"classLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"class_leaders between"
,
value1
,
value2
,
"classLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClassLeadersNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"class_leaders not between"
,
value1
,
value2
,
"classLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentIsNull
()
{
addCriterion
(
"department is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentIsNotNull
()
{
addCriterion
(
"department is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentEqualTo
(
String
value
)
{
addCriterion
(
"department ="
,
value
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentNotEqualTo
(
String
value
)
{
addCriterion
(
"department <>"
,
value
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentGreaterThan
(
String
value
)
{
addCriterion
(
"department >"
,
value
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"department >="
,
value
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentLessThan
(
String
value
)
{
addCriterion
(
"department <"
,
value
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"department <="
,
value
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentLike
(
String
value
)
{
addCriterion
(
"department like"
,
value
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentNotLike
(
String
value
)
{
addCriterion
(
"department not like"
,
value
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentIn
(
List
<
String
>
values
)
{
addCriterion
(
"department in"
,
values
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"department not in"
,
values
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"department between"
,
value1
,
value2
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"department not between"
,
value1
,
value2
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostLeadersIsNull
()
{
addCriterion
(
"post_leaders is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostLeadersIsNotNull
()
{
addCriterion
(
"post_leaders is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostLeadersEqualTo
(
String
value
)
{
addCriterion
(
"post_leaders ="
,
value
,
"postLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostLeadersNotEqualTo
(
String
value
)
{
addCriterion
(
"post_leaders <>"
,
value
,
"postLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostLeadersGreaterThan
(
String
value
)
{
addCriterion
(
"post_leaders >"
,
value
,
"postLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostLeadersGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"post_leaders >="
,
value
,
"postLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostLeadersLessThan
(
String
value
)
{
addCriterion
(
"post_leaders <"
,
value
,
"postLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostLeadersLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"post_leaders <="
,
value
,
"postLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostLeadersLike
(
String
value
)
{
addCriterion
(
"post_leaders like"
,
value
,
"postLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostLeadersNotLike
(
String
value
)
{
addCriterion
(
"post_leaders not like"
,
value
,
"postLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostLeadersIn
(
List
<
String
>
values
)
{
addCriterion
(
"post_leaders in"
,
values
,
"postLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostLeadersNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"post_leaders not in"
,
values
,
"postLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostLeadersBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"post_leaders between"
,
value1
,
value2
,
"postLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostLeadersNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"post_leaders not between"
,
value1
,
value2
,
"postLeaders"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMorningIsNull
()
{
addCriterion
(
"morning is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMorningIsNotNull
()
{
addCriterion
(
"morning is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMorningEqualTo
(
String
value
)
{
addCriterion
(
"morning ="
,
value
,
"morning"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMorningNotEqualTo
(
String
value
)
{
addCriterion
(
"morning <>"
,
value
,
"morning"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMorningGreaterThan
(
String
value
)
{
addCriterion
(
"morning >"
,
value
,
"morning"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMorningGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"morning >="
,
value
,
"morning"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMorningLessThan
(
String
value
)
{
addCriterion
(
"morning <"
,
value
,
"morning"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMorningLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"morning <="
,
value
,
"morning"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMorningLike
(
String
value
)
{
addCriterion
(
"morning like"
,
value
,
"morning"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMorningNotLike
(
String
value
)
{
addCriterion
(
"morning not like"
,
value
,
"morning"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMorningIn
(
List
<
String
>
values
)
{
addCriterion
(
"morning in"
,
values
,
"morning"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMorningNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"morning not in"
,
values
,
"morning"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMorningBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"morning between"
,
value1
,
value2
,
"morning"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMorningNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"morning not between"
,
value1
,
value2
,
"morning"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNoonIsNull
()
{
addCriterion
(
"noon is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNoonIsNotNull
()
{
addCriterion
(
"noon is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNoonEqualTo
(
String
value
)
{
addCriterion
(
"noon ="
,
value
,
"noon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNoonNotEqualTo
(
String
value
)
{
addCriterion
(
"noon <>"
,
value
,
"noon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNoonGreaterThan
(
String
value
)
{
addCriterion
(
"noon >"
,
value
,
"noon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNoonGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"noon >="
,
value
,
"noon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNoonLessThan
(
String
value
)
{
addCriterion
(
"noon <"
,
value
,
"noon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNoonLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"noon <="
,
value
,
"noon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNoonLike
(
String
value
)
{
addCriterion
(
"noon like"
,
value
,
"noon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNoonNotLike
(
String
value
)
{
addCriterion
(
"noon not like"
,
value
,
"noon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNoonIn
(
List
<
String
>
values
)
{
addCriterion
(
"noon in"
,
values
,
"noon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNoonNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"noon not in"
,
values
,
"noon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNoonBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"noon between"
,
value1
,
value2
,
"noon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNoonNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"noon not between"
,
value1
,
value2
,
"noon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEveningIsNull
()
{
addCriterion
(
"evening is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEveningIsNotNull
()
{
addCriterion
(
"evening is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEveningEqualTo
(
String
value
)
{
addCriterion
(
"evening ="
,
value
,
"evening"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEveningNotEqualTo
(
String
value
)
{
addCriterion
(
"evening <>"
,
value
,
"evening"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEveningGreaterThan
(
String
value
)
{
addCriterion
(
"evening >"
,
value
,
"evening"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEveningGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"evening >="
,
value
,
"evening"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEveningLessThan
(
String
value
)
{
addCriterion
(
"evening <"
,
value
,
"evening"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEveningLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"evening <="
,
value
,
"evening"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEveningLike
(
String
value
)
{
addCriterion
(
"evening like"
,
value
,
"evening"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEveningNotLike
(
String
value
)
{
addCriterion
(
"evening not like"
,
value
,
"evening"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEveningIn
(
List
<
String
>
values
)
{
addCriterion
(
"evening in"
,
values
,
"evening"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEveningNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"evening not in"
,
values
,
"evening"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEveningBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"evening between"
,
value1
,
value2
,
"evening"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEveningNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"evening not between"
,
value1
,
value2
,
"evening"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWatchPeopleIsNull
()
{
addCriterion
(
"watch_people is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWatchPeopleIsNotNull
()
{
addCriterion
(
"watch_people is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWatchPeopleEqualTo
(
String
value
)
{
addCriterion
(
"watch_people ="
,
value
,
"watchPeople"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWatchPeopleNotEqualTo
(
String
value
)
{
addCriterion
(
"watch_people <>"
,
value
,
"watchPeople"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWatchPeopleGreaterThan
(
String
value
)
{
addCriterion
(
"watch_people >"
,
value
,
"watchPeople"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWatchPeopleGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"watch_people >="
,
value
,
"watchPeople"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWatchPeopleLessThan
(
String
value
)
{
addCriterion
(
"watch_people <"
,
value
,
"watchPeople"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWatchPeopleLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"watch_people <="
,
value
,
"watchPeople"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWatchPeopleLike
(
String
value
)
{
addCriterion
(
"watch_people like"
,
value
,
"watchPeople"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWatchPeopleNotLike
(
String
value
)
{
addCriterion
(
"watch_people not like"
,
value
,
"watchPeople"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWatchPeopleIn
(
List
<
String
>
values
)
{
addCriterion
(
"watch_people in"
,
values
,
"watchPeople"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWatchPeopleNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"watch_people not in"
,
values
,
"watchPeople"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWatchPeopleBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"watch_people between"
,
value1
,
value2
,
"watchPeople"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWatchPeopleNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"watch_people not between"
,
value1
,
value2
,
"watchPeople"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNull
()
{
addCriterion
(
"type is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNotNull
()
{
addCriterion
(
"type is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeEqualTo
(
String
value
)
{
addCriterion
(
"type ="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotEqualTo
(
String
value
)
{
addCriterion
(
"type <>"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThan
(
String
value
)
{
addCriterion
(
"type >"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"type >="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThan
(
String
value
)
{
addCriterion
(
"type <"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"type <="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLike
(
String
value
)
{
addCriterion
(
"type like"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotLike
(
String
value
)
{
addCriterion
(
"type not like"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIn
(
List
<
String
>
values
)
{
addCriterion
(
"type in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"type not in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"type between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"type not between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyDateIsNull
()
{
addCriterion
(
"duty_date is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyDateIsNotNull
()
{
addCriterion
(
"duty_date is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyDateEqualTo
(
String
value
)
{
addCriterion
(
"duty_date ="
,
value
,
"dutyDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyDateNotEqualTo
(
String
value
)
{
addCriterion
(
"duty_date <>"
,
value
,
"dutyDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyDateGreaterThan
(
String
value
)
{
addCriterion
(
"duty_date >"
,
value
,
"dutyDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyDateGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"duty_date >="
,
value
,
"dutyDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyDateLessThan
(
String
value
)
{
addCriterion
(
"duty_date <"
,
value
,
"dutyDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyDateLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"duty_date <="
,
value
,
"dutyDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyDateLike
(
String
value
)
{
addCriterion
(
"duty_date like"
,
value
,
"dutyDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyDateNotLike
(
String
value
)
{
addCriterion
(
"duty_date not like"
,
value
,
"dutyDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyDateIn
(
List
<
String
>
values
)
{
addCriterion
(
"duty_date in"
,
values
,
"dutyDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyDateNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"duty_date not in"
,
values
,
"dutyDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyDateBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"duty_date between"
,
value1
,
value2
,
"dutyDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyDateNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"duty_date not between"
,
value1
,
value2
,
"dutyDate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeIsNull
()
{
addCriterion
(
"end_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeIsNotNull
()
{
addCriterion
(
"end_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeEqualTo
(
Date
value
)
{
addCriterion
(
"end_time ="
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"end_time <>"
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"end_time >"
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"end_time >="
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeLessThan
(
Date
value
)
{
addCriterion
(
"end_time <"
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"end_time <="
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"end_time in"
,
values
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"end_time not in"
,
values
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"end_time between"
,
value1
,
value2
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"end_time not between"
,
value1
,
value2
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeIsNull
()
{
addCriterion
(
"start_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeIsNotNull
()
{
addCriterion
(
"start_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeEqualTo
(
Date
value
)
{
addCriterion
(
"start_time ="
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"start_time <>"
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"start_time >"
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"start_time >="
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeLessThan
(
Date
value
)
{
addCriterion
(
"start_time <"
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"start_time <="
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"start_time in"
,
values
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"start_time not in"
,
values
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"start_time between"
,
value1
,
value2
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"start_time not between"
,
value1
,
value2
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"create_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNotNull
()
{
addCriterion
(
"create_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"create_time ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"create_time >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
Date
value
)
{
addCriterion
(
"create_time <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeIsNull
()
{
addCriterion
(
"last_update_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeIsNotNull
()
{
addCriterion
(
"last_update_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"last_update_time ="
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"last_update_time <>"
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"last_update_time >"
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"last_update_time >="
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeLessThan
(
Date
value
)
{
addCriterion
(
"last_update_time <"
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"last_update_time <="
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"last_update_time in"
,
values
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"last_update_time not in"
,
values
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"last_update_time between"
,
value1
,
value2
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"last_update_time not between"
,
value1
,
value2
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOnDutyPlanIdIsNull
()
{
addCriterion
(
"on_duty_plan_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOnDutyPlanIdIsNotNull
()
{
addCriterion
(
"on_duty_plan_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOnDutyPlanIdEqualTo
(
String
value
)
{
addCriterion
(
"on_duty_plan_id ="
,
value
,
"onDutyPlanId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOnDutyPlanIdNotEqualTo
(
String
value
)
{
addCriterion
(
"on_duty_plan_id <>"
,
value
,
"onDutyPlanId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOnDutyPlanIdGreaterThan
(
String
value
)
{
addCriterion
(
"on_duty_plan_id >"
,
value
,
"onDutyPlanId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOnDutyPlanIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"on_duty_plan_id >="
,
value
,
"onDutyPlanId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOnDutyPlanIdLessThan
(
String
value
)
{
addCriterion
(
"on_duty_plan_id <"
,
value
,
"onDutyPlanId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOnDutyPlanIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"on_duty_plan_id <="
,
value
,
"onDutyPlanId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOnDutyPlanIdLike
(
String
value
)
{
addCriterion
(
"on_duty_plan_id like"
,
value
,
"onDutyPlanId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOnDutyPlanIdNotLike
(
String
value
)
{
addCriterion
(
"on_duty_plan_id not like"
,
value
,
"onDutyPlanId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOnDutyPlanIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"on_duty_plan_id in"
,
values
,
"onDutyPlanId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOnDutyPlanIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"on_duty_plan_id not in"
,
values
,
"onDutyPlanId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOnDutyPlanIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"on_duty_plan_id between"
,
value1
,
value2
,
"onDutyPlanId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOnDutyPlanIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"on_duty_plan_id not between"
,
value1
,
value2
,
"onDutyPlanId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyStageIsNull
()
{
addCriterion
(
"duty_stage is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyStageIsNotNull
()
{
addCriterion
(
"duty_stage is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyStageEqualTo
(
String
value
)
{
addCriterion
(
"duty_stage ="
,
value
,
"dutyStage"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyStageNotEqualTo
(
String
value
)
{
addCriterion
(
"duty_stage <>"
,
value
,
"dutyStage"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyStageGreaterThan
(
String
value
)
{
addCriterion
(
"duty_stage >"
,
value
,
"dutyStage"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyStageGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"duty_stage >="
,
value
,
"dutyStage"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyStageLessThan
(
String
value
)
{
addCriterion
(
"duty_stage <"
,
value
,
"dutyStage"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyStageLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"duty_stage <="
,
value
,
"dutyStage"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyStageLike
(
String
value
)
{
addCriterion
(
"duty_stage like"
,
value
,
"dutyStage"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyStageNotLike
(
String
value
)
{
addCriterion
(
"duty_stage not like"
,
value
,
"dutyStage"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyStageIn
(
List
<
String
>
values
)
{
addCriterion
(
"duty_stage in"
,
values
,
"dutyStage"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyStageNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"duty_stage not in"
,
values
,
"dutyStage"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyStageBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"duty_stage between"
,
value1
,
value2
,
"dutyStage"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyStageNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"duty_stage not between"
,
value1
,
value2
,
"dutyStage"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostDutyIsNull
()
{
addCriterion
(
"post_duty is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostDutyIsNotNull
()
{
addCriterion
(
"post_duty is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostDutyEqualTo
(
String
value
)
{
addCriterion
(
"post_duty ="
,
value
,
"postDuty"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostDutyNotEqualTo
(
String
value
)
{
addCriterion
(
"post_duty <>"
,
value
,
"postDuty"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostDutyGreaterThan
(
String
value
)
{
addCriterion
(
"post_duty >"
,
value
,
"postDuty"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostDutyGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"post_duty >="
,
value
,
"postDuty"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostDutyLessThan
(
String
value
)
{
addCriterion
(
"post_duty <"
,
value
,
"postDuty"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostDutyLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"post_duty <="
,
value
,
"postDuty"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostDutyLike
(
String
value
)
{
addCriterion
(
"post_duty like"
,
value
,
"postDuty"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostDutyNotLike
(
String
value
)
{
addCriterion
(
"post_duty not like"
,
value
,
"postDuty"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostDutyIn
(
List
<
String
>
values
)
{
addCriterion
(
"post_duty in"
,
values
,
"postDuty"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostDutyNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"post_duty not in"
,
values
,
"postDuty"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostDutyBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"post_duty between"
,
value1
,
value2
,
"postDuty"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPostDutyNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"post_duty not between"
,
value1
,
value2
,
"postDuty"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNull
()
{
addCriterion
(
"remark is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNotNull
()
{
addCriterion
(
"remark is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkEqualTo
(
String
value
)
{
addCriterion
(
"remark ="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotEqualTo
(
String
value
)
{
addCriterion
(
"remark <>"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThan
(
String
value
)
{
addCriterion
(
"remark >"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remark >="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThan
(
String
value
)
{
addCriterion
(
"remark <"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remark <="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLike
(
String
value
)
{
addCriterion
(
"remark like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotLike
(
String
value
)
{
addCriterion
(
"remark not like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIn
(
List
<
String
>
values
)
{
addCriterion
(
"remark in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"remark not in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remark between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remark not between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberDaysIsNull
()
{
addCriterion
(
"number_days is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberDaysIsNotNull
()
{
addCriterion
(
"number_days is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberDaysEqualTo
(
String
value
)
{
addCriterion
(
"number_days ="
,
value
,
"numberDays"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberDaysNotEqualTo
(
String
value
)
{
addCriterion
(
"number_days <>"
,
value
,
"numberDays"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberDaysGreaterThan
(
String
value
)
{
addCriterion
(
"number_days >"
,
value
,
"numberDays"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberDaysGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"number_days >="
,
value
,
"numberDays"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberDaysLessThan
(
String
value
)
{
addCriterion
(
"number_days <"
,
value
,
"numberDays"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberDaysLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"number_days <="
,
value
,
"numberDays"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberDaysLike
(
String
value
)
{
addCriterion
(
"number_days like"
,
value
,
"numberDays"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberDaysNotLike
(
String
value
)
{
addCriterion
(
"number_days not like"
,
value
,
"numberDays"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberDaysIn
(
List
<
String
>
values
)
{
addCriterion
(
"number_days in"
,
values
,
"numberDays"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberDaysNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"number_days not in"
,
values
,
"numberDays"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberDaysBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"number_days between"
,
value1
,
value2
,
"numberDays"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberDaysNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"number_days not between"
,
value1
,
value2
,
"numberDays"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayIsNull
()
{
addCriterion
(
"holiday is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayIsNotNull
()
{
addCriterion
(
"holiday is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayEqualTo
(
String
value
)
{
addCriterion
(
"holiday ="
,
value
,
"holiday"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayNotEqualTo
(
String
value
)
{
addCriterion
(
"holiday <>"
,
value
,
"holiday"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayGreaterThan
(
String
value
)
{
addCriterion
(
"holiday >"
,
value
,
"holiday"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"holiday >="
,
value
,
"holiday"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayLessThan
(
String
value
)
{
addCriterion
(
"holiday <"
,
value
,
"holiday"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"holiday <="
,
value
,
"holiday"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayLike
(
String
value
)
{
addCriterion
(
"holiday like"
,
value
,
"holiday"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayNotLike
(
String
value
)
{
addCriterion
(
"holiday not like"
,
value
,
"holiday"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayIn
(
List
<
String
>
values
)
{
addCriterion
(
"holiday in"
,
values
,
"holiday"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"holiday not in"
,
values
,
"holiday"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"holiday between"
,
value1
,
value2
,
"holiday"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"holiday not between"
,
value1
,
value2
,
"holiday"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayNameIsNull
()
{
addCriterion
(
"holiday_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayNameIsNotNull
()
{
addCriterion
(
"holiday_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayNameEqualTo
(
String
value
)
{
addCriterion
(
"holiday_name ="
,
value
,
"holidayName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayNameNotEqualTo
(
String
value
)
{
addCriterion
(
"holiday_name <>"
,
value
,
"holidayName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayNameGreaterThan
(
String
value
)
{
addCriterion
(
"holiday_name >"
,
value
,
"holidayName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"holiday_name >="
,
value
,
"holidayName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayNameLessThan
(
String
value
)
{
addCriterion
(
"holiday_name <"
,
value
,
"holidayName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"holiday_name <="
,
value
,
"holidayName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayNameLike
(
String
value
)
{
addCriterion
(
"holiday_name like"
,
value
,
"holidayName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayNameNotLike
(
String
value
)
{
addCriterion
(
"holiday_name not like"
,
value
,
"holidayName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"holiday_name in"
,
values
,
"holidayName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"holiday_name not in"
,
values
,
"holidayName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"holiday_name between"
,
value1
,
value2
,
"holidayName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andHolidayNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"holiday_name not between"
,
value1
,
value2
,
"holidayName"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table cc_duty
*
* @mbg.generated do_not_delete_during_merge Fri Mar 16 09:45:46 CST 2018
*/
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table cc_duty
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
static
class
Criterion
{
private
String
condition
;
private
Object
value
;
private
Object
secondValue
;
private
boolean
noValue
;
private
boolean
singleValue
;
private
boolean
betweenValue
;
private
boolean
listValue
;
private
String
typeHandler
;
public
String
getCondition
()
{
return
condition
;
}
public
Object
getValue
()
{
return
value
;
}
public
Object
getSecondValue
()
{
return
secondValue
;
}
public
boolean
isNoValue
()
{
return
noValue
;
}
public
boolean
isSingleValue
()
{
return
singleValue
;
}
public
boolean
isBetweenValue
()
{
return
betweenValue
;
}
public
boolean
isListValue
()
{
return
listValue
;
}
public
String
getTypeHandler
()
{
return
typeHandler
;
}
protected
Criterion
(
String
condition
)
{
super
();
this
.
condition
=
condition
;
this
.
typeHandler
=
null
;
this
.
noValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
typeHandler
=
typeHandler
;
if
(
value
instanceof
List
<?>)
{
this
.
listValue
=
true
;
}
else
{
this
.
singleValue
=
true
;
}
}
protected
Criterion
(
String
condition
,
Object
value
)
{
this
(
condition
,
value
,
null
);
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
secondValue
=
secondValue
;
this
.
typeHandler
=
typeHandler
;
this
.
betweenValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
)
{
this
(
condition
,
value
,
secondValue
,
null
);
}
}
}
\ No newline at end of file
domain/src/main/java/com/haomostudio/zhangjiakouapibackend/po/CcDutyPlan.java
deleted
100644 → 0
View file @
d5f2b06c
package
com
.
haomostudio
.
zhangjiakouapibackend
.
po
;
import
java.util.Date
;
public
class
CcDutyPlan
{
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty_plan.id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
id
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty_plan.name
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
name
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty_plan.create_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
Date
createTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty_plan.last_update_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
Date
lastUpdateTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty_plan.duty_type
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
dutyType
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty_plan.what_year
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
whatYear
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_duty_plan.what_month
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
whatMonth
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty_plan.id
*
* @return the value of cc_duty_plan.id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty_plan.id
*
* @param id the value for cc_duty_plan.id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setId
(
String
id
)
{
this
.
id
=
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty_plan.name
*
* @return the value of cc_duty_plan.name
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getName
()
{
return
name
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty_plan.name
*
* @param name the value for cc_duty_plan.name
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty_plan.create_time
*
* @return the value of cc_duty_plan.create_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Date
getCreateTime
()
{
return
createTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty_plan.create_time
*
* @param createTime the value for cc_duty_plan.create_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty_plan.last_update_time
*
* @return the value of cc_duty_plan.last_update_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Date
getLastUpdateTime
()
{
return
lastUpdateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty_plan.last_update_time
*
* @param lastUpdateTime the value for cc_duty_plan.last_update_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setLastUpdateTime
(
Date
lastUpdateTime
)
{
this
.
lastUpdateTime
=
lastUpdateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty_plan.duty_type
*
* @return the value of cc_duty_plan.duty_type
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getDutyType
()
{
return
dutyType
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty_plan.duty_type
*
* @param dutyType the value for cc_duty_plan.duty_type
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setDutyType
(
String
dutyType
)
{
this
.
dutyType
=
dutyType
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty_plan.what_year
*
* @return the value of cc_duty_plan.what_year
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getWhatYear
()
{
return
whatYear
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty_plan.what_year
*
* @param whatYear the value for cc_duty_plan.what_year
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setWhatYear
(
String
whatYear
)
{
this
.
whatYear
=
whatYear
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_duty_plan.what_month
*
* @return the value of cc_duty_plan.what_month
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getWhatMonth
()
{
return
whatMonth
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_duty_plan.what_month
*
* @param whatMonth the value for cc_duty_plan.what_month
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setWhatMonth
(
String
whatMonth
)
{
this
.
whatMonth
=
whatMonth
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
getClass
().
getSimpleName
());
sb
.
append
(
" ["
);
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", id="
).
append
(
id
);
sb
.
append
(
", name="
).
append
(
name
);
sb
.
append
(
", createTime="
).
append
(
createTime
);
sb
.
append
(
", lastUpdateTime="
).
append
(
lastUpdateTime
);
sb
.
append
(
", dutyType="
).
append
(
dutyType
);
sb
.
append
(
", whatYear="
).
append
(
whatYear
);
sb
.
append
(
", whatMonth="
).
append
(
whatMonth
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
domain/src/main/java/com/haomostudio/zhangjiakouapibackend/po/CcDutyPlanExample.java
deleted
100644 → 0
View file @
d5f2b06c
package
com
.
haomostudio
.
zhangjiakouapibackend
.
po
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
public
class
CcDutyPlanExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
CcDutyPlanExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
String
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
String
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
String
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
String
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLike
(
String
value
)
{
addCriterion
(
"id like"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotLike
(
String
value
)
{
addCriterion
(
"id not like"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNull
()
{
addCriterion
(
"name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNotNull
()
{
addCriterion
(
"name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameEqualTo
(
String
value
)
{
addCriterion
(
"name ="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotEqualTo
(
String
value
)
{
addCriterion
(
"name <>"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThan
(
String
value
)
{
addCriterion
(
"name >"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"name >="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThan
(
String
value
)
{
addCriterion
(
"name <"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"name <="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLike
(
String
value
)
{
addCriterion
(
"name like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotLike
(
String
value
)
{
addCriterion
(
"name not like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"name in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"name not in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"name between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"name not between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"create_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNotNull
()
{
addCriterion
(
"create_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"create_time ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"create_time >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
Date
value
)
{
addCriterion
(
"create_time <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeIsNull
()
{
addCriterion
(
"last_update_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeIsNotNull
()
{
addCriterion
(
"last_update_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"last_update_time ="
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"last_update_time <>"
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"last_update_time >"
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"last_update_time >="
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeLessThan
(
Date
value
)
{
addCriterion
(
"last_update_time <"
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"last_update_time <="
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"last_update_time in"
,
values
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"last_update_time not in"
,
values
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"last_update_time between"
,
value1
,
value2
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"last_update_time not between"
,
value1
,
value2
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyTypeIsNull
()
{
addCriterion
(
"duty_type is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyTypeIsNotNull
()
{
addCriterion
(
"duty_type is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyTypeEqualTo
(
String
value
)
{
addCriterion
(
"duty_type ="
,
value
,
"dutyType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyTypeNotEqualTo
(
String
value
)
{
addCriterion
(
"duty_type <>"
,
value
,
"dutyType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyTypeGreaterThan
(
String
value
)
{
addCriterion
(
"duty_type >"
,
value
,
"dutyType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyTypeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"duty_type >="
,
value
,
"dutyType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyTypeLessThan
(
String
value
)
{
addCriterion
(
"duty_type <"
,
value
,
"dutyType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyTypeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"duty_type <="
,
value
,
"dutyType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyTypeLike
(
String
value
)
{
addCriterion
(
"duty_type like"
,
value
,
"dutyType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyTypeNotLike
(
String
value
)
{
addCriterion
(
"duty_type not like"
,
value
,
"dutyType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyTypeIn
(
List
<
String
>
values
)
{
addCriterion
(
"duty_type in"
,
values
,
"dutyType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyTypeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"duty_type not in"
,
values
,
"dutyType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyTypeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"duty_type between"
,
value1
,
value2
,
"dutyType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDutyTypeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"duty_type not between"
,
value1
,
value2
,
"dutyType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatYearIsNull
()
{
addCriterion
(
"what_year is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatYearIsNotNull
()
{
addCriterion
(
"what_year is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatYearEqualTo
(
String
value
)
{
addCriterion
(
"what_year ="
,
value
,
"whatYear"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatYearNotEqualTo
(
String
value
)
{
addCriterion
(
"what_year <>"
,
value
,
"whatYear"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatYearGreaterThan
(
String
value
)
{
addCriterion
(
"what_year >"
,
value
,
"whatYear"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatYearGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"what_year >="
,
value
,
"whatYear"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatYearLessThan
(
String
value
)
{
addCriterion
(
"what_year <"
,
value
,
"whatYear"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatYearLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"what_year <="
,
value
,
"whatYear"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatYearLike
(
String
value
)
{
addCriterion
(
"what_year like"
,
value
,
"whatYear"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatYearNotLike
(
String
value
)
{
addCriterion
(
"what_year not like"
,
value
,
"whatYear"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatYearIn
(
List
<
String
>
values
)
{
addCriterion
(
"what_year in"
,
values
,
"whatYear"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatYearNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"what_year not in"
,
values
,
"whatYear"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatYearBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"what_year between"
,
value1
,
value2
,
"whatYear"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatYearNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"what_year not between"
,
value1
,
value2
,
"whatYear"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatMonthIsNull
()
{
addCriterion
(
"what_month is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatMonthIsNotNull
()
{
addCriterion
(
"what_month is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatMonthEqualTo
(
String
value
)
{
addCriterion
(
"what_month ="
,
value
,
"whatMonth"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatMonthNotEqualTo
(
String
value
)
{
addCriterion
(
"what_month <>"
,
value
,
"whatMonth"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatMonthGreaterThan
(
String
value
)
{
addCriterion
(
"what_month >"
,
value
,
"whatMonth"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatMonthGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"what_month >="
,
value
,
"whatMonth"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatMonthLessThan
(
String
value
)
{
addCriterion
(
"what_month <"
,
value
,
"whatMonth"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatMonthLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"what_month <="
,
value
,
"whatMonth"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatMonthLike
(
String
value
)
{
addCriterion
(
"what_month like"
,
value
,
"whatMonth"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatMonthNotLike
(
String
value
)
{
addCriterion
(
"what_month not like"
,
value
,
"whatMonth"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatMonthIn
(
List
<
String
>
values
)
{
addCriterion
(
"what_month in"
,
values
,
"whatMonth"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatMonthNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"what_month not in"
,
values
,
"whatMonth"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatMonthBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"what_month between"
,
value1
,
value2
,
"whatMonth"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWhatMonthNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"what_month not between"
,
value1
,
value2
,
"whatMonth"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table cc_duty_plan
*
* @mbg.generated do_not_delete_during_merge Fri Mar 16 09:45:46 CST 2018
*/
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table cc_duty_plan
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
static
class
Criterion
{
private
String
condition
;
private
Object
value
;
private
Object
secondValue
;
private
boolean
noValue
;
private
boolean
singleValue
;
private
boolean
betweenValue
;
private
boolean
listValue
;
private
String
typeHandler
;
public
String
getCondition
()
{
return
condition
;
}
public
Object
getValue
()
{
return
value
;
}
public
Object
getSecondValue
()
{
return
secondValue
;
}
public
boolean
isNoValue
()
{
return
noValue
;
}
public
boolean
isSingleValue
()
{
return
singleValue
;
}
public
boolean
isBetweenValue
()
{
return
betweenValue
;
}
public
boolean
isListValue
()
{
return
listValue
;
}
public
String
getTypeHandler
()
{
return
typeHandler
;
}
protected
Criterion
(
String
condition
)
{
super
();
this
.
condition
=
condition
;
this
.
typeHandler
=
null
;
this
.
noValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
typeHandler
=
typeHandler
;
if
(
value
instanceof
List
<?>)
{
this
.
listValue
=
true
;
}
else
{
this
.
singleValue
=
true
;
}
}
protected
Criterion
(
String
condition
,
Object
value
)
{
this
(
condition
,
value
,
null
);
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
secondValue
=
secondValue
;
this
.
typeHandler
=
typeHandler
;
this
.
betweenValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
)
{
this
(
condition
,
value
,
secondValue
,
null
);
}
}
}
\ No newline at end of file
domain/src/main/java/com/haomostudio/zhangjiakouapibackend/po/CcMemorandum.java
deleted
100644 → 0
View file @
d5f2b06c
package
com
.
haomostudio
.
zhangjiakouapibackend
.
po
;
import
java.util.Date
;
public
class
CcMemorandum
{
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_memorandum.id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
id
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_memorandum.last_update_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
Date
lastUpdateTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_memorandum.completion_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
Date
completionTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_memorandum.time_completed
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
Date
timeCompleted
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_memorandum.tile
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
tile
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_memorandum.content
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
content
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_memorandum.modes
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
Integer
modes
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_memorandum.user_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
userId
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_memorandum.status
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
status
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_memorandum.id
*
* @return the value of cc_memorandum.id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_memorandum.id
*
* @param id the value for cc_memorandum.id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setId
(
String
id
)
{
this
.
id
=
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_memorandum.last_update_time
*
* @return the value of cc_memorandum.last_update_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Date
getLastUpdateTime
()
{
return
lastUpdateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_memorandum.last_update_time
*
* @param lastUpdateTime the value for cc_memorandum.last_update_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setLastUpdateTime
(
Date
lastUpdateTime
)
{
this
.
lastUpdateTime
=
lastUpdateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_memorandum.completion_time
*
* @return the value of cc_memorandum.completion_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Date
getCompletionTime
()
{
return
completionTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_memorandum.completion_time
*
* @param completionTime the value for cc_memorandum.completion_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setCompletionTime
(
Date
completionTime
)
{
this
.
completionTime
=
completionTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_memorandum.time_completed
*
* @return the value of cc_memorandum.time_completed
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Date
getTimeCompleted
()
{
return
timeCompleted
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_memorandum.time_completed
*
* @param timeCompleted the value for cc_memorandum.time_completed
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setTimeCompleted
(
Date
timeCompleted
)
{
this
.
timeCompleted
=
timeCompleted
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_memorandum.tile
*
* @return the value of cc_memorandum.tile
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getTile
()
{
return
tile
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_memorandum.tile
*
* @param tile the value for cc_memorandum.tile
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setTile
(
String
tile
)
{
this
.
tile
=
tile
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_memorandum.content
*
* @return the value of cc_memorandum.content
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getContent
()
{
return
content
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_memorandum.content
*
* @param content the value for cc_memorandum.content
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setContent
(
String
content
)
{
this
.
content
=
content
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_memorandum.modes
*
* @return the value of cc_memorandum.modes
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Integer
getModes
()
{
return
modes
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_memorandum.modes
*
* @param modes the value for cc_memorandum.modes
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setModes
(
Integer
modes
)
{
this
.
modes
=
modes
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_memorandum.user_id
*
* @return the value of cc_memorandum.user_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getUserId
()
{
return
userId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_memorandum.user_id
*
* @param userId the value for cc_memorandum.user_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setUserId
(
String
userId
)
{
this
.
userId
=
userId
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_memorandum.status
*
* @return the value of cc_memorandum.status
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getStatus
()
{
return
status
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_memorandum.status
*
* @param status the value for cc_memorandum.status
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setStatus
(
String
status
)
{
this
.
status
=
status
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
getClass
().
getSimpleName
());
sb
.
append
(
" ["
);
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", id="
).
append
(
id
);
sb
.
append
(
", lastUpdateTime="
).
append
(
lastUpdateTime
);
sb
.
append
(
", completionTime="
).
append
(
completionTime
);
sb
.
append
(
", timeCompleted="
).
append
(
timeCompleted
);
sb
.
append
(
", tile="
).
append
(
tile
);
sb
.
append
(
", content="
).
append
(
content
);
sb
.
append
(
", modes="
).
append
(
modes
);
sb
.
append
(
", userId="
).
append
(
userId
);
sb
.
append
(
", status="
).
append
(
status
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
domain/src/main/java/com/haomostudio/zhangjiakouapibackend/po/CcMemorandumExample.java
deleted
100644 → 0
View file @
d5f2b06c
package
com
.
haomostudio
.
zhangjiakouapibackend
.
po
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
public
class
CcMemorandumExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
CcMemorandumExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
String
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
String
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
String
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
String
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLike
(
String
value
)
{
addCriterion
(
"id like"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotLike
(
String
value
)
{
addCriterion
(
"id not like"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeIsNull
()
{
addCriterion
(
"last_update_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeIsNotNull
()
{
addCriterion
(
"last_update_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"last_update_time ="
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"last_update_time <>"
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"last_update_time >"
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"last_update_time >="
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeLessThan
(
Date
value
)
{
addCriterion
(
"last_update_time <"
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"last_update_time <="
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"last_update_time in"
,
values
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"last_update_time not in"
,
values
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"last_update_time between"
,
value1
,
value2
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"last_update_time not between"
,
value1
,
value2
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompletionTimeIsNull
()
{
addCriterion
(
"completion_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompletionTimeIsNotNull
()
{
addCriterion
(
"completion_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompletionTimeEqualTo
(
Date
value
)
{
addCriterion
(
"completion_time ="
,
value
,
"completionTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompletionTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"completion_time <>"
,
value
,
"completionTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompletionTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"completion_time >"
,
value
,
"completionTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompletionTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"completion_time >="
,
value
,
"completionTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompletionTimeLessThan
(
Date
value
)
{
addCriterion
(
"completion_time <"
,
value
,
"completionTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompletionTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"completion_time <="
,
value
,
"completionTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompletionTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"completion_time in"
,
values
,
"completionTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompletionTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"completion_time not in"
,
values
,
"completionTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompletionTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"completion_time between"
,
value1
,
value2
,
"completionTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompletionTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"completion_time not between"
,
value1
,
value2
,
"completionTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeCompletedIsNull
()
{
addCriterion
(
"time_completed is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeCompletedIsNotNull
()
{
addCriterion
(
"time_completed is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeCompletedEqualTo
(
Date
value
)
{
addCriterion
(
"time_completed ="
,
value
,
"timeCompleted"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeCompletedNotEqualTo
(
Date
value
)
{
addCriterion
(
"time_completed <>"
,
value
,
"timeCompleted"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeCompletedGreaterThan
(
Date
value
)
{
addCriterion
(
"time_completed >"
,
value
,
"timeCompleted"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeCompletedGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"time_completed >="
,
value
,
"timeCompleted"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeCompletedLessThan
(
Date
value
)
{
addCriterion
(
"time_completed <"
,
value
,
"timeCompleted"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeCompletedLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"time_completed <="
,
value
,
"timeCompleted"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeCompletedIn
(
List
<
Date
>
values
)
{
addCriterion
(
"time_completed in"
,
values
,
"timeCompleted"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeCompletedNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"time_completed not in"
,
values
,
"timeCompleted"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeCompletedBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"time_completed between"
,
value1
,
value2
,
"timeCompleted"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeCompletedNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"time_completed not between"
,
value1
,
value2
,
"timeCompleted"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTileIsNull
()
{
addCriterion
(
"tile is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTileIsNotNull
()
{
addCriterion
(
"tile is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTileEqualTo
(
String
value
)
{
addCriterion
(
"tile ="
,
value
,
"tile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTileNotEqualTo
(
String
value
)
{
addCriterion
(
"tile <>"
,
value
,
"tile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTileGreaterThan
(
String
value
)
{
addCriterion
(
"tile >"
,
value
,
"tile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTileGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"tile >="
,
value
,
"tile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTileLessThan
(
String
value
)
{
addCriterion
(
"tile <"
,
value
,
"tile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTileLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"tile <="
,
value
,
"tile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTileLike
(
String
value
)
{
addCriterion
(
"tile like"
,
value
,
"tile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTileNotLike
(
String
value
)
{
addCriterion
(
"tile not like"
,
value
,
"tile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTileIn
(
List
<
String
>
values
)
{
addCriterion
(
"tile in"
,
values
,
"tile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTileNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"tile not in"
,
values
,
"tile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTileBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"tile between"
,
value1
,
value2
,
"tile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTileNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"tile not between"
,
value1
,
value2
,
"tile"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContentIsNull
()
{
addCriterion
(
"content is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContentIsNotNull
()
{
addCriterion
(
"content is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContentEqualTo
(
String
value
)
{
addCriterion
(
"content ="
,
value
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContentNotEqualTo
(
String
value
)
{
addCriterion
(
"content <>"
,
value
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContentGreaterThan
(
String
value
)
{
addCriterion
(
"content >"
,
value
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContentGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"content >="
,
value
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContentLessThan
(
String
value
)
{
addCriterion
(
"content <"
,
value
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContentLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"content <="
,
value
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContentLike
(
String
value
)
{
addCriterion
(
"content like"
,
value
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContentNotLike
(
String
value
)
{
addCriterion
(
"content not like"
,
value
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContentIn
(
List
<
String
>
values
)
{
addCriterion
(
"content in"
,
values
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContentNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"content not in"
,
values
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContentBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"content between"
,
value1
,
value2
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContentNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"content not between"
,
value1
,
value2
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModesIsNull
()
{
addCriterion
(
"modes is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModesIsNotNull
()
{
addCriterion
(
"modes is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModesEqualTo
(
Integer
value
)
{
addCriterion
(
"modes ="
,
value
,
"modes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModesNotEqualTo
(
Integer
value
)
{
addCriterion
(
"modes <>"
,
value
,
"modes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModesGreaterThan
(
Integer
value
)
{
addCriterion
(
"modes >"
,
value
,
"modes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModesGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"modes >="
,
value
,
"modes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModesLessThan
(
Integer
value
)
{
addCriterion
(
"modes <"
,
value
,
"modes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModesLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"modes <="
,
value
,
"modes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModesIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"modes in"
,
values
,
"modes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModesNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"modes not in"
,
values
,
"modes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModesBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"modes between"
,
value1
,
value2
,
"modes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andModesNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"modes not between"
,
value1
,
value2
,
"modes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdIsNull
()
{
addCriterion
(
"user_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdIsNotNull
()
{
addCriterion
(
"user_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdEqualTo
(
String
value
)
{
addCriterion
(
"user_id ="
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdNotEqualTo
(
String
value
)
{
addCriterion
(
"user_id <>"
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdGreaterThan
(
String
value
)
{
addCriterion
(
"user_id >"
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"user_id >="
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdLessThan
(
String
value
)
{
addCriterion
(
"user_id <"
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"user_id <="
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdLike
(
String
value
)
{
addCriterion
(
"user_id like"
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdNotLike
(
String
value
)
{
addCriterion
(
"user_id not like"
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"user_id in"
,
values
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"user_id not in"
,
values
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"user_id between"
,
value1
,
value2
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"user_id not between"
,
value1
,
value2
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNull
()
{
addCriterion
(
"status is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNotNull
()
{
addCriterion
(
"status is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusEqualTo
(
String
value
)
{
addCriterion
(
"status ="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotEqualTo
(
String
value
)
{
addCriterion
(
"status <>"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThan
(
String
value
)
{
addCriterion
(
"status >"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"status >="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThan
(
String
value
)
{
addCriterion
(
"status <"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"status <="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLike
(
String
value
)
{
addCriterion
(
"status like"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotLike
(
String
value
)
{
addCriterion
(
"status not like"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIn
(
List
<
String
>
values
)
{
addCriterion
(
"status in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"status not in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"status between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"status not between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table cc_memorandum
*
* @mbg.generated do_not_delete_during_merge Fri Mar 16 09:45:46 CST 2018
*/
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table cc_memorandum
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
static
class
Criterion
{
private
String
condition
;
private
Object
value
;
private
Object
secondValue
;
private
boolean
noValue
;
private
boolean
singleValue
;
private
boolean
betweenValue
;
private
boolean
listValue
;
private
String
typeHandler
;
public
String
getCondition
()
{
return
condition
;
}
public
Object
getValue
()
{
return
value
;
}
public
Object
getSecondValue
()
{
return
secondValue
;
}
public
boolean
isNoValue
()
{
return
noValue
;
}
public
boolean
isSingleValue
()
{
return
singleValue
;
}
public
boolean
isBetweenValue
()
{
return
betweenValue
;
}
public
boolean
isListValue
()
{
return
listValue
;
}
public
String
getTypeHandler
()
{
return
typeHandler
;
}
protected
Criterion
(
String
condition
)
{
super
();
this
.
condition
=
condition
;
this
.
typeHandler
=
null
;
this
.
noValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
typeHandler
=
typeHandler
;
if
(
value
instanceof
List
<?>)
{
this
.
listValue
=
true
;
}
else
{
this
.
singleValue
=
true
;
}
}
protected
Criterion
(
String
condition
,
Object
value
)
{
this
(
condition
,
value
,
null
);
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
secondValue
=
secondValue
;
this
.
typeHandler
=
typeHandler
;
this
.
betweenValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
)
{
this
(
condition
,
value
,
secondValue
,
null
);
}
}
}
\ No newline at end of file
domain/src/main/java/com/haomostudio/zhangjiakouapibackend/po/CcShift.java
deleted
100644 → 0
View file @
d5f2b06c
package
com
.
haomostudio
.
zhangjiakouapibackend
.
po
;
import
java.util.Date
;
public
class
CcShift
{
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_shift.id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
id
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_shift.applicant_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
applicantId
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_shift.applicant
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
applicant
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_shift.transferred_name
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
transferredName
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_shift.transferred_class
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
transferredClass
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_shift.shift_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
shiftTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_shift.applicant_duty_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
applicantDutyId
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_shift.transferred_class_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
transferredClassTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_shift.transferred_class_duty_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
transferredClassDutyId
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_shift.status
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
Integer
status
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_shift.reason
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
reason
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_shift.application_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
Date
applicationTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_shift.create_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
Date
createTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_shift.last_update_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
Date
lastUpdateTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_shift.leader_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
leaderId
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cc_shift.applicant_position
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
private
String
applicantPosition
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_shift.id
*
* @return the value of cc_shift.id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_shift.id
*
* @param id the value for cc_shift.id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setId
(
String
id
)
{
this
.
id
=
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_shift.applicant_id
*
* @return the value of cc_shift.applicant_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getApplicantId
()
{
return
applicantId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_shift.applicant_id
*
* @param applicantId the value for cc_shift.applicant_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setApplicantId
(
String
applicantId
)
{
this
.
applicantId
=
applicantId
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_shift.applicant
*
* @return the value of cc_shift.applicant
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getApplicant
()
{
return
applicant
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_shift.applicant
*
* @param applicant the value for cc_shift.applicant
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setApplicant
(
String
applicant
)
{
this
.
applicant
=
applicant
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_shift.transferred_name
*
* @return the value of cc_shift.transferred_name
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getTransferredName
()
{
return
transferredName
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_shift.transferred_name
*
* @param transferredName the value for cc_shift.transferred_name
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setTransferredName
(
String
transferredName
)
{
this
.
transferredName
=
transferredName
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_shift.transferred_class
*
* @return the value of cc_shift.transferred_class
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getTransferredClass
()
{
return
transferredClass
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_shift.transferred_class
*
* @param transferredClass the value for cc_shift.transferred_class
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setTransferredClass
(
String
transferredClass
)
{
this
.
transferredClass
=
transferredClass
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_shift.shift_time
*
* @return the value of cc_shift.shift_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getShiftTime
()
{
return
shiftTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_shift.shift_time
*
* @param shiftTime the value for cc_shift.shift_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setShiftTime
(
String
shiftTime
)
{
this
.
shiftTime
=
shiftTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_shift.applicant_duty_id
*
* @return the value of cc_shift.applicant_duty_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getApplicantDutyId
()
{
return
applicantDutyId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_shift.applicant_duty_id
*
* @param applicantDutyId the value for cc_shift.applicant_duty_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setApplicantDutyId
(
String
applicantDutyId
)
{
this
.
applicantDutyId
=
applicantDutyId
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_shift.transferred_class_time
*
* @return the value of cc_shift.transferred_class_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getTransferredClassTime
()
{
return
transferredClassTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_shift.transferred_class_time
*
* @param transferredClassTime the value for cc_shift.transferred_class_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setTransferredClassTime
(
String
transferredClassTime
)
{
this
.
transferredClassTime
=
transferredClassTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_shift.transferred_class_duty_id
*
* @return the value of cc_shift.transferred_class_duty_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getTransferredClassDutyId
()
{
return
transferredClassDutyId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_shift.transferred_class_duty_id
*
* @param transferredClassDutyId the value for cc_shift.transferred_class_duty_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setTransferredClassDutyId
(
String
transferredClassDutyId
)
{
this
.
transferredClassDutyId
=
transferredClassDutyId
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_shift.status
*
* @return the value of cc_shift.status
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Integer
getStatus
()
{
return
status
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_shift.status
*
* @param status the value for cc_shift.status
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_shift.reason
*
* @return the value of cc_shift.reason
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getReason
()
{
return
reason
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_shift.reason
*
* @param reason the value for cc_shift.reason
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setReason
(
String
reason
)
{
this
.
reason
=
reason
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_shift.application_time
*
* @return the value of cc_shift.application_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Date
getApplicationTime
()
{
return
applicationTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_shift.application_time
*
* @param applicationTime the value for cc_shift.application_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setApplicationTime
(
Date
applicationTime
)
{
this
.
applicationTime
=
applicationTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_shift.create_time
*
* @return the value of cc_shift.create_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Date
getCreateTime
()
{
return
createTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_shift.create_time
*
* @param createTime the value for cc_shift.create_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_shift.last_update_time
*
* @return the value of cc_shift.last_update_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Date
getLastUpdateTime
()
{
return
lastUpdateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_shift.last_update_time
*
* @param lastUpdateTime the value for cc_shift.last_update_time
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setLastUpdateTime
(
Date
lastUpdateTime
)
{
this
.
lastUpdateTime
=
lastUpdateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_shift.leader_id
*
* @return the value of cc_shift.leader_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getLeaderId
()
{
return
leaderId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_shift.leader_id
*
* @param leaderId the value for cc_shift.leader_id
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setLeaderId
(
String
leaderId
)
{
this
.
leaderId
=
leaderId
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cc_shift.applicant_position
*
* @return the value of cc_shift.applicant_position
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getApplicantPosition
()
{
return
applicantPosition
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cc_shift.applicant_position
*
* @param applicantPosition the value for cc_shift.applicant_position
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setApplicantPosition
(
String
applicantPosition
)
{
this
.
applicantPosition
=
applicantPosition
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
getClass
().
getSimpleName
());
sb
.
append
(
" ["
);
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", id="
).
append
(
id
);
sb
.
append
(
", applicantId="
).
append
(
applicantId
);
sb
.
append
(
", applicant="
).
append
(
applicant
);
sb
.
append
(
", transferredName="
).
append
(
transferredName
);
sb
.
append
(
", transferredClass="
).
append
(
transferredClass
);
sb
.
append
(
", shiftTime="
).
append
(
shiftTime
);
sb
.
append
(
", applicantDutyId="
).
append
(
applicantDutyId
);
sb
.
append
(
", transferredClassTime="
).
append
(
transferredClassTime
);
sb
.
append
(
", transferredClassDutyId="
).
append
(
transferredClassDutyId
);
sb
.
append
(
", status="
).
append
(
status
);
sb
.
append
(
", reason="
).
append
(
reason
);
sb
.
append
(
", applicationTime="
).
append
(
applicationTime
);
sb
.
append
(
", createTime="
).
append
(
createTime
);
sb
.
append
(
", lastUpdateTime="
).
append
(
lastUpdateTime
);
sb
.
append
(
", leaderId="
).
append
(
leaderId
);
sb
.
append
(
", applicantPosition="
).
append
(
applicantPosition
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
domain/src/main/java/com/haomostudio/zhangjiakouapibackend/po/CcShiftExample.java
deleted
100644 → 0
View file @
d5f2b06c
package
com
.
haomostudio
.
zhangjiakouapibackend
.
po
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
public
class
CcShiftExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
CcShiftExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
String
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
String
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
String
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
String
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLike
(
String
value
)
{
addCriterion
(
"id like"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotLike
(
String
value
)
{
addCriterion
(
"id not like"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantIdIsNull
()
{
addCriterion
(
"applicant_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantIdIsNotNull
()
{
addCriterion
(
"applicant_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantIdEqualTo
(
String
value
)
{
addCriterion
(
"applicant_id ="
,
value
,
"applicantId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantIdNotEqualTo
(
String
value
)
{
addCriterion
(
"applicant_id <>"
,
value
,
"applicantId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantIdGreaterThan
(
String
value
)
{
addCriterion
(
"applicant_id >"
,
value
,
"applicantId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"applicant_id >="
,
value
,
"applicantId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantIdLessThan
(
String
value
)
{
addCriterion
(
"applicant_id <"
,
value
,
"applicantId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"applicant_id <="
,
value
,
"applicantId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantIdLike
(
String
value
)
{
addCriterion
(
"applicant_id like"
,
value
,
"applicantId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantIdNotLike
(
String
value
)
{
addCriterion
(
"applicant_id not like"
,
value
,
"applicantId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"applicant_id in"
,
values
,
"applicantId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"applicant_id not in"
,
values
,
"applicantId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"applicant_id between"
,
value1
,
value2
,
"applicantId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"applicant_id not between"
,
value1
,
value2
,
"applicantId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantIsNull
()
{
addCriterion
(
"applicant is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantIsNotNull
()
{
addCriterion
(
"applicant is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantEqualTo
(
String
value
)
{
addCriterion
(
"applicant ="
,
value
,
"applicant"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantNotEqualTo
(
String
value
)
{
addCriterion
(
"applicant <>"
,
value
,
"applicant"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantGreaterThan
(
String
value
)
{
addCriterion
(
"applicant >"
,
value
,
"applicant"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"applicant >="
,
value
,
"applicant"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantLessThan
(
String
value
)
{
addCriterion
(
"applicant <"
,
value
,
"applicant"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"applicant <="
,
value
,
"applicant"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantLike
(
String
value
)
{
addCriterion
(
"applicant like"
,
value
,
"applicant"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantNotLike
(
String
value
)
{
addCriterion
(
"applicant not like"
,
value
,
"applicant"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantIn
(
List
<
String
>
values
)
{
addCriterion
(
"applicant in"
,
values
,
"applicant"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"applicant not in"
,
values
,
"applicant"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"applicant between"
,
value1
,
value2
,
"applicant"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"applicant not between"
,
value1
,
value2
,
"applicant"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredNameIsNull
()
{
addCriterion
(
"transferred_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredNameIsNotNull
()
{
addCriterion
(
"transferred_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredNameEqualTo
(
String
value
)
{
addCriterion
(
"transferred_name ="
,
value
,
"transferredName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredNameNotEqualTo
(
String
value
)
{
addCriterion
(
"transferred_name <>"
,
value
,
"transferredName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredNameGreaterThan
(
String
value
)
{
addCriterion
(
"transferred_name >"
,
value
,
"transferredName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"transferred_name >="
,
value
,
"transferredName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredNameLessThan
(
String
value
)
{
addCriterion
(
"transferred_name <"
,
value
,
"transferredName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"transferred_name <="
,
value
,
"transferredName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredNameLike
(
String
value
)
{
addCriterion
(
"transferred_name like"
,
value
,
"transferredName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredNameNotLike
(
String
value
)
{
addCriterion
(
"transferred_name not like"
,
value
,
"transferredName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"transferred_name in"
,
values
,
"transferredName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"transferred_name not in"
,
values
,
"transferredName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"transferred_name between"
,
value1
,
value2
,
"transferredName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"transferred_name not between"
,
value1
,
value2
,
"transferredName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassIsNull
()
{
addCriterion
(
"transferred_class is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassIsNotNull
()
{
addCriterion
(
"transferred_class is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassEqualTo
(
String
value
)
{
addCriterion
(
"transferred_class ="
,
value
,
"transferredClass"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassNotEqualTo
(
String
value
)
{
addCriterion
(
"transferred_class <>"
,
value
,
"transferredClass"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassGreaterThan
(
String
value
)
{
addCriterion
(
"transferred_class >"
,
value
,
"transferredClass"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"transferred_class >="
,
value
,
"transferredClass"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassLessThan
(
String
value
)
{
addCriterion
(
"transferred_class <"
,
value
,
"transferredClass"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"transferred_class <="
,
value
,
"transferredClass"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassLike
(
String
value
)
{
addCriterion
(
"transferred_class like"
,
value
,
"transferredClass"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassNotLike
(
String
value
)
{
addCriterion
(
"transferred_class not like"
,
value
,
"transferredClass"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassIn
(
List
<
String
>
values
)
{
addCriterion
(
"transferred_class in"
,
values
,
"transferredClass"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"transferred_class not in"
,
values
,
"transferredClass"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"transferred_class between"
,
value1
,
value2
,
"transferredClass"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"transferred_class not between"
,
value1
,
value2
,
"transferredClass"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShiftTimeIsNull
()
{
addCriterion
(
"shift_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShiftTimeIsNotNull
()
{
addCriterion
(
"shift_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShiftTimeEqualTo
(
String
value
)
{
addCriterion
(
"shift_time ="
,
value
,
"shiftTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShiftTimeNotEqualTo
(
String
value
)
{
addCriterion
(
"shift_time <>"
,
value
,
"shiftTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShiftTimeGreaterThan
(
String
value
)
{
addCriterion
(
"shift_time >"
,
value
,
"shiftTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShiftTimeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"shift_time >="
,
value
,
"shiftTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShiftTimeLessThan
(
String
value
)
{
addCriterion
(
"shift_time <"
,
value
,
"shiftTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShiftTimeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"shift_time <="
,
value
,
"shiftTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShiftTimeLike
(
String
value
)
{
addCriterion
(
"shift_time like"
,
value
,
"shiftTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShiftTimeNotLike
(
String
value
)
{
addCriterion
(
"shift_time not like"
,
value
,
"shiftTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShiftTimeIn
(
List
<
String
>
values
)
{
addCriterion
(
"shift_time in"
,
values
,
"shiftTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShiftTimeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"shift_time not in"
,
values
,
"shiftTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShiftTimeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"shift_time between"
,
value1
,
value2
,
"shiftTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShiftTimeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"shift_time not between"
,
value1
,
value2
,
"shiftTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantDutyIdIsNull
()
{
addCriterion
(
"applicant_duty_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantDutyIdIsNotNull
()
{
addCriterion
(
"applicant_duty_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantDutyIdEqualTo
(
String
value
)
{
addCriterion
(
"applicant_duty_id ="
,
value
,
"applicantDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantDutyIdNotEqualTo
(
String
value
)
{
addCriterion
(
"applicant_duty_id <>"
,
value
,
"applicantDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantDutyIdGreaterThan
(
String
value
)
{
addCriterion
(
"applicant_duty_id >"
,
value
,
"applicantDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantDutyIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"applicant_duty_id >="
,
value
,
"applicantDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantDutyIdLessThan
(
String
value
)
{
addCriterion
(
"applicant_duty_id <"
,
value
,
"applicantDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantDutyIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"applicant_duty_id <="
,
value
,
"applicantDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantDutyIdLike
(
String
value
)
{
addCriterion
(
"applicant_duty_id like"
,
value
,
"applicantDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantDutyIdNotLike
(
String
value
)
{
addCriterion
(
"applicant_duty_id not like"
,
value
,
"applicantDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantDutyIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"applicant_duty_id in"
,
values
,
"applicantDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantDutyIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"applicant_duty_id not in"
,
values
,
"applicantDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantDutyIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"applicant_duty_id between"
,
value1
,
value2
,
"applicantDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantDutyIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"applicant_duty_id not between"
,
value1
,
value2
,
"applicantDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassTimeIsNull
()
{
addCriterion
(
"transferred_class_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassTimeIsNotNull
()
{
addCriterion
(
"transferred_class_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassTimeEqualTo
(
String
value
)
{
addCriterion
(
"transferred_class_time ="
,
value
,
"transferredClassTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassTimeNotEqualTo
(
String
value
)
{
addCriterion
(
"transferred_class_time <>"
,
value
,
"transferredClassTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassTimeGreaterThan
(
String
value
)
{
addCriterion
(
"transferred_class_time >"
,
value
,
"transferredClassTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassTimeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"transferred_class_time >="
,
value
,
"transferredClassTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassTimeLessThan
(
String
value
)
{
addCriterion
(
"transferred_class_time <"
,
value
,
"transferredClassTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassTimeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"transferred_class_time <="
,
value
,
"transferredClassTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassTimeLike
(
String
value
)
{
addCriterion
(
"transferred_class_time like"
,
value
,
"transferredClassTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassTimeNotLike
(
String
value
)
{
addCriterion
(
"transferred_class_time not like"
,
value
,
"transferredClassTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassTimeIn
(
List
<
String
>
values
)
{
addCriterion
(
"transferred_class_time in"
,
values
,
"transferredClassTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassTimeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"transferred_class_time not in"
,
values
,
"transferredClassTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassTimeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"transferred_class_time between"
,
value1
,
value2
,
"transferredClassTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassTimeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"transferred_class_time not between"
,
value1
,
value2
,
"transferredClassTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassDutyIdIsNull
()
{
addCriterion
(
"transferred_class_duty_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassDutyIdIsNotNull
()
{
addCriterion
(
"transferred_class_duty_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassDutyIdEqualTo
(
String
value
)
{
addCriterion
(
"transferred_class_duty_id ="
,
value
,
"transferredClassDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassDutyIdNotEqualTo
(
String
value
)
{
addCriterion
(
"transferred_class_duty_id <>"
,
value
,
"transferredClassDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassDutyIdGreaterThan
(
String
value
)
{
addCriterion
(
"transferred_class_duty_id >"
,
value
,
"transferredClassDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassDutyIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"transferred_class_duty_id >="
,
value
,
"transferredClassDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassDutyIdLessThan
(
String
value
)
{
addCriterion
(
"transferred_class_duty_id <"
,
value
,
"transferredClassDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassDutyIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"transferred_class_duty_id <="
,
value
,
"transferredClassDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassDutyIdLike
(
String
value
)
{
addCriterion
(
"transferred_class_duty_id like"
,
value
,
"transferredClassDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassDutyIdNotLike
(
String
value
)
{
addCriterion
(
"transferred_class_duty_id not like"
,
value
,
"transferredClassDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassDutyIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"transferred_class_duty_id in"
,
values
,
"transferredClassDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassDutyIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"transferred_class_duty_id not in"
,
values
,
"transferredClassDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassDutyIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"transferred_class_duty_id between"
,
value1
,
value2
,
"transferredClassDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransferredClassDutyIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"transferred_class_duty_id not between"
,
value1
,
value2
,
"transferredClassDutyId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNull
()
{
addCriterion
(
"status is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNotNull
()
{
addCriterion
(
"status is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusEqualTo
(
Integer
value
)
{
addCriterion
(
"status ="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotEqualTo
(
Integer
value
)
{
addCriterion
(
"status <>"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThan
(
Integer
value
)
{
addCriterion
(
"status >"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"status >="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThan
(
Integer
value
)
{
addCriterion
(
"status <"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"status <="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"status in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"status not in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"status between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"status not between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReasonIsNull
()
{
addCriterion
(
"reason is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReasonIsNotNull
()
{
addCriterion
(
"reason is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReasonEqualTo
(
String
value
)
{
addCriterion
(
"reason ="
,
value
,
"reason"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReasonNotEqualTo
(
String
value
)
{
addCriterion
(
"reason <>"
,
value
,
"reason"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReasonGreaterThan
(
String
value
)
{
addCriterion
(
"reason >"
,
value
,
"reason"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReasonGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"reason >="
,
value
,
"reason"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReasonLessThan
(
String
value
)
{
addCriterion
(
"reason <"
,
value
,
"reason"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReasonLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"reason <="
,
value
,
"reason"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReasonLike
(
String
value
)
{
addCriterion
(
"reason like"
,
value
,
"reason"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReasonNotLike
(
String
value
)
{
addCriterion
(
"reason not like"
,
value
,
"reason"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReasonIn
(
List
<
String
>
values
)
{
addCriterion
(
"reason in"
,
values
,
"reason"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReasonNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"reason not in"
,
values
,
"reason"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReasonBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"reason between"
,
value1
,
value2
,
"reason"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReasonNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"reason not between"
,
value1
,
value2
,
"reason"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicationTimeIsNull
()
{
addCriterion
(
"application_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicationTimeIsNotNull
()
{
addCriterion
(
"application_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicationTimeEqualTo
(
Date
value
)
{
addCriterion
(
"application_time ="
,
value
,
"applicationTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicationTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"application_time <>"
,
value
,
"applicationTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicationTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"application_time >"
,
value
,
"applicationTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicationTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"application_time >="
,
value
,
"applicationTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicationTimeLessThan
(
Date
value
)
{
addCriterion
(
"application_time <"
,
value
,
"applicationTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicationTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"application_time <="
,
value
,
"applicationTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicationTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"application_time in"
,
values
,
"applicationTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicationTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"application_time not in"
,
values
,
"applicationTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicationTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"application_time between"
,
value1
,
value2
,
"applicationTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicationTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"application_time not between"
,
value1
,
value2
,
"applicationTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"create_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNotNull
()
{
addCriterion
(
"create_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"create_time ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"create_time >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
Date
value
)
{
addCriterion
(
"create_time <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeIsNull
()
{
addCriterion
(
"last_update_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeIsNotNull
()
{
addCriterion
(
"last_update_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"last_update_time ="
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"last_update_time <>"
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"last_update_time >"
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"last_update_time >="
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeLessThan
(
Date
value
)
{
addCriterion
(
"last_update_time <"
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"last_update_time <="
,
value
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"last_update_time in"
,
values
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"last_update_time not in"
,
values
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"last_update_time between"
,
value1
,
value2
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastUpdateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"last_update_time not between"
,
value1
,
value2
,
"lastUpdateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLeaderIdIsNull
()
{
addCriterion
(
"leader_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLeaderIdIsNotNull
()
{
addCriterion
(
"leader_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLeaderIdEqualTo
(
String
value
)
{
addCriterion
(
"leader_id ="
,
value
,
"leaderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLeaderIdNotEqualTo
(
String
value
)
{
addCriterion
(
"leader_id <>"
,
value
,
"leaderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLeaderIdGreaterThan
(
String
value
)
{
addCriterion
(
"leader_id >"
,
value
,
"leaderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLeaderIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"leader_id >="
,
value
,
"leaderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLeaderIdLessThan
(
String
value
)
{
addCriterion
(
"leader_id <"
,
value
,
"leaderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLeaderIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"leader_id <="
,
value
,
"leaderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLeaderIdLike
(
String
value
)
{
addCriterion
(
"leader_id like"
,
value
,
"leaderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLeaderIdNotLike
(
String
value
)
{
addCriterion
(
"leader_id not like"
,
value
,
"leaderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLeaderIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"leader_id in"
,
values
,
"leaderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLeaderIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"leader_id not in"
,
values
,
"leaderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLeaderIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"leader_id between"
,
value1
,
value2
,
"leaderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLeaderIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"leader_id not between"
,
value1
,
value2
,
"leaderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantPositionIsNull
()
{
addCriterion
(
"applicant_position is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantPositionIsNotNull
()
{
addCriterion
(
"applicant_position is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantPositionEqualTo
(
String
value
)
{
addCriterion
(
"applicant_position ="
,
value
,
"applicantPosition"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantPositionNotEqualTo
(
String
value
)
{
addCriterion
(
"applicant_position <>"
,
value
,
"applicantPosition"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantPositionGreaterThan
(
String
value
)
{
addCriterion
(
"applicant_position >"
,
value
,
"applicantPosition"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantPositionGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"applicant_position >="
,
value
,
"applicantPosition"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantPositionLessThan
(
String
value
)
{
addCriterion
(
"applicant_position <"
,
value
,
"applicantPosition"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantPositionLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"applicant_position <="
,
value
,
"applicantPosition"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantPositionLike
(
String
value
)
{
addCriterion
(
"applicant_position like"
,
value
,
"applicantPosition"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantPositionNotLike
(
String
value
)
{
addCriterion
(
"applicant_position not like"
,
value
,
"applicantPosition"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantPositionIn
(
List
<
String
>
values
)
{
addCriterion
(
"applicant_position in"
,
values
,
"applicantPosition"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantPositionNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"applicant_position not in"
,
values
,
"applicantPosition"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantPositionBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"applicant_position between"
,
value1
,
value2
,
"applicantPosition"
);
return
(
Criteria
)
this
;
}
public
Criteria
andApplicantPositionNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"applicant_position not between"
,
value1
,
value2
,
"applicantPosition"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table cc_shift
*
* @mbg.generated do_not_delete_during_merge Fri Mar 16 09:45:46 CST 2018
*/
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table cc_shift
*
* @mbg.generated Fri Mar 16 09:45:46 CST 2018
*/
public
static
class
Criterion
{
private
String
condition
;
private
Object
value
;
private
Object
secondValue
;
private
boolean
noValue
;
private
boolean
singleValue
;
private
boolean
betweenValue
;
private
boolean
listValue
;
private
String
typeHandler
;
public
String
getCondition
()
{
return
condition
;
}
public
Object
getValue
()
{
return
value
;
}
public
Object
getSecondValue
()
{
return
secondValue
;
}
public
boolean
isNoValue
()
{
return
noValue
;
}
public
boolean
isSingleValue
()
{
return
singleValue
;
}
public
boolean
isBetweenValue
()
{
return
betweenValue
;
}
public
boolean
isListValue
()
{
return
listValue
;
}
public
String
getTypeHandler
()
{
return
typeHandler
;
}
protected
Criterion
(
String
condition
)
{
super
();
this
.
condition
=
condition
;
this
.
typeHandler
=
null
;
this
.
noValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
typeHandler
=
typeHandler
;
if
(
value
instanceof
List
<?>)
{
this
.
listValue
=
true
;
}
else
{
this
.
singleValue
=
true
;
}
}
protected
Criterion
(
String
condition
,
Object
value
)
{
this
(
condition
,
value
,
null
);
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
secondValue
=
secondValue
;
this
.
typeHandler
=
typeHandler
;
this
.
betweenValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
)
{
this
(
condition
,
value
,
secondValue
,
null
);
}
}
}
\ No newline at end of file
web/src/main/resources/mybatis/com/haomostudio/zhangjiakouapibackend/CcDutyMapper.xml
deleted
100644 → 0
View file @
d5f2b06c
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.haomostudio.zhangjiakouapibackend.dao.CcDutyMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.haomostudio.zhangjiakouapibackend.po.CcDuty"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
<id
column=
"id"
jdbcType=
"VARCHAR"
property=
"id"
/>
<result
column=
"class_leaders_id"
jdbcType=
"VARCHAR"
property=
"classLeadersId"
/>
<result
column=
"class_leaders"
jdbcType=
"VARCHAR"
property=
"classLeaders"
/>
<result
column=
"department"
jdbcType=
"VARCHAR"
property=
"department"
/>
<result
column=
"post_leaders"
jdbcType=
"VARCHAR"
property=
"postLeaders"
/>
<result
column=
"morning"
jdbcType=
"VARCHAR"
property=
"morning"
/>
<result
column=
"noon"
jdbcType=
"VARCHAR"
property=
"noon"
/>
<result
column=
"evening"
jdbcType=
"VARCHAR"
property=
"evening"
/>
<result
column=
"watch_people"
jdbcType=
"VARCHAR"
property=
"watchPeople"
/>
<result
column=
"type"
jdbcType=
"VARCHAR"
property=
"type"
/>
<result
column=
"duty_date"
jdbcType=
"VARCHAR"
property=
"dutyDate"
/>
<result
column=
"end_time"
jdbcType=
"TIMESTAMP"
property=
"endTime"
/>
<result
column=
"start_time"
jdbcType=
"TIMESTAMP"
property=
"startTime"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"last_update_time"
jdbcType=
"TIMESTAMP"
property=
"lastUpdateTime"
/>
<result
column=
"on_duty_plan_id"
jdbcType=
"VARCHAR"
property=
"onDutyPlanId"
/>
<result
column=
"duty_stage"
jdbcType=
"VARCHAR"
property=
"dutyStage"
/>
<result
column=
"post_duty"
jdbcType=
"VARCHAR"
property=
"postDuty"
/>
<result
column=
"remark"
jdbcType=
"VARCHAR"
property=
"remark"
/>
<result
column=
"number_days"
jdbcType=
"VARCHAR"
property=
"numberDays"
/>
<result
column=
"holiday"
jdbcType=
"VARCHAR"
property=
"holiday"
/>
<result
column=
"holiday_name"
jdbcType=
"VARCHAR"
property=
"holidayName"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
<where>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Update_By_Example_Where_Clause"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
<where>
<foreach
collection=
"example.oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
id, class_leaders_id, class_leaders, department, post_leaders, morning, noon, evening,
watch_people, type, duty_date, end_time, start_time, create_time, last_update_time,
on_duty_plan_id, duty_stage, post_duty, remark, number_days, holiday, holiday_name
</sql>
<select
id=
"selectByExample"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcDutyExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from cc_duty
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.String"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
select
<include
refid=
"Base_Column_List"
/>
from cc_duty
where id = #{id,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.String"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
delete from cc_duty
where id = #{id,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcDutyExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
delete from cc_duty
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcDuty"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
insert into cc_duty (id, class_leaders_id, class_leaders,
department, post_leaders, morning,
noon, evening, watch_people,
type, duty_date, end_time,
start_time, create_time, last_update_time,
on_duty_plan_id, duty_stage, post_duty,
remark, number_days, holiday,
holiday_name)
values (#{id,jdbcType=VARCHAR}, #{classLeadersId,jdbcType=VARCHAR}, #{classLeaders,jdbcType=VARCHAR},
#{department,jdbcType=VARCHAR}, #{postLeaders,jdbcType=VARCHAR}, #{morning,jdbcType=VARCHAR},
#{noon,jdbcType=VARCHAR}, #{evening,jdbcType=VARCHAR}, #{watchPeople,jdbcType=VARCHAR},
#{type,jdbcType=VARCHAR}, #{dutyDate,jdbcType=VARCHAR}, #{endTime,jdbcType=TIMESTAMP},
#{startTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, #{lastUpdateTime,jdbcType=TIMESTAMP},
#{onDutyPlanId,jdbcType=VARCHAR}, #{dutyStage,jdbcType=VARCHAR}, #{postDuty,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR}, #{numberDays,jdbcType=VARCHAR}, #{holiday,jdbcType=VARCHAR},
#{holidayName,jdbcType=VARCHAR})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcDuty"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
insert into cc_duty
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
</if>
<if
test=
"classLeadersId != null"
>
class_leaders_id,
</if>
<if
test=
"classLeaders != null"
>
class_leaders,
</if>
<if
test=
"department != null"
>
department,
</if>
<if
test=
"postLeaders != null"
>
post_leaders,
</if>
<if
test=
"morning != null"
>
morning,
</if>
<if
test=
"noon != null"
>
noon,
</if>
<if
test=
"evening != null"
>
evening,
</if>
<if
test=
"watchPeople != null"
>
watch_people,
</if>
<if
test=
"type != null"
>
type,
</if>
<if
test=
"dutyDate != null"
>
duty_date,
</if>
<if
test=
"endTime != null"
>
end_time,
</if>
<if
test=
"startTime != null"
>
start_time,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"lastUpdateTime != null"
>
last_update_time,
</if>
<if
test=
"onDutyPlanId != null"
>
on_duty_plan_id,
</if>
<if
test=
"dutyStage != null"
>
duty_stage,
</if>
<if
test=
"postDuty != null"
>
post_duty,
</if>
<if
test=
"remark != null"
>
remark,
</if>
<if
test=
"numberDays != null"
>
number_days,
</if>
<if
test=
"holiday != null"
>
holiday,
</if>
<if
test=
"holidayName != null"
>
holiday_name,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
#{id,jdbcType=VARCHAR},
</if>
<if
test=
"classLeadersId != null"
>
#{classLeadersId,jdbcType=VARCHAR},
</if>
<if
test=
"classLeaders != null"
>
#{classLeaders,jdbcType=VARCHAR},
</if>
<if
test=
"department != null"
>
#{department,jdbcType=VARCHAR},
</if>
<if
test=
"postLeaders != null"
>
#{postLeaders,jdbcType=VARCHAR},
</if>
<if
test=
"morning != null"
>
#{morning,jdbcType=VARCHAR},
</if>
<if
test=
"noon != null"
>
#{noon,jdbcType=VARCHAR},
</if>
<if
test=
"evening != null"
>
#{evening,jdbcType=VARCHAR},
</if>
<if
test=
"watchPeople != null"
>
#{watchPeople,jdbcType=VARCHAR},
</if>
<if
test=
"type != null"
>
#{type,jdbcType=VARCHAR},
</if>
<if
test=
"dutyDate != null"
>
#{dutyDate,jdbcType=VARCHAR},
</if>
<if
test=
"endTime != null"
>
#{endTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"startTime != null"
>
#{startTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"lastUpdateTime != null"
>
#{lastUpdateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"onDutyPlanId != null"
>
#{onDutyPlanId,jdbcType=VARCHAR},
</if>
<if
test=
"dutyStage != null"
>
#{dutyStage,jdbcType=VARCHAR},
</if>
<if
test=
"postDuty != null"
>
#{postDuty,jdbcType=VARCHAR},
</if>
<if
test=
"remark != null"
>
#{remark,jdbcType=VARCHAR},
</if>
<if
test=
"numberDays != null"
>
#{numberDays,jdbcType=VARCHAR},
</if>
<if
test=
"holiday != null"
>
#{holiday,jdbcType=VARCHAR},
</if>
<if
test=
"holidayName != null"
>
#{holidayName,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcDutyExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
select count(*) from cc_duty
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
update cc_duty
<set>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=VARCHAR},
</if>
<if
test=
"record.classLeadersId != null"
>
class_leaders_id = #{record.classLeadersId,jdbcType=VARCHAR},
</if>
<if
test=
"record.classLeaders != null"
>
class_leaders = #{record.classLeaders,jdbcType=VARCHAR},
</if>
<if
test=
"record.department != null"
>
department = #{record.department,jdbcType=VARCHAR},
</if>
<if
test=
"record.postLeaders != null"
>
post_leaders = #{record.postLeaders,jdbcType=VARCHAR},
</if>
<if
test=
"record.morning != null"
>
morning = #{record.morning,jdbcType=VARCHAR},
</if>
<if
test=
"record.noon != null"
>
noon = #{record.noon,jdbcType=VARCHAR},
</if>
<if
test=
"record.evening != null"
>
evening = #{record.evening,jdbcType=VARCHAR},
</if>
<if
test=
"record.watchPeople != null"
>
watch_people = #{record.watchPeople,jdbcType=VARCHAR},
</if>
<if
test=
"record.type != null"
>
type = #{record.type,jdbcType=VARCHAR},
</if>
<if
test=
"record.dutyDate != null"
>
duty_date = #{record.dutyDate,jdbcType=VARCHAR},
</if>
<if
test=
"record.endTime != null"
>
end_time = #{record.endTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.startTime != null"
>
start_time = #{record.startTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.createTime != null"
>
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.lastUpdateTime != null"
>
last_update_time = #{record.lastUpdateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.onDutyPlanId != null"
>
on_duty_plan_id = #{record.onDutyPlanId,jdbcType=VARCHAR},
</if>
<if
test=
"record.dutyStage != null"
>
duty_stage = #{record.dutyStage,jdbcType=VARCHAR},
</if>
<if
test=
"record.postDuty != null"
>
post_duty = #{record.postDuty,jdbcType=VARCHAR},
</if>
<if
test=
"record.remark != null"
>
remark = #{record.remark,jdbcType=VARCHAR},
</if>
<if
test=
"record.numberDays != null"
>
number_days = #{record.numberDays,jdbcType=VARCHAR},
</if>
<if
test=
"record.holiday != null"
>
holiday = #{record.holiday,jdbcType=VARCHAR},
</if>
<if
test=
"record.holidayName != null"
>
holiday_name = #{record.holidayName,jdbcType=VARCHAR},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
update cc_duty
set id = #{record.id,jdbcType=VARCHAR},
class_leaders_id = #{record.classLeadersId,jdbcType=VARCHAR},
class_leaders = #{record.classLeaders,jdbcType=VARCHAR},
department = #{record.department,jdbcType=VARCHAR},
post_leaders = #{record.postLeaders,jdbcType=VARCHAR},
morning = #{record.morning,jdbcType=VARCHAR},
noon = #{record.noon,jdbcType=VARCHAR},
evening = #{record.evening,jdbcType=VARCHAR},
watch_people = #{record.watchPeople,jdbcType=VARCHAR},
type = #{record.type,jdbcType=VARCHAR},
duty_date = #{record.dutyDate,jdbcType=VARCHAR},
end_time = #{record.endTime,jdbcType=TIMESTAMP},
start_time = #{record.startTime,jdbcType=TIMESTAMP},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
last_update_time = #{record.lastUpdateTime,jdbcType=TIMESTAMP},
on_duty_plan_id = #{record.onDutyPlanId,jdbcType=VARCHAR},
duty_stage = #{record.dutyStage,jdbcType=VARCHAR},
post_duty = #{record.postDuty,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR},
number_days = #{record.numberDays,jdbcType=VARCHAR},
holiday = #{record.holiday,jdbcType=VARCHAR},
holiday_name = #{record.holidayName,jdbcType=VARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcDuty"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
update cc_duty
<set>
<if
test=
"classLeadersId != null"
>
class_leaders_id = #{classLeadersId,jdbcType=VARCHAR},
</if>
<if
test=
"classLeaders != null"
>
class_leaders = #{classLeaders,jdbcType=VARCHAR},
</if>
<if
test=
"department != null"
>
department = #{department,jdbcType=VARCHAR},
</if>
<if
test=
"postLeaders != null"
>
post_leaders = #{postLeaders,jdbcType=VARCHAR},
</if>
<if
test=
"morning != null"
>
morning = #{morning,jdbcType=VARCHAR},
</if>
<if
test=
"noon != null"
>
noon = #{noon,jdbcType=VARCHAR},
</if>
<if
test=
"evening != null"
>
evening = #{evening,jdbcType=VARCHAR},
</if>
<if
test=
"watchPeople != null"
>
watch_people = #{watchPeople,jdbcType=VARCHAR},
</if>
<if
test=
"type != null"
>
type = #{type,jdbcType=VARCHAR},
</if>
<if
test=
"dutyDate != null"
>
duty_date = #{dutyDate,jdbcType=VARCHAR},
</if>
<if
test=
"endTime != null"
>
end_time = #{endTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"startTime != null"
>
start_time = #{startTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"lastUpdateTime != null"
>
last_update_time = #{lastUpdateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"onDutyPlanId != null"
>
on_duty_plan_id = #{onDutyPlanId,jdbcType=VARCHAR},
</if>
<if
test=
"dutyStage != null"
>
duty_stage = #{dutyStage,jdbcType=VARCHAR},
</if>
<if
test=
"postDuty != null"
>
post_duty = #{postDuty,jdbcType=VARCHAR},
</if>
<if
test=
"remark != null"
>
remark = #{remark,jdbcType=VARCHAR},
</if>
<if
test=
"numberDays != null"
>
number_days = #{numberDays,jdbcType=VARCHAR},
</if>
<if
test=
"holiday != null"
>
holiday = #{holiday,jdbcType=VARCHAR},
</if>
<if
test=
"holidayName != null"
>
holiday_name = #{holidayName,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcDuty"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
update cc_duty
set class_leaders_id = #{classLeadersId,jdbcType=VARCHAR},
class_leaders = #{classLeaders,jdbcType=VARCHAR},
department = #{department,jdbcType=VARCHAR},
post_leaders = #{postLeaders,jdbcType=VARCHAR},
morning = #{morning,jdbcType=VARCHAR},
noon = #{noon,jdbcType=VARCHAR},
evening = #{evening,jdbcType=VARCHAR},
watch_people = #{watchPeople,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
duty_date = #{dutyDate,jdbcType=VARCHAR},
end_time = #{endTime,jdbcType=TIMESTAMP},
start_time = #{startTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
last_update_time = #{lastUpdateTime,jdbcType=TIMESTAMP},
on_duty_plan_id = #{onDutyPlanId,jdbcType=VARCHAR},
duty_stage = #{dutyStage,jdbcType=VARCHAR},
post_duty = #{postDuty,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
number_days = #{numberDays,jdbcType=VARCHAR},
holiday = #{holiday,jdbcType=VARCHAR},
holiday_name = #{holidayName,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
</update>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcDutyExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from cc_duty
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
</mapper>
\ No newline at end of file
web/src/main/resources/mybatis/com/haomostudio/zhangjiakouapibackend/CcDutyPlanMapper.xml
deleted
100644 → 0
View file @
d5f2b06c
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.haomostudio.zhangjiakouapibackend.dao.CcDutyPlanMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.haomostudio.zhangjiakouapibackend.po.CcDutyPlan"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
<id
column=
"id"
jdbcType=
"VARCHAR"
property=
"id"
/>
<result
column=
"name"
jdbcType=
"VARCHAR"
property=
"name"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"last_update_time"
jdbcType=
"TIMESTAMP"
property=
"lastUpdateTime"
/>
<result
column=
"duty_type"
jdbcType=
"VARCHAR"
property=
"dutyType"
/>
<result
column=
"what_year"
jdbcType=
"VARCHAR"
property=
"whatYear"
/>
<result
column=
"what_month"
jdbcType=
"VARCHAR"
property=
"whatMonth"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
<where>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Update_By_Example_Where_Clause"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
<where>
<foreach
collection=
"example.oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
id, name, create_time, last_update_time, duty_type, what_year, what_month
</sql>
<select
id=
"selectByExample"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcDutyPlanExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from cc_duty_plan
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.String"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
select
<include
refid=
"Base_Column_List"
/>
from cc_duty_plan
where id = #{id,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.String"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
delete from cc_duty_plan
where id = #{id,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcDutyPlanExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
delete from cc_duty_plan
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcDutyPlan"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
insert into cc_duty_plan (id, name, create_time,
last_update_time, duty_type, what_year,
what_month)
values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{lastUpdateTime,jdbcType=TIMESTAMP}, #{dutyType,jdbcType=VARCHAR}, #{whatYear,jdbcType=VARCHAR},
#{whatMonth,jdbcType=VARCHAR})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcDutyPlan"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
insert into cc_duty_plan
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
</if>
<if
test=
"name != null"
>
name,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"lastUpdateTime != null"
>
last_update_time,
</if>
<if
test=
"dutyType != null"
>
duty_type,
</if>
<if
test=
"whatYear != null"
>
what_year,
</if>
<if
test=
"whatMonth != null"
>
what_month,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
#{id,jdbcType=VARCHAR},
</if>
<if
test=
"name != null"
>
#{name,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"lastUpdateTime != null"
>
#{lastUpdateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"dutyType != null"
>
#{dutyType,jdbcType=VARCHAR},
</if>
<if
test=
"whatYear != null"
>
#{whatYear,jdbcType=VARCHAR},
</if>
<if
test=
"whatMonth != null"
>
#{whatMonth,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcDutyPlanExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
select count(*) from cc_duty_plan
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
update cc_duty_plan
<set>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=VARCHAR},
</if>
<if
test=
"record.name != null"
>
name = #{record.name,jdbcType=VARCHAR},
</if>
<if
test=
"record.createTime != null"
>
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.lastUpdateTime != null"
>
last_update_time = #{record.lastUpdateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.dutyType != null"
>
duty_type = #{record.dutyType,jdbcType=VARCHAR},
</if>
<if
test=
"record.whatYear != null"
>
what_year = #{record.whatYear,jdbcType=VARCHAR},
</if>
<if
test=
"record.whatMonth != null"
>
what_month = #{record.whatMonth,jdbcType=VARCHAR},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
update cc_duty_plan
set id = #{record.id,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
last_update_time = #{record.lastUpdateTime,jdbcType=TIMESTAMP},
duty_type = #{record.dutyType,jdbcType=VARCHAR},
what_year = #{record.whatYear,jdbcType=VARCHAR},
what_month = #{record.whatMonth,jdbcType=VARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcDutyPlan"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
update cc_duty_plan
<set>
<if
test=
"name != null"
>
name = #{name,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"lastUpdateTime != null"
>
last_update_time = #{lastUpdateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"dutyType != null"
>
duty_type = #{dutyType,jdbcType=VARCHAR},
</if>
<if
test=
"whatYear != null"
>
what_year = #{whatYear,jdbcType=VARCHAR},
</if>
<if
test=
"whatMonth != null"
>
what_month = #{whatMonth,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcDutyPlan"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
update cc_duty_plan
set name = #{name,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
last_update_time = #{lastUpdateTime,jdbcType=TIMESTAMP},
duty_type = #{dutyType,jdbcType=VARCHAR},
what_year = #{whatYear,jdbcType=VARCHAR},
what_month = #{whatMonth,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
</update>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcDutyPlanExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from cc_duty_plan
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
</mapper>
\ No newline at end of file
web/src/main/resources/mybatis/com/haomostudio/zhangjiakouapibackend/CcMemorandumMapper.xml
deleted
100644 → 0
View file @
d5f2b06c
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.haomostudio.zhangjiakouapibackend.dao.CcMemorandumMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.haomostudio.zhangjiakouapibackend.po.CcMemorandum"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
<id
column=
"id"
jdbcType=
"VARCHAR"
property=
"id"
/>
<result
column=
"last_update_time"
jdbcType=
"TIMESTAMP"
property=
"lastUpdateTime"
/>
<result
column=
"completion_time"
jdbcType=
"TIMESTAMP"
property=
"completionTime"
/>
<result
column=
"time_completed"
jdbcType=
"TIMESTAMP"
property=
"timeCompleted"
/>
<result
column=
"tile"
jdbcType=
"VARCHAR"
property=
"tile"
/>
<result
column=
"content"
jdbcType=
"VARCHAR"
property=
"content"
/>
<result
column=
"modes"
jdbcType=
"INTEGER"
property=
"modes"
/>
<result
column=
"user_id"
jdbcType=
"VARCHAR"
property=
"userId"
/>
<result
column=
"status"
jdbcType=
"VARCHAR"
property=
"status"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
<where>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Update_By_Example_Where_Clause"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
<where>
<foreach
collection=
"example.oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
id, last_update_time, completion_time, time_completed, tile, content, modes, user_id,
status
</sql>
<select
id=
"selectByExample"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcMemorandumExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from cc_memorandum
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.String"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
select
<include
refid=
"Base_Column_List"
/>
from cc_memorandum
where id = #{id,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.String"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
delete from cc_memorandum
where id = #{id,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcMemorandumExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
delete from cc_memorandum
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcMemorandum"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
insert into cc_memorandum (id, last_update_time, completion_time,
time_completed, tile, content,
modes, user_id, status
)
values (#{id,jdbcType=VARCHAR}, #{lastUpdateTime,jdbcType=TIMESTAMP}, #{completionTime,jdbcType=TIMESTAMP},
#{timeCompleted,jdbcType=TIMESTAMP}, #{tile,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR},
#{modes,jdbcType=INTEGER}, #{userId,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcMemorandum"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
insert into cc_memorandum
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
</if>
<if
test=
"lastUpdateTime != null"
>
last_update_time,
</if>
<if
test=
"completionTime != null"
>
completion_time,
</if>
<if
test=
"timeCompleted != null"
>
time_completed,
</if>
<if
test=
"tile != null"
>
tile,
</if>
<if
test=
"content != null"
>
content,
</if>
<if
test=
"modes != null"
>
modes,
</if>
<if
test=
"userId != null"
>
user_id,
</if>
<if
test=
"status != null"
>
status,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
#{id,jdbcType=VARCHAR},
</if>
<if
test=
"lastUpdateTime != null"
>
#{lastUpdateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"completionTime != null"
>
#{completionTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"timeCompleted != null"
>
#{timeCompleted,jdbcType=TIMESTAMP},
</if>
<if
test=
"tile != null"
>
#{tile,jdbcType=VARCHAR},
</if>
<if
test=
"content != null"
>
#{content,jdbcType=VARCHAR},
</if>
<if
test=
"modes != null"
>
#{modes,jdbcType=INTEGER},
</if>
<if
test=
"userId != null"
>
#{userId,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
#{status,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcMemorandumExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
select count(*) from cc_memorandum
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
update cc_memorandum
<set>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=VARCHAR},
</if>
<if
test=
"record.lastUpdateTime != null"
>
last_update_time = #{record.lastUpdateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.completionTime != null"
>
completion_time = #{record.completionTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.timeCompleted != null"
>
time_completed = #{record.timeCompleted,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.tile != null"
>
tile = #{record.tile,jdbcType=VARCHAR},
</if>
<if
test=
"record.content != null"
>
content = #{record.content,jdbcType=VARCHAR},
</if>
<if
test=
"record.modes != null"
>
modes = #{record.modes,jdbcType=INTEGER},
</if>
<if
test=
"record.userId != null"
>
user_id = #{record.userId,jdbcType=VARCHAR},
</if>
<if
test=
"record.status != null"
>
status = #{record.status,jdbcType=VARCHAR},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
update cc_memorandum
set id = #{record.id,jdbcType=VARCHAR},
last_update_time = #{record.lastUpdateTime,jdbcType=TIMESTAMP},
completion_time = #{record.completionTime,jdbcType=TIMESTAMP},
time_completed = #{record.timeCompleted,jdbcType=TIMESTAMP},
tile = #{record.tile,jdbcType=VARCHAR},
content = #{record.content,jdbcType=VARCHAR},
modes = #{record.modes,jdbcType=INTEGER},
user_id = #{record.userId,jdbcType=VARCHAR},
status = #{record.status,jdbcType=VARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcMemorandum"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
update cc_memorandum
<set>
<if
test=
"lastUpdateTime != null"
>
last_update_time = #{lastUpdateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"completionTime != null"
>
completion_time = #{completionTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"timeCompleted != null"
>
time_completed = #{timeCompleted,jdbcType=TIMESTAMP},
</if>
<if
test=
"tile != null"
>
tile = #{tile,jdbcType=VARCHAR},
</if>
<if
test=
"content != null"
>
content = #{content,jdbcType=VARCHAR},
</if>
<if
test=
"modes != null"
>
modes = #{modes,jdbcType=INTEGER},
</if>
<if
test=
"userId != null"
>
user_id = #{userId,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
status = #{status,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcMemorandum"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
update cc_memorandum
set last_update_time = #{lastUpdateTime,jdbcType=TIMESTAMP},
completion_time = #{completionTime,jdbcType=TIMESTAMP},
time_completed = #{timeCompleted,jdbcType=TIMESTAMP},
tile = #{tile,jdbcType=VARCHAR},
content = #{content,jdbcType=VARCHAR},
modes = #{modes,jdbcType=INTEGER},
user_id = #{userId,jdbcType=VARCHAR},
status = #{status,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
</update>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcMemorandumExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from cc_memorandum
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
</mapper>
\ No newline at end of file
web/src/main/resources/mybatis/com/haomostudio/zhangjiakouapibackend/CcShiftMapper.xml
deleted
100644 → 0
View file @
d5f2b06c
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.haomostudio.zhangjiakouapibackend.dao.CcShiftMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.haomostudio.zhangjiakouapibackend.po.CcShift"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
<id
column=
"id"
jdbcType=
"VARCHAR"
property=
"id"
/>
<result
column=
"applicant_id"
jdbcType=
"VARCHAR"
property=
"applicantId"
/>
<result
column=
"applicant"
jdbcType=
"VARCHAR"
property=
"applicant"
/>
<result
column=
"transferred_name"
jdbcType=
"VARCHAR"
property=
"transferredName"
/>
<result
column=
"transferred_class"
jdbcType=
"VARCHAR"
property=
"transferredClass"
/>
<result
column=
"shift_time"
jdbcType=
"VARCHAR"
property=
"shiftTime"
/>
<result
column=
"applicant_duty_id"
jdbcType=
"VARCHAR"
property=
"applicantDutyId"
/>
<result
column=
"transferred_class_time"
jdbcType=
"VARCHAR"
property=
"transferredClassTime"
/>
<result
column=
"transferred_class_duty_id"
jdbcType=
"VARCHAR"
property=
"transferredClassDutyId"
/>
<result
column=
"status"
jdbcType=
"INTEGER"
property=
"status"
/>
<result
column=
"reason"
jdbcType=
"VARCHAR"
property=
"reason"
/>
<result
column=
"application_time"
jdbcType=
"TIMESTAMP"
property=
"applicationTime"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"last_update_time"
jdbcType=
"TIMESTAMP"
property=
"lastUpdateTime"
/>
<result
column=
"leader_id"
jdbcType=
"VARCHAR"
property=
"leaderId"
/>
<result
column=
"applicant_position"
jdbcType=
"VARCHAR"
property=
"applicantPosition"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
<where>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Update_By_Example_Where_Clause"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
<where>
<foreach
collection=
"example.oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
id, applicant_id, applicant, transferred_name, transferred_class, shift_time, applicant_duty_id,
transferred_class_time, transferred_class_duty_id, status, reason, application_time,
create_time, last_update_time, leader_id, applicant_position
</sql>
<select
id=
"selectByExample"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcShiftExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from cc_shift
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.String"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
select
<include
refid=
"Base_Column_List"
/>
from cc_shift
where id = #{id,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.String"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
delete from cc_shift
where id = #{id,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcShiftExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
delete from cc_shift
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcShift"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
insert into cc_shift (id, applicant_id, applicant,
transferred_name, transferred_class, shift_time,
applicant_duty_id, transferred_class_time,
transferred_class_duty_id, status, reason,
application_time, create_time, last_update_time,
leader_id, applicant_position)
values (#{id,jdbcType=VARCHAR}, #{applicantId,jdbcType=VARCHAR}, #{applicant,jdbcType=VARCHAR},
#{transferredName,jdbcType=VARCHAR}, #{transferredClass,jdbcType=VARCHAR}, #{shiftTime,jdbcType=VARCHAR},
#{applicantDutyId,jdbcType=VARCHAR}, #{transferredClassTime,jdbcType=VARCHAR},
#{transferredClassDutyId,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{reason,jdbcType=VARCHAR},
#{applicationTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, #{lastUpdateTime,jdbcType=TIMESTAMP},
#{leaderId,jdbcType=VARCHAR}, #{applicantPosition,jdbcType=VARCHAR})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcShift"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
insert into cc_shift
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
</if>
<if
test=
"applicantId != null"
>
applicant_id,
</if>
<if
test=
"applicant != null"
>
applicant,
</if>
<if
test=
"transferredName != null"
>
transferred_name,
</if>
<if
test=
"transferredClass != null"
>
transferred_class,
</if>
<if
test=
"shiftTime != null"
>
shift_time,
</if>
<if
test=
"applicantDutyId != null"
>
applicant_duty_id,
</if>
<if
test=
"transferredClassTime != null"
>
transferred_class_time,
</if>
<if
test=
"transferredClassDutyId != null"
>
transferred_class_duty_id,
</if>
<if
test=
"status != null"
>
status,
</if>
<if
test=
"reason != null"
>
reason,
</if>
<if
test=
"applicationTime != null"
>
application_time,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"lastUpdateTime != null"
>
last_update_time,
</if>
<if
test=
"leaderId != null"
>
leader_id,
</if>
<if
test=
"applicantPosition != null"
>
applicant_position,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
#{id,jdbcType=VARCHAR},
</if>
<if
test=
"applicantId != null"
>
#{applicantId,jdbcType=VARCHAR},
</if>
<if
test=
"applicant != null"
>
#{applicant,jdbcType=VARCHAR},
</if>
<if
test=
"transferredName != null"
>
#{transferredName,jdbcType=VARCHAR},
</if>
<if
test=
"transferredClass != null"
>
#{transferredClass,jdbcType=VARCHAR},
</if>
<if
test=
"shiftTime != null"
>
#{shiftTime,jdbcType=VARCHAR},
</if>
<if
test=
"applicantDutyId != null"
>
#{applicantDutyId,jdbcType=VARCHAR},
</if>
<if
test=
"transferredClassTime != null"
>
#{transferredClassTime,jdbcType=VARCHAR},
</if>
<if
test=
"transferredClassDutyId != null"
>
#{transferredClassDutyId,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
#{status,jdbcType=INTEGER},
</if>
<if
test=
"reason != null"
>
#{reason,jdbcType=VARCHAR},
</if>
<if
test=
"applicationTime != null"
>
#{applicationTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"lastUpdateTime != null"
>
#{lastUpdateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"leaderId != null"
>
#{leaderId,jdbcType=VARCHAR},
</if>
<if
test=
"applicantPosition != null"
>
#{applicantPosition,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcShiftExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
select count(*) from cc_shift
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
update cc_shift
<set>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=VARCHAR},
</if>
<if
test=
"record.applicantId != null"
>
applicant_id = #{record.applicantId,jdbcType=VARCHAR},
</if>
<if
test=
"record.applicant != null"
>
applicant = #{record.applicant,jdbcType=VARCHAR},
</if>
<if
test=
"record.transferredName != null"
>
transferred_name = #{record.transferredName,jdbcType=VARCHAR},
</if>
<if
test=
"record.transferredClass != null"
>
transferred_class = #{record.transferredClass,jdbcType=VARCHAR},
</if>
<if
test=
"record.shiftTime != null"
>
shift_time = #{record.shiftTime,jdbcType=VARCHAR},
</if>
<if
test=
"record.applicantDutyId != null"
>
applicant_duty_id = #{record.applicantDutyId,jdbcType=VARCHAR},
</if>
<if
test=
"record.transferredClassTime != null"
>
transferred_class_time = #{record.transferredClassTime,jdbcType=VARCHAR},
</if>
<if
test=
"record.transferredClassDutyId != null"
>
transferred_class_duty_id = #{record.transferredClassDutyId,jdbcType=VARCHAR},
</if>
<if
test=
"record.status != null"
>
status = #{record.status,jdbcType=INTEGER},
</if>
<if
test=
"record.reason != null"
>
reason = #{record.reason,jdbcType=VARCHAR},
</if>
<if
test=
"record.applicationTime != null"
>
application_time = #{record.applicationTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.createTime != null"
>
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.lastUpdateTime != null"
>
last_update_time = #{record.lastUpdateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.leaderId != null"
>
leader_id = #{record.leaderId,jdbcType=VARCHAR},
</if>
<if
test=
"record.applicantPosition != null"
>
applicant_position = #{record.applicantPosition,jdbcType=VARCHAR},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
update cc_shift
set id = #{record.id,jdbcType=VARCHAR},
applicant_id = #{record.applicantId,jdbcType=VARCHAR},
applicant = #{record.applicant,jdbcType=VARCHAR},
transferred_name = #{record.transferredName,jdbcType=VARCHAR},
transferred_class = #{record.transferredClass,jdbcType=VARCHAR},
shift_time = #{record.shiftTime,jdbcType=VARCHAR},
applicant_duty_id = #{record.applicantDutyId,jdbcType=VARCHAR},
transferred_class_time = #{record.transferredClassTime,jdbcType=VARCHAR},
transferred_class_duty_id = #{record.transferredClassDutyId,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
reason = #{record.reason,jdbcType=VARCHAR},
application_time = #{record.applicationTime,jdbcType=TIMESTAMP},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
last_update_time = #{record.lastUpdateTime,jdbcType=TIMESTAMP},
leader_id = #{record.leaderId,jdbcType=VARCHAR},
applicant_position = #{record.applicantPosition,jdbcType=VARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcShift"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
update cc_shift
<set>
<if
test=
"applicantId != null"
>
applicant_id = #{applicantId,jdbcType=VARCHAR},
</if>
<if
test=
"applicant != null"
>
applicant = #{applicant,jdbcType=VARCHAR},
</if>
<if
test=
"transferredName != null"
>
transferred_name = #{transferredName,jdbcType=VARCHAR},
</if>
<if
test=
"transferredClass != null"
>
transferred_class = #{transferredClass,jdbcType=VARCHAR},
</if>
<if
test=
"shiftTime != null"
>
shift_time = #{shiftTime,jdbcType=VARCHAR},
</if>
<if
test=
"applicantDutyId != null"
>
applicant_duty_id = #{applicantDutyId,jdbcType=VARCHAR},
</if>
<if
test=
"transferredClassTime != null"
>
transferred_class_time = #{transferredClassTime,jdbcType=VARCHAR},
</if>
<if
test=
"transferredClassDutyId != null"
>
transferred_class_duty_id = #{transferredClassDutyId,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
status = #{status,jdbcType=INTEGER},
</if>
<if
test=
"reason != null"
>
reason = #{reason,jdbcType=VARCHAR},
</if>
<if
test=
"applicationTime != null"
>
application_time = #{applicationTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"lastUpdateTime != null"
>
last_update_time = #{lastUpdateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"leaderId != null"
>
leader_id = #{leaderId,jdbcType=VARCHAR},
</if>
<if
test=
"applicantPosition != null"
>
applicant_position = #{applicantPosition,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcShift"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
update cc_shift
set applicant_id = #{applicantId,jdbcType=VARCHAR},
applicant = #{applicant,jdbcType=VARCHAR},
transferred_name = #{transferredName,jdbcType=VARCHAR},
transferred_class = #{transferredClass,jdbcType=VARCHAR},
shift_time = #{shiftTime,jdbcType=VARCHAR},
applicant_duty_id = #{applicantDutyId,jdbcType=VARCHAR},
transferred_class_time = #{transferredClassTime,jdbcType=VARCHAR},
transferred_class_duty_id = #{transferredClassDutyId,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
reason = #{reason,jdbcType=VARCHAR},
application_time = #{applicationTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
last_update_time = #{lastUpdateTime,jdbcType=TIMESTAMP},
leader_id = #{leaderId,jdbcType=VARCHAR},
applicant_position = #{applicantPosition,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
</update>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"com.haomostudio.zhangjiakouapibackend.po.CcShiftExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Mar 16 09:45:46 CST 2018.
-->
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from cc_shift
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
</mapper>
\ No newline at end of file
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