Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
ee8428d8
Commit
ee8428d8
authored
Dec 18, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
签到
parent
84dd223f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2889 additions
and
2 deletions
+2889
-2
ch-dao/src/main/java/com/wwdz/ch/db/domain/qiandao/SignInTask.java
...c/main/java/com/wwdz/ch/db/domain/qiandao/SignInTask.java
+336
-0
ch-dao/src/main/java/com/wwdz/ch/db/domain/qiandao/SignInTaskExample.java
...java/com/wwdz/ch/db/domain/qiandao/SignInTaskExample.java
+2049
-0
ch-dao/src/main/java/com/wwdz/ch/db/mapper/qiandao/SignInTaskMapper.java
.../java/com/wwdz/ch/db/mapper/qiandao/SignInTaskMapper.java
+66
-0
ch-dao/src/main/resources/com/wwdz/ch/db/mapper/qiandao/SignInTaskMapper.xml
...ources/com/wwdz/ch/db/mapper/qiandao/SignInTaskMapper.xml
+436
-0
ch-wx-api/src/main/java/com/wwdz/ch/wx/job/SendMsgFromExcelJob.java
...src/main/java/com/wwdz/ch/wx/job/SendMsgFromExcelJob.java
+2
-2
No files found.
ch-dao/src/main/java/com/wwdz/ch/db/domain/qiandao/SignInTask.java
0 → 100644
View file @
ee8428d8
package
com.wwdz.ch.db.domain.qiandao
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Date
;
import
com.xxdxxs.entity.Entity
;
import
lombok.Data
;
/**
* @author shiyu
* @date 2024/12/18
*/
@Data
public
class
SignInTask
implements
Entity
{
private
Long
id
;
/**
* 签到任务名称
*/
private
String
name
;
/**
* 图片
*/
private
String
image
;
/**
* 开始生效时间
*/
private
Date
startValidTime
;
/**
* 有效截止时间
*/
private
Date
endValidTime
;
/**
* 打卡开始时间
*/
private
Date
signInStartTime
;
/**
* 打卡结束时间
*/
private
Date
signInEndTime
;
/**
* 打卡目标天数
*/
private
Integer
goalDays
;
/**
* 打开类型(1连续,2累计)
*/
private
Integer
type
;
/**
* 状态
*/
private
Integer
state
;
/**
* 描述
*/
private
String
desc
;
/**
* 创建人id
*/
private
Long
creatorId
;
/**
* 是否私有
*/
private
Boolean
isPrivate
;
private
static
final
long
serialVersionUID
=
1L
;
@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
(
", image="
).
append
(
image
);
sb
.
append
(
", startValidTime="
).
append
(
startValidTime
);
sb
.
append
(
", endValidTime="
).
append
(
endValidTime
);
sb
.
append
(
", signInStartTime="
).
append
(
signInStartTime
);
sb
.
append
(
", signInEndTime="
).
append
(
signInEndTime
);
sb
.
append
(
", goalDays="
).
append
(
goalDays
);
sb
.
append
(
", type="
).
append
(
type
);
sb
.
append
(
", state="
).
append
(
state
);
sb
.
append
(
", desc="
).
append
(
desc
);
sb
.
append
(
", creatorId="
).
append
(
creatorId
);
sb
.
append
(
", isPrivate="
).
append
(
isPrivate
);
sb
.
append
(
", serialVersionUID="
).
append
(
serialVersionUID
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
@Override
public
boolean
equals
(
Object
that
)
{
if
(
this
==
that
)
{
return
true
;
}
if
(
that
==
null
)
{
return
false
;
}
if
(
getClass
()
!=
that
.
getClass
())
{
return
false
;
}
SignInTask
other
=
(
SignInTask
)
that
;
return
(
this
.
getId
()
==
null
?
other
.
getId
()
==
null
:
this
.
getId
().
equals
(
other
.
getId
()))
&&
(
this
.
getName
()
==
null
?
other
.
getName
()
==
null
:
this
.
getName
().
equals
(
other
.
getName
()))
&&
(
this
.
getImage
()
==
null
?
other
.
getImage
()
==
null
:
this
.
getImage
().
equals
(
other
.
getImage
()))
&&
(
this
.
getStartValidTime
()
==
null
?
other
.
getStartValidTime
()
==
null
:
this
.
getStartValidTime
().
equals
(
other
.
getStartValidTime
()))
&&
(
this
.
getEndValidTime
()
==
null
?
other
.
getEndValidTime
()
==
null
:
this
.
getEndValidTime
().
equals
(
other
.
getEndValidTime
()))
&&
(
this
.
getSignInStartTime
()
==
null
?
other
.
getSignInStartTime
()
==
null
:
this
.
getSignInStartTime
().
equals
(
other
.
getSignInStartTime
()))
&&
(
this
.
getSignInEndTime
()
==
null
?
other
.
getSignInEndTime
()
==
null
:
this
.
getSignInEndTime
().
equals
(
other
.
getSignInEndTime
()))
&&
(
this
.
getGoalDays
()
==
null
?
other
.
getGoalDays
()
==
null
:
this
.
getGoalDays
().
equals
(
other
.
getGoalDays
()))
&&
(
this
.
getType
()
==
null
?
other
.
getType
()
==
null
:
this
.
getType
().
equals
(
other
.
getType
()))
&&
(
this
.
getState
()
==
null
?
other
.
getState
()
==
null
:
this
.
getState
().
equals
(
other
.
getState
()))
&&
(
this
.
getDesc
()
==
null
?
other
.
getDesc
()
==
null
:
this
.
getDesc
().
equals
(
other
.
getDesc
()))
&&
(
this
.
getCreatorId
()
==
null
?
other
.
getCreatorId
()
==
null
:
this
.
getCreatorId
().
equals
(
other
.
getCreatorId
()))
&&
(
this
.
getIsPrivate
()
==
null
?
other
.
getIsPrivate
()
==
null
:
this
.
getIsPrivate
().
equals
(
other
.
getIsPrivate
()));
}
@Override
public
int
hashCode
()
{
final
int
prime
=
31
;
int
result
=
1
;
result
=
prime
*
result
+
((
getId
()
==
null
)
?
0
:
getId
().
hashCode
());
result
=
prime
*
result
+
((
getName
()
==
null
)
?
0
:
getName
().
hashCode
());
result
=
prime
*
result
+
((
getImage
()
==
null
)
?
0
:
getImage
().
hashCode
());
result
=
prime
*
result
+
((
getStartValidTime
()
==
null
)
?
0
:
getStartValidTime
().
hashCode
());
result
=
prime
*
result
+
((
getEndValidTime
()
==
null
)
?
0
:
getEndValidTime
().
hashCode
());
result
=
prime
*
result
+
((
getSignInStartTime
()
==
null
)
?
0
:
getSignInStartTime
().
hashCode
());
result
=
prime
*
result
+
((
getSignInEndTime
()
==
null
)
?
0
:
getSignInEndTime
().
hashCode
());
result
=
prime
*
result
+
((
getGoalDays
()
==
null
)
?
0
:
getGoalDays
().
hashCode
());
result
=
prime
*
result
+
((
getType
()
==
null
)
?
0
:
getType
().
hashCode
());
result
=
prime
*
result
+
((
getState
()
==
null
)
?
0
:
getState
().
hashCode
());
result
=
prime
*
result
+
((
getDesc
()
==
null
)
?
0
:
getDesc
().
hashCode
());
result
=
prime
*
result
+
((
getCreatorId
()
==
null
)
?
0
:
getCreatorId
().
hashCode
());
result
=
prime
*
result
+
((
getIsPrivate
()
==
null
)
?
0
:
getIsPrivate
().
hashCode
());
return
result
;
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
enum
Column
{
id
(
"id"
,
"id"
,
"BIGINT"
,
false
),
name
(
"name"
,
"name"
,
"VARCHAR"
,
true
),
image
(
"image"
,
"image"
,
"VARCHAR"
,
false
),
startValidTime
(
"start_valid_time"
,
"startValidTime"
,
"TIMESTAMP"
,
false
),
endValidTime
(
"end_valid_time"
,
"endValidTime"
,
"TIMESTAMP"
,
false
),
signInStartTime
(
"sign_in_start_time"
,
"signInStartTime"
,
"TIMESTAMP"
,
false
),
signInEndTime
(
"sign_in_end_time"
,
"signInEndTime"
,
"TIMESTAMP"
,
false
),
goalDays
(
"goal_days"
,
"goalDays"
,
"INTEGER"
,
false
),
type
(
"type"
,
"type"
,
"INTEGER"
,
true
),
state
(
"state"
,
"state"
,
"INTEGER"
,
true
),
desc
(
"desc"
,
"desc"
,
"VARCHAR"
,
true
),
creatorId
(
"creator_id"
,
"creatorId"
,
"BIGINT"
,
false
),
isPrivate
(
"is_private"
,
"isPrivate"
,
"BIT"
,
false
);
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
static
final
String
BEGINNING_DELIMITER
=
"`"
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
static
final
String
ENDING_DELIMITER
=
"`"
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
column
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
boolean
isColumnNameDelimited
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
javaProperty
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
jdbcType
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
String
value
()
{
return
this
.
column
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
String
getValue
()
{
return
this
.
column
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
String
getJavaProperty
()
{
return
this
.
javaProperty
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
String
getJdbcType
()
{
return
this
.
jdbcType
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column
(
String
column
,
String
javaProperty
,
String
jdbcType
,
boolean
isColumnNameDelimited
)
{
this
.
column
=
column
;
this
.
javaProperty
=
javaProperty
;
this
.
jdbcType
=
jdbcType
;
this
.
isColumnNameDelimited
=
isColumnNameDelimited
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
String
desc
()
{
return
this
.
getEscapedColumnName
()
+
" DESC"
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
String
asc
()
{
return
this
.
getEscapedColumnName
()
+
" ASC"
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
Column
[]
excludes
(
Column
...
excludes
)
{
ArrayList
<
Column
>
columns
=
new
ArrayList
<>(
Arrays
.
asList
(
Column
.
values
()));
if
(
excludes
!=
null
&&
excludes
.
length
>
0
)
{
columns
.
removeAll
(
new
ArrayList
<>(
Arrays
.
asList
(
excludes
)));
}
return
columns
.
toArray
(
new
Column
[]{});
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
String
getEscapedColumnName
()
{
if
(
this
.
isColumnNameDelimited
)
{
return
new
StringBuilder
().
append
(
BEGINNING_DELIMITER
).
append
(
this
.
column
).
append
(
ENDING_DELIMITER
).
toString
();
}
else
{
return
this
.
column
;
}
}
}
}
\ No newline at end of file
ch-dao/src/main/java/com/wwdz/ch/db/domain/qiandao/SignInTaskExample.java
0 → 100644
View file @
ee8428d8
package
com.wwdz.ch.db.domain.qiandao
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
public
class
SignInTaskExample
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
SignInTaskExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
public
String
getOrderByClause
()
{
return
orderByClause
;
}
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
public
boolean
isDistinct
()
{
return
distinct
;
}
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
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 sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
SignInTaskExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
SignInTaskExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
}
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
}
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
Criteria
newAndCreateCriteria
()
{
SignInTaskExample
example
=
new
SignInTaskExample
();
return
example
.
createCriteria
();
}
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
(
Long
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andIdEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"id = "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andIdNotEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"id <> "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andIdGreaterThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"id > "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andIdGreaterThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"id >= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andIdLessThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"id < "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andIdLessThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"id <= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
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
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andNameEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`name` = "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotEqualTo
(
String
value
)
{
addCriterion
(
"`name` <>"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andNameNotEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`name` <> "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThan
(
String
value
)
{
addCriterion
(
"`name` >"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andNameGreaterThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`name` > "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"`name` >="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andNameGreaterThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`name` >= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThan
(
String
value
)
{
addCriterion
(
"`name` <"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andNameLessThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`name` < "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"`name` <="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andNameLessThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`name` <= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
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
andImageIsNull
()
{
addCriterion
(
"image is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImageIsNotNull
()
{
addCriterion
(
"image is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImageEqualTo
(
String
value
)
{
addCriterion
(
"image ="
,
value
,
"image"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andImageEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"image = "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andImageNotEqualTo
(
String
value
)
{
addCriterion
(
"image <>"
,
value
,
"image"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andImageNotEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"image <> "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andImageGreaterThan
(
String
value
)
{
addCriterion
(
"image >"
,
value
,
"image"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andImageGreaterThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"image > "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andImageGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"image >="
,
value
,
"image"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andImageGreaterThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"image >= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andImageLessThan
(
String
value
)
{
addCriterion
(
"image <"
,
value
,
"image"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andImageLessThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"image < "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andImageLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"image <="
,
value
,
"image"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andImageLessThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"image <= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andImageLike
(
String
value
)
{
addCriterion
(
"image like"
,
value
,
"image"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImageNotLike
(
String
value
)
{
addCriterion
(
"image not like"
,
value
,
"image"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImageIn
(
List
<
String
>
values
)
{
addCriterion
(
"image in"
,
values
,
"image"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImageNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"image not in"
,
values
,
"image"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImageBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"image between"
,
value1
,
value2
,
"image"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImageNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"image not between"
,
value1
,
value2
,
"image"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartValidTimeIsNull
()
{
addCriterion
(
"start_valid_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartValidTimeIsNotNull
()
{
addCriterion
(
"start_valid_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartValidTimeEqualTo
(
Date
value
)
{
addCriterion
(
"start_valid_time ="
,
value
,
"startValidTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andStartValidTimeEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"start_valid_time = "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andStartValidTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"start_valid_time <>"
,
value
,
"startValidTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andStartValidTimeNotEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"start_valid_time <> "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andStartValidTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"start_valid_time >"
,
value
,
"startValidTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andStartValidTimeGreaterThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"start_valid_time > "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andStartValidTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"start_valid_time >="
,
value
,
"startValidTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andStartValidTimeGreaterThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"start_valid_time >= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andStartValidTimeLessThan
(
Date
value
)
{
addCriterion
(
"start_valid_time <"
,
value
,
"startValidTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andStartValidTimeLessThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"start_valid_time < "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andStartValidTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"start_valid_time <="
,
value
,
"startValidTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andStartValidTimeLessThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"start_valid_time <= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andStartValidTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"start_valid_time in"
,
values
,
"startValidTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartValidTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"start_valid_time not in"
,
values
,
"startValidTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartValidTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"start_valid_time between"
,
value1
,
value2
,
"startValidTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartValidTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"start_valid_time not between"
,
value1
,
value2
,
"startValidTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndValidTimeIsNull
()
{
addCriterion
(
"end_valid_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndValidTimeIsNotNull
()
{
addCriterion
(
"end_valid_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndValidTimeEqualTo
(
Date
value
)
{
addCriterion
(
"end_valid_time ="
,
value
,
"endValidTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andEndValidTimeEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"end_valid_time = "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andEndValidTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"end_valid_time <>"
,
value
,
"endValidTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andEndValidTimeNotEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"end_valid_time <> "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andEndValidTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"end_valid_time >"
,
value
,
"endValidTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andEndValidTimeGreaterThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"end_valid_time > "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andEndValidTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"end_valid_time >="
,
value
,
"endValidTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andEndValidTimeGreaterThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"end_valid_time >= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andEndValidTimeLessThan
(
Date
value
)
{
addCriterion
(
"end_valid_time <"
,
value
,
"endValidTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andEndValidTimeLessThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"end_valid_time < "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andEndValidTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"end_valid_time <="
,
value
,
"endValidTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andEndValidTimeLessThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"end_valid_time <= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andEndValidTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"end_valid_time in"
,
values
,
"endValidTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndValidTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"end_valid_time not in"
,
values
,
"endValidTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndValidTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"end_valid_time between"
,
value1
,
value2
,
"endValidTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndValidTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"end_valid_time not between"
,
value1
,
value2
,
"endValidTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignInStartTimeIsNull
()
{
addCriterion
(
"sign_in_start_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignInStartTimeIsNotNull
()
{
addCriterion
(
"sign_in_start_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignInStartTimeEqualTo
(
Date
value
)
{
addCriterion
(
"sign_in_start_time ="
,
value
,
"signInStartTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andSignInStartTimeEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"sign_in_start_time = "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andSignInStartTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"sign_in_start_time <>"
,
value
,
"signInStartTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andSignInStartTimeNotEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"sign_in_start_time <> "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andSignInStartTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"sign_in_start_time >"
,
value
,
"signInStartTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andSignInStartTimeGreaterThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"sign_in_start_time > "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andSignInStartTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"sign_in_start_time >="
,
value
,
"signInStartTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andSignInStartTimeGreaterThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"sign_in_start_time >= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andSignInStartTimeLessThan
(
Date
value
)
{
addCriterion
(
"sign_in_start_time <"
,
value
,
"signInStartTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andSignInStartTimeLessThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"sign_in_start_time < "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andSignInStartTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"sign_in_start_time <="
,
value
,
"signInStartTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andSignInStartTimeLessThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"sign_in_start_time <= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andSignInStartTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"sign_in_start_time in"
,
values
,
"signInStartTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignInStartTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"sign_in_start_time not in"
,
values
,
"signInStartTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignInStartTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"sign_in_start_time between"
,
value1
,
value2
,
"signInStartTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignInStartTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"sign_in_start_time not between"
,
value1
,
value2
,
"signInStartTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignInEndTimeIsNull
()
{
addCriterion
(
"sign_in_end_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignInEndTimeIsNotNull
()
{
addCriterion
(
"sign_in_end_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignInEndTimeEqualTo
(
Date
value
)
{
addCriterion
(
"sign_in_end_time ="
,
value
,
"signInEndTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andSignInEndTimeEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"sign_in_end_time = "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andSignInEndTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"sign_in_end_time <>"
,
value
,
"signInEndTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andSignInEndTimeNotEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"sign_in_end_time <> "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andSignInEndTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"sign_in_end_time >"
,
value
,
"signInEndTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andSignInEndTimeGreaterThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"sign_in_end_time > "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andSignInEndTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"sign_in_end_time >="
,
value
,
"signInEndTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andSignInEndTimeGreaterThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"sign_in_end_time >= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andSignInEndTimeLessThan
(
Date
value
)
{
addCriterion
(
"sign_in_end_time <"
,
value
,
"signInEndTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andSignInEndTimeLessThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"sign_in_end_time < "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andSignInEndTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"sign_in_end_time <="
,
value
,
"signInEndTime"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andSignInEndTimeLessThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"sign_in_end_time <= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andSignInEndTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"sign_in_end_time in"
,
values
,
"signInEndTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignInEndTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"sign_in_end_time not in"
,
values
,
"signInEndTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignInEndTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"sign_in_end_time between"
,
value1
,
value2
,
"signInEndTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignInEndTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"sign_in_end_time not between"
,
value1
,
value2
,
"signInEndTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andGoalDaysIsNull
()
{
addCriterion
(
"goal_days is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andGoalDaysIsNotNull
()
{
addCriterion
(
"goal_days is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andGoalDaysEqualTo
(
Integer
value
)
{
addCriterion
(
"goal_days ="
,
value
,
"goalDays"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andGoalDaysEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"goal_days = "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andGoalDaysNotEqualTo
(
Integer
value
)
{
addCriterion
(
"goal_days <>"
,
value
,
"goalDays"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andGoalDaysNotEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"goal_days <> "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andGoalDaysGreaterThan
(
Integer
value
)
{
addCriterion
(
"goal_days >"
,
value
,
"goalDays"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andGoalDaysGreaterThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"goal_days > "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andGoalDaysGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"goal_days >="
,
value
,
"goalDays"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andGoalDaysGreaterThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"goal_days >= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andGoalDaysLessThan
(
Integer
value
)
{
addCriterion
(
"goal_days <"
,
value
,
"goalDays"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andGoalDaysLessThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"goal_days < "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andGoalDaysLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"goal_days <="
,
value
,
"goalDays"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andGoalDaysLessThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"goal_days <= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andGoalDaysIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"goal_days in"
,
values
,
"goalDays"
);
return
(
Criteria
)
this
;
}
public
Criteria
andGoalDaysNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"goal_days not in"
,
values
,
"goalDays"
);
return
(
Criteria
)
this
;
}
public
Criteria
andGoalDaysBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"goal_days between"
,
value1
,
value2
,
"goalDays"
);
return
(
Criteria
)
this
;
}
public
Criteria
andGoalDaysNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"goal_days not between"
,
value1
,
value2
,
"goalDays"
);
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
(
Integer
value
)
{
addCriterion
(
"`type` ="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andTypeEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`type` = "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotEqualTo
(
Integer
value
)
{
addCriterion
(
"`type` <>"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andTypeNotEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`type` <> "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThan
(
Integer
value
)
{
addCriterion
(
"`type` >"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andTypeGreaterThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`type` > "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"`type` >="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andTypeGreaterThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`type` >= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThan
(
Integer
value
)
{
addCriterion
(
"`type` <"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andTypeLessThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`type` < "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"`type` <="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andTypeLessThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`type` <= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"`type` in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"`type` not in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"`type` between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"`type` not between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStateIsNull
()
{
addCriterion
(
"`state` is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStateIsNotNull
()
{
addCriterion
(
"`state` is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStateEqualTo
(
Integer
value
)
{
addCriterion
(
"`state` ="
,
value
,
"state"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andStateEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`state` = "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andStateNotEqualTo
(
Integer
value
)
{
addCriterion
(
"`state` <>"
,
value
,
"state"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andStateNotEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`state` <> "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andStateGreaterThan
(
Integer
value
)
{
addCriterion
(
"`state` >"
,
value
,
"state"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andStateGreaterThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`state` > "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andStateGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"`state` >="
,
value
,
"state"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andStateGreaterThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`state` >= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andStateLessThan
(
Integer
value
)
{
addCriterion
(
"`state` <"
,
value
,
"state"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andStateLessThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`state` < "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andStateLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"`state` <="
,
value
,
"state"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andStateLessThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`state` <= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andStateIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"`state` in"
,
values
,
"state"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStateNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"`state` not in"
,
values
,
"state"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStateBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"`state` between"
,
value1
,
value2
,
"state"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStateNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"`state` not between"
,
value1
,
value2
,
"state"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescIsNull
()
{
addCriterion
(
"`desc` is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescIsNotNull
()
{
addCriterion
(
"`desc` is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescEqualTo
(
String
value
)
{
addCriterion
(
"`desc` ="
,
value
,
"desc"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andDescEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`desc` = "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andDescNotEqualTo
(
String
value
)
{
addCriterion
(
"`desc` <>"
,
value
,
"desc"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andDescNotEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`desc` <> "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andDescGreaterThan
(
String
value
)
{
addCriterion
(
"`desc` >"
,
value
,
"desc"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andDescGreaterThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`desc` > "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andDescGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"`desc` >="
,
value
,
"desc"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andDescGreaterThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`desc` >= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andDescLessThan
(
String
value
)
{
addCriterion
(
"`desc` <"
,
value
,
"desc"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andDescLessThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`desc` < "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andDescLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"`desc` <="
,
value
,
"desc"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andDescLessThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"`desc` <= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andDescLike
(
String
value
)
{
addCriterion
(
"`desc` like"
,
value
,
"desc"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescNotLike
(
String
value
)
{
addCriterion
(
"`desc` not like"
,
value
,
"desc"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescIn
(
List
<
String
>
values
)
{
addCriterion
(
"`desc` in"
,
values
,
"desc"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"`desc` not in"
,
values
,
"desc"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"`desc` between"
,
value1
,
value2
,
"desc"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"`desc` not between"
,
value1
,
value2
,
"desc"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIdIsNull
()
{
addCriterion
(
"creator_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIdIsNotNull
()
{
addCriterion
(
"creator_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIdEqualTo
(
Long
value
)
{
addCriterion
(
"creator_id ="
,
value
,
"creatorId"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andCreatorIdEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"creator_id = "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"creator_id <>"
,
value
,
"creatorId"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andCreatorIdNotEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"creator_id <> "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIdGreaterThan
(
Long
value
)
{
addCriterion
(
"creator_id >"
,
value
,
"creatorId"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andCreatorIdGreaterThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"creator_id > "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"creator_id >="
,
value
,
"creatorId"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andCreatorIdGreaterThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"creator_id >= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIdLessThan
(
Long
value
)
{
addCriterion
(
"creator_id <"
,
value
,
"creatorId"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andCreatorIdLessThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"creator_id < "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"creator_id <="
,
value
,
"creatorId"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andCreatorIdLessThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"creator_id <= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"creator_id in"
,
values
,
"creatorId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"creator_id not in"
,
values
,
"creatorId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"creator_id between"
,
value1
,
value2
,
"creatorId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatorIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"creator_id not between"
,
value1
,
value2
,
"creatorId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPrivateIsNull
()
{
addCriterion
(
"is_private is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPrivateIsNotNull
()
{
addCriterion
(
"is_private is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPrivateEqualTo
(
Boolean
value
)
{
addCriterion
(
"is_private ="
,
value
,
"isPrivate"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andIsPrivateEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"is_private = "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andIsPrivateNotEqualTo
(
Boolean
value
)
{
addCriterion
(
"is_private <>"
,
value
,
"isPrivate"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andIsPrivateNotEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"is_private <> "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andIsPrivateGreaterThan
(
Boolean
value
)
{
addCriterion
(
"is_private >"
,
value
,
"isPrivate"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andIsPrivateGreaterThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"is_private > "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andIsPrivateGreaterThanOrEqualTo
(
Boolean
value
)
{
addCriterion
(
"is_private >="
,
value
,
"isPrivate"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andIsPrivateGreaterThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"is_private >= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andIsPrivateLessThan
(
Boolean
value
)
{
addCriterion
(
"is_private <"
,
value
,
"isPrivate"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andIsPrivateLessThanColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"is_private < "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andIsPrivateLessThanOrEqualTo
(
Boolean
value
)
{
addCriterion
(
"is_private <="
,
value
,
"isPrivate"
);
return
(
Criteria
)
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andIsPrivateLessThanOrEqualToColumn
(
SignInTask
.
Column
column
)
{
addCriterion
(
new
StringBuilder
(
"is_private <= "
).
append
(
column
.
getEscapedColumnName
()).
toString
());
return
(
Criteria
)
this
;
}
public
Criteria
andIsPrivateIn
(
List
<
Boolean
>
values
)
{
addCriterion
(
"is_private in"
,
values
,
"isPrivate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPrivateNotIn
(
List
<
Boolean
>
values
)
{
addCriterion
(
"is_private not in"
,
values
,
"isPrivate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPrivateBetween
(
Boolean
value1
,
Boolean
value2
)
{
addCriterion
(
"is_private between"
,
value1
,
value2
,
"isPrivate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPrivateNotBetween
(
Boolean
value1
,
Boolean
value2
)
{
addCriterion
(
"is_private not between"
,
value1
,
value2
,
"isPrivate"
);
return
(
Criteria
)
this
;
}
}
public
static
class
Criteria
extends
GeneratedCriteria
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
SignInTaskExample
example
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected
Criteria
(
SignInTaskExample
example
)
{
super
();
this
.
example
=
example
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
SignInTaskExample
example
()
{
return
this
.
example
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andIf
(
boolean
ifAdd
,
ICriteriaAdd
add
)
{
if
(
ifAdd
)
{
add
.
add
(
this
);
}
return
this
;
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
interface
ICriteriaAdd
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Criteria
add
(
Criteria
add
);
}
}
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
ch-dao/src/main/java/com/wwdz/ch/db/mapper/qiandao/SignInTaskMapper.java
0 → 100644
View file @
ee8428d8
package
com.wwdz.ch.db.mapper.qiandao
;
import
com.wwdz.ch.db.domain.qiandao.SignInTask
;
import
com.wwdz.ch.db.domain.qiandao.SignInTaskExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
SignInTaskMapper
{
long
countByExample
(
SignInTaskExample
example
);
int
deleteByExample
(
SignInTaskExample
example
);
int
deleteByPrimaryKey
(
Long
id
);
int
insert
(
SignInTask
record
);
int
insertSelective
(
SignInTask
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
SignInTask
selectOneByExample
(
SignInTaskExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
SignInTask
selectOneByExampleSelective
(
@Param
(
"example"
)
SignInTaskExample
example
,
@Param
(
"selective"
)
SignInTask
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
SignInTask
>
selectByExampleSelective
(
@Param
(
"example"
)
SignInTaskExample
example
,
@Param
(
"selective"
)
SignInTask
.
Column
...
selective
);
List
<
SignInTask
>
selectByExample
(
SignInTaskExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sign_in_task
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
SignInTask
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Long
id
,
@Param
(
"selective"
)
SignInTask
.
Column
...
selective
);
SignInTask
selectByPrimaryKey
(
Long
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
SignInTask
record
,
@Param
(
"example"
)
SignInTaskExample
example
);
int
updateByExample
(
@Param
(
"record"
)
SignInTask
record
,
@Param
(
"example"
)
SignInTaskExample
example
);
int
updateByPrimaryKeySelective
(
SignInTask
record
);
int
updateByPrimaryKey
(
SignInTask
record
);
}
\ No newline at end of file
ch-dao/src/main/resources/com/wwdz/ch/db/mapper/qiandao/SignInTaskMapper.xml
0 → 100644
View file @
ee8428d8
<?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.wwdz.ch.db.mapper.qiandao.SignInTaskMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.wwdz.ch.db.domain.qiandao.SignInTask"
>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<result
column=
"name"
jdbcType=
"VARCHAR"
property=
"name"
/>
<result
column=
"image"
jdbcType=
"VARCHAR"
property=
"image"
/>
<result
column=
"start_valid_time"
jdbcType=
"TIMESTAMP"
property=
"startValidTime"
/>
<result
column=
"end_valid_time"
jdbcType=
"TIMESTAMP"
property=
"endValidTime"
/>
<result
column=
"sign_in_start_time"
jdbcType=
"TIMESTAMP"
property=
"signInStartTime"
/>
<result
column=
"sign_in_end_time"
jdbcType=
"TIMESTAMP"
property=
"signInEndTime"
/>
<result
column=
"goal_days"
jdbcType=
"INTEGER"
property=
"goalDays"
/>
<result
column=
"type"
jdbcType=
"INTEGER"
property=
"type"
/>
<result
column=
"state"
jdbcType=
"INTEGER"
property=
"state"
/>
<result
column=
"desc"
jdbcType=
"VARCHAR"
property=
"desc"
/>
<result
column=
"creator_id"
jdbcType=
"BIGINT"
property=
"creatorId"
/>
<result
column=
"is_private"
jdbcType=
"BIT"
property=
"isPrivate"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<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"
>
<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"
>
id, `name`, image, start_valid_time, end_valid_time, sign_in_start_time, sign_in_end_time,
goal_days, `type`, `state`, `desc`, creator_id, is_private
</sql>
<select
id=
"selectByExample"
parameterType=
"com.wwdz.ch.db.domain.qiandao.SignInTaskExample"
resultMap=
"BaseResultMap"
>
select
<if
test=
"distinct"
>
distinct
</if>
'true' as QUERYID,
<include
refid=
"Base_Column_List"
/>
from sign_in_task
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByExampleSelective"
parameterType=
"map"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
'true' as QUERYID,
<if
test=
"example.distinct"
>
distinct
</if>
<choose>
<when
test=
"selective != null and selective.length > 0"
>
<foreach
collection=
"selective"
item=
"column"
separator=
","
>
${column.escapedColumnName}
</foreach>
</when>
<otherwise>
id, `name`, image, start_valid_time, end_valid_time, sign_in_start_time, sign_in_end_time,
goal_days, `type`, `state`, `desc`, creator_id, is_private
</otherwise>
</choose>
from sign_in_task
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
<if
test=
"example.orderByClause != null"
>
order by ${example.orderByClause}
</if>
</select>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from sign_in_task
where id = #{id,jdbcType=BIGINT}
</select>
<select
id=
"selectByPrimaryKeySelective"
parameterType=
"map"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<choose>
<when
test=
"selective != null and selective.length > 0"
>
<foreach
collection=
"selective"
item=
"column"
separator=
","
>
${column.escapedColumnName}
</foreach>
</when>
<otherwise>
id, `name`, image, start_valid_time, end_valid_time, sign_in_start_time, sign_in_end_time,
goal_days, `type`, `state`, `desc`, creator_id, is_private
</otherwise>
</choose>
from sign_in_task
where id = #{id,jdbcType=BIGINT}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from sign_in_task
where id = #{id,jdbcType=BIGINT}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.wwdz.ch.db.domain.qiandao.SignInTaskExample"
>
delete from sign_in_task
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.wwdz.ch.db.domain.qiandao.SignInTask"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
SELECT LAST_INSERT_ID()
</selectKey>
insert into sign_in_task (`name`, image, start_valid_time,
end_valid_time, sign_in_start_time, sign_in_end_time,
goal_days, `type`, `state`,
`desc`, creator_id, is_private
)
values (#{name,jdbcType=VARCHAR}, #{image,jdbcType=VARCHAR}, #{startValidTime,jdbcType=TIMESTAMP},
#{endValidTime,jdbcType=TIMESTAMP}, #{signInStartTime,jdbcType=TIMESTAMP}, #{signInEndTime,jdbcType=TIMESTAMP},
#{goalDays,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}, #{state,jdbcType=INTEGER},
#{desc,jdbcType=VARCHAR}, #{creatorId,jdbcType=BIGINT}, #{isPrivate,jdbcType=BIT}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.wwdz.ch.db.domain.qiandao.SignInTask"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
SELECT LAST_INSERT_ID()
</selectKey>
insert into sign_in_task
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"name != null"
>
`name`,
</if>
<if
test=
"image != null"
>
image,
</if>
<if
test=
"startValidTime != null"
>
start_valid_time,
</if>
<if
test=
"endValidTime != null"
>
end_valid_time,
</if>
<if
test=
"signInStartTime != null"
>
sign_in_start_time,
</if>
<if
test=
"signInEndTime != null"
>
sign_in_end_time,
</if>
<if
test=
"goalDays != null"
>
goal_days,
</if>
<if
test=
"type != null"
>
`type`,
</if>
<if
test=
"state != null"
>
`state`,
</if>
<if
test=
"desc != null"
>
`desc`,
</if>
<if
test=
"creatorId != null"
>
creator_id,
</if>
<if
test=
"isPrivate != null"
>
is_private,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"name != null"
>
#{name,jdbcType=VARCHAR},
</if>
<if
test=
"image != null"
>
#{image,jdbcType=VARCHAR},
</if>
<if
test=
"startValidTime != null"
>
#{startValidTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"endValidTime != null"
>
#{endValidTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"signInStartTime != null"
>
#{signInStartTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"signInEndTime != null"
>
#{signInEndTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"goalDays != null"
>
#{goalDays,jdbcType=INTEGER},
</if>
<if
test=
"type != null"
>
#{type,jdbcType=INTEGER},
</if>
<if
test=
"state != null"
>
#{state,jdbcType=INTEGER},
</if>
<if
test=
"desc != null"
>
#{desc,jdbcType=VARCHAR},
</if>
<if
test=
"creatorId != null"
>
#{creatorId,jdbcType=BIGINT},
</if>
<if
test=
"isPrivate != null"
>
#{isPrivate,jdbcType=BIT},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.wwdz.ch.db.domain.qiandao.SignInTaskExample"
resultType=
"java.lang.Long"
>
select count(*) from sign_in_task
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
update sign_in_task
<set>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=BIGINT},
</if>
<if
test=
"record.name != null"
>
`name` = #{record.name,jdbcType=VARCHAR},
</if>
<if
test=
"record.image != null"
>
image = #{record.image,jdbcType=VARCHAR},
</if>
<if
test=
"record.startValidTime != null"
>
start_valid_time = #{record.startValidTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.endValidTime != null"
>
end_valid_time = #{record.endValidTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.signInStartTime != null"
>
sign_in_start_time = #{record.signInStartTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.signInEndTime != null"
>
sign_in_end_time = #{record.signInEndTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.goalDays != null"
>
goal_days = #{record.goalDays,jdbcType=INTEGER},
</if>
<if
test=
"record.type != null"
>
`type` = #{record.type,jdbcType=INTEGER},
</if>
<if
test=
"record.state != null"
>
`state` = #{record.state,jdbcType=INTEGER},
</if>
<if
test=
"record.desc != null"
>
`desc` = #{record.desc,jdbcType=VARCHAR},
</if>
<if
test=
"record.creatorId != null"
>
creator_id = #{record.creatorId,jdbcType=BIGINT},
</if>
<if
test=
"record.isPrivate != null"
>
is_private = #{record.isPrivate,jdbcType=BIT},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
update sign_in_task
set id = #{record.id,jdbcType=BIGINT},
`name` = #{record.name,jdbcType=VARCHAR},
image = #{record.image,jdbcType=VARCHAR},
start_valid_time = #{record.startValidTime,jdbcType=TIMESTAMP},
end_valid_time = #{record.endValidTime,jdbcType=TIMESTAMP},
sign_in_start_time = #{record.signInStartTime,jdbcType=TIMESTAMP},
sign_in_end_time = #{record.signInEndTime,jdbcType=TIMESTAMP},
goal_days = #{record.goalDays,jdbcType=INTEGER},
`type` = #{record.type,jdbcType=INTEGER},
`state` = #{record.state,jdbcType=INTEGER},
`desc` = #{record.desc,jdbcType=VARCHAR},
creator_id = #{record.creatorId,jdbcType=BIGINT},
is_private = #{record.isPrivate,jdbcType=BIT}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.wwdz.ch.db.domain.qiandao.SignInTask"
>
update sign_in_task
<set>
<if
test=
"name != null"
>
`name` = #{name,jdbcType=VARCHAR},
</if>
<if
test=
"image != null"
>
image = #{image,jdbcType=VARCHAR},
</if>
<if
test=
"startValidTime != null"
>
start_valid_time = #{startValidTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"endValidTime != null"
>
end_valid_time = #{endValidTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"signInStartTime != null"
>
sign_in_start_time = #{signInStartTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"signInEndTime != null"
>
sign_in_end_time = #{signInEndTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"goalDays != null"
>
goal_days = #{goalDays,jdbcType=INTEGER},
</if>
<if
test=
"type != null"
>
`type` = #{type,jdbcType=INTEGER},
</if>
<if
test=
"state != null"
>
`state` = #{state,jdbcType=INTEGER},
</if>
<if
test=
"desc != null"
>
`desc` = #{desc,jdbcType=VARCHAR},
</if>
<if
test=
"creatorId != null"
>
creator_id = #{creatorId,jdbcType=BIGINT},
</if>
<if
test=
"isPrivate != null"
>
is_private = #{isPrivate,jdbcType=BIT},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.wwdz.ch.db.domain.qiandao.SignInTask"
>
update sign_in_task
set `name` = #{name,jdbcType=VARCHAR},
image = #{image,jdbcType=VARCHAR},
start_valid_time = #{startValidTime,jdbcType=TIMESTAMP},
end_valid_time = #{endValidTime,jdbcType=TIMESTAMP},
sign_in_start_time = #{signInStartTime,jdbcType=TIMESTAMP},
sign_in_end_time = #{signInEndTime,jdbcType=TIMESTAMP},
goal_days = #{goalDays,jdbcType=INTEGER},
`type` = #{type,jdbcType=INTEGER},
`state` = #{state,jdbcType=INTEGER},
`desc` = #{desc,jdbcType=VARCHAR},
creator_id = #{creatorId,jdbcType=BIGINT},
is_private = #{isPrivate,jdbcType=BIT}
where id = #{id,jdbcType=BIGINT}
</update>
<select
id=
"selectOneByExample"
parameterType=
"com.wwdz.ch.db.domain.qiandao.SignInTaskExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
'true' as QUERYID,
<include
refid=
"Base_Column_List"
/>
from sign_in_task
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
limit 1
</select>
<select
id=
"selectOneByExampleSelective"
parameterType=
"map"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
'true' as QUERYID,
<choose>
<when
test=
"selective != null and selective.length > 0"
>
<foreach
collection=
"selective"
item=
"column"
separator=
","
>
${column.escapedColumnName}
</foreach>
</when>
<otherwise>
id, `name`, image, start_valid_time, end_valid_time, sign_in_start_time, sign_in_end_time,
goal_days, `type`, `state`, `desc`, creator_id, is_private
</otherwise>
</choose>
from sign_in_task
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
<if
test=
"example.orderByClause != null"
>
order by ${example.orderByClause}
</if>
limit 1
</select>
</mapper>
\ No newline at end of file
ch-wx-api/src/main/java/com/wwdz/ch/wx/job/SendMsgFromExcelJob.java
View file @
ee8428d8
...
...
@@ -47,8 +47,8 @@ public class SendMsgFromExcelJob {
@Value
(
"${spring.profiles.active}"
)
private
String
env
;
// 每年
8月14日晚上19
点执行一次
// @Scheduled(cron = "0 20 19 14 8
?")
// 每年
12月14日晚上20
点执行一次
// @Scheduled(cron = "0 0 20 14 12
?")
public
void
executeTask
()
{
if
(
"dev"
.
equals
(
env
))
{
logger
.
info
(
">>>>>>>>>>>>>>>>>>>>>>> dev环境, 不执行给指定类目用户发送通知任务<<<<<<<<<<<<<<<<<<<<<"
);
...
...
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