Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
DQMP
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
data
DQMP
Commits
0a6fb1a3
Commit
0a6fb1a3
authored
Dec 19, 2019
by
赵建伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update codes
parent
8a57f4b4
Hide whitespace changes
Inline
Side-by-side
Showing
42 changed files
with
651 additions
and
8396 deletions
+651
-8396
pom.xml
pom.xml
+7
-0
EasyExcelController.java
...va/com/gmei/data/dqmp/controller/EasyExcelController.java
+84
-0
TblCheckMultipleSql.java
...n/java/com/gmei/data/dqmp/domain/TblCheckMultipleSql.java
+0
-124
TblCheckMultipleSqlCriteria.java
...om/gmei/data/dqmp/domain/TblCheckMultipleSqlCriteria.java
+0
-951
TblCheckSingleSql.java
...ain/java/com/gmei/data/dqmp/domain/TblCheckSingleSql.java
+0
-94
TblCheckSingleSqlCriteria.java
.../com/gmei/data/dqmp/domain/TblCheckSingleSqlCriteria.java
+0
-741
TblMonitorSpecialSql.java
.../java/com/gmei/data/dqmp/domain/TblMonitorSpecialSql.java
+0
-104
TblMonitorSpecialSqlCriteria.java
...m/gmei/data/dqmp/domain/TblMonitorSpecialSqlCriteria.java
+0
-811
TblMonitorVolatilitySql.java
...va/com/gmei/data/dqmp/domain/TblMonitorVolatilitySql.java
+0
-94
TblMonitorVolatilitySqlCriteria.java
...mei/data/dqmp/domain/TblMonitorVolatilitySqlCriteria.java
+0
-741
TblRuleDuplexInfo.java
...ain/java/com/gmei/data/dqmp/domain/TblRuleDuplexInfo.java
+0
-124
TblRuleDuplexInfoCriteria.java
.../com/gmei/data/dqmp/domain/TblRuleDuplexInfoCriteria.java
+0
-1011
TblRuleDuplexInfoWithBLOBs.java
...com/gmei/data/dqmp/domain/TblRuleDuplexInfoWithBLOBs.java
+0
-24
TblRuleSimpleInfo.java
...ain/java/com/gmei/data/dqmp/domain/TblRuleSimpleInfo.java
+0
-134
TblRuleSimpleInfoCriteria.java
.../com/gmei/data/dqmp/domain/TblRuleSimpleInfoCriteria.java
+0
-1011
DqReferRuleDto.java
src/main/java/com/gmei/data/dqmp/dto/DqReferRuleDto.java
+32
-0
DqSpecialRuleDto.java
src/main/java/com/gmei/data/dqmp/dto/DqSpecialRuleDto.java
+30
-0
DqUnblankRuleDto.java
src/main/java/com/gmei/data/dqmp/dto/DqUnblankRuleDto.java
+24
-0
DqUniqueRuleDto.java
src/main/java/com/gmei/data/dqmp/dto/DqUniqueRuleDto.java
+24
-0
DqVolatilityRuleDto.java
...main/java/com/gmei/data/dqmp/dto/DqVolatilityRuleDto.java
+26
-0
RuleTemplateDto.java
src/main/java/com/gmei/data/dqmp/dto/RuleTemplateDto.java
+3
-32
ReferExcelListener.java
.../java/com/gmei/data/dqmp/listener/ReferExcelListener.java
+55
-0
SpecialExcelListener.java
...ava/com/gmei/data/dqmp/listener/SpecialExcelListener.java
+55
-0
UnblankExcelListener.java
...ava/com/gmei/data/dqmp/listener/UnblankExcelListener.java
+55
-0
UniqueExcelListener.java
...java/com/gmei/data/dqmp/listener/UniqueExcelListener.java
+55
-0
VolatilityExcelListener.java
.../com/gmei/data/dqmp/listener/VolatilityExcelListener.java
+55
-0
TblCheckMultipleSqlMapper.java
.../com/gmei/data/dqmp/mapper/TblCheckMultipleSqlMapper.java
+0
-37
TblCheckSingleSqlMapper.java
...va/com/gmei/data/dqmp/mapper/TblCheckSingleSqlMapper.java
+0
-37
TblMonitorSpecialSqlMapper.java
...com/gmei/data/dqmp/mapper/TblMonitorSpecialSqlMapper.java
+0
-37
TblMonitorVolatilitySqlMapper.java
.../gmei/data/dqmp/mapper/TblMonitorVolatilitySqlMapper.java
+0
-37
TblRuleDuplexInfoMapper.java
...va/com/gmei/data/dqmp/mapper/TblRuleDuplexInfoMapper.java
+0
-38
TblRuleSimpleInfoMapper.java
...va/com/gmei/data/dqmp/mapper/TblRuleSimpleInfoMapper.java
+0
-37
CheckServiceImpl.java
...ava/com/gmei/data/dqmp/service/impl/CheckServiceImpl.java
+1
-2
DqRuleServiceImpl.java
...va/com/gmei/data/dqmp/service/impl/DqRuleServiceImpl.java
+0
-1
RuleTemplateServiceImpl.java
.../gmei/data/dqmp/service/impl/RuleTemplateServiceImpl.java
+1
-1
ImportExcelUtils.java
src/main/java/com/gmei/data/dqmp/utils/ImportExcelUtils.java
+144
-0
TblCheckMultipleSqlMapper.xml
...in/resources/mybatis/mapper/TblCheckMultipleSqlMapper.xml
+0
-378
TblCheckSingleSqlMapper.xml
...main/resources/mybatis/mapper/TblCheckSingleSqlMapper.xml
+0
-324
TblMonitorSpecialSqlMapper.xml
...n/resources/mybatis/mapper/TblMonitorSpecialSqlMapper.xml
+0
-342
TblMonitorVolatilitySqlMapper.xml
...esources/mybatis/mapper/TblMonitorVolatilitySqlMapper.xml
+0
-324
TblRuleDuplexInfoMapper.xml
...main/resources/mybatis/mapper/TblRuleDuplexInfoMapper.xml
+0
-410
TblRuleSimpleInfoMapper.xml
...main/resources/mybatis/mapper/TblRuleSimpleInfoMapper.xml
+0
-395
No files found.
pom.xml
View file @
0a6fb1a3
...
@@ -78,6 +78,12 @@
...
@@ -78,6 +78,12 @@
<artifactId>
lombok
</artifactId>
<artifactId>
lombok
</artifactId>
<scope>
provided
</scope>
<scope>
provided
</scope>
</dependency>
</dependency>
<!--alibaba easyexcel -->
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
easyexcel
</artifactId>
<version>
1.1.2-beta5
</version>
</dependency>
<!-- 增加fastjson工具类 -->
<!-- 增加fastjson工具类 -->
<dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<groupId>
com.alibaba
</groupId>
...
@@ -128,6 +134,7 @@
...
@@ -128,6 +134,7 @@
</exclusion>
</exclusion>
</exclusions>
</exclusions>
</dependency>
</dependency>
<!-- xxl-job依赖 -->
<!-- xxl-job依赖 -->
<dependency>
<dependency>
<groupId>
com.xuxueli
</groupId>
<groupId>
com.xuxueli
</groupId>
...
...
src/main/java/com/gmei/data/dqmp/controller/EasyExcelController.java
0 → 100644
View file @
0a6fb1a3
package
com
.
gmei
.
data
.
dqmp
.
controller
;
import
javax.servlet.http.HttpServletRequest
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.gmei.data.dqmp.service.DqRuleService
;
import
com.gmei.data.dqmp.utils.ImportExcelUtils
;
import
com.gmei.data.dqmp.vo.BaseVo
;
@RestController
@RequestMapping
(
value
=
"/excel"
)
public
class
EasyExcelController
{
@Autowired
private
DqRuleService
dqRuleService
;
private
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
EasyExcelController
.
class
);
@PostMapping
(
value
=
"export"
)
public
BaseVo
exportExcel
()
{
return
new
BaseVo
();
}
@PostMapping
(
value
=
"importUnique"
)
public
BaseVo
importUniqueExcel
(
HttpServletRequest
httpServletRequest
)
{
try
{
ImportExcelUtils
.
saxReadUniqueListString
(
httpServletRequest
,
dqRuleService
);
}
catch
(
Exception
e
)
{
logger
.
error
(
e
.
getMessage
());
return
new
BaseVo
(-
1
,
e
.
getMessage
());
}
return
new
BaseVo
();
}
@PostMapping
(
value
=
"importUnblank"
)
public
BaseVo
importUnblankExcel
(
HttpServletRequest
httpServletRequest
)
{
try
{
ImportExcelUtils
.
saxReadUnblankListString
(
httpServletRequest
,
dqRuleService
);
}
catch
(
Exception
e
)
{
logger
.
error
(
e
.
getMessage
());
return
new
BaseVo
(-
1
,
e
.
getMessage
());
}
return
new
BaseVo
();
}
@PostMapping
(
value
=
"importRefer"
)
public
BaseVo
importReferExcel
(
HttpServletRequest
httpServletRequest
)
{
try
{
ImportExcelUtils
.
saxReadReferListString
(
httpServletRequest
,
dqRuleService
);
}
catch
(
Exception
e
)
{
logger
.
error
(
e
.
getMessage
());
return
new
BaseVo
(-
1
,
e
.
getMessage
());
}
return
new
BaseVo
();
}
@PostMapping
(
value
=
"importVolatility"
)
public
BaseVo
importVolatilityExcel
(
HttpServletRequest
httpServletRequest
)
{
try
{
ImportExcelUtils
.
saxReadVolatilityListString
(
httpServletRequest
,
dqRuleService
);
}
catch
(
Exception
e
)
{
logger
.
error
(
e
.
getMessage
());
return
new
BaseVo
(-
1
,
e
.
getMessage
());
}
return
new
BaseVo
();
}
@PostMapping
(
value
=
"importSpecial"
)
public
BaseVo
importExcel
(
HttpServletRequest
httpServletRequest
)
{
try
{
ImportExcelUtils
.
saxReadSpecialListString
(
httpServletRequest
,
dqRuleService
);
}
catch
(
Exception
e
)
{
logger
.
error
(
e
.
getMessage
());
return
new
BaseVo
(-
1
,
e
.
getMessage
());
}
return
new
BaseVo
();
}
}
src/main/java/com/gmei/data/dqmp/domain/TblCheckMultipleSql.java
deleted
100644 → 0
View file @
8a57f4b4
package
com
.
gmei
.
data
.
dqmp
.
domain
;
public
class
TblCheckMultipleSql
{
private
Integer
id
;
private
String
checkType
;
private
String
checkDbName
;
private
String
checkTbName
;
private
String
checkColName
;
private
String
referDbName
;
private
String
referTbName
;
private
String
referColName
;
private
Integer
isValid
;
private
String
checkTime
;
private
String
createTime
;
private
String
sqlContent
;
public
Integer
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
public
String
getCheckType
()
{
return
checkType
;
}
public
void
setCheckType
(
String
checkType
)
{
this
.
checkType
=
checkType
==
null
?
null
:
checkType
.
trim
();
}
public
String
getCheckDbName
()
{
return
checkDbName
;
}
public
void
setCheckDbName
(
String
checkDbName
)
{
this
.
checkDbName
=
checkDbName
==
null
?
null
:
checkDbName
.
trim
();
}
public
String
getCheckTbName
()
{
return
checkTbName
;
}
public
void
setCheckTbName
(
String
checkTbName
)
{
this
.
checkTbName
=
checkTbName
==
null
?
null
:
checkTbName
.
trim
();
}
public
String
getCheckColName
()
{
return
checkColName
;
}
public
void
setCheckColName
(
String
checkColName
)
{
this
.
checkColName
=
checkColName
==
null
?
null
:
checkColName
.
trim
();
}
public
String
getReferDbName
()
{
return
referDbName
;
}
public
void
setReferDbName
(
String
referDbName
)
{
this
.
referDbName
=
referDbName
==
null
?
null
:
referDbName
.
trim
();
}
public
String
getReferTbName
()
{
return
referTbName
;
}
public
void
setReferTbName
(
String
referTbName
)
{
this
.
referTbName
=
referTbName
==
null
?
null
:
referTbName
.
trim
();
}
public
String
getReferColName
()
{
return
referColName
;
}
public
void
setReferColName
(
String
referColName
)
{
this
.
referColName
=
referColName
==
null
?
null
:
referColName
.
trim
();
}
public
Integer
getIsValid
()
{
return
isValid
;
}
public
void
setIsValid
(
Integer
isValid
)
{
this
.
isValid
=
isValid
;
}
public
String
getCheckTime
()
{
return
checkTime
;
}
public
void
setCheckTime
(
String
checkTime
)
{
this
.
checkTime
=
checkTime
==
null
?
null
:
checkTime
.
trim
();
}
public
String
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
String
createTime
)
{
this
.
createTime
=
createTime
==
null
?
null
:
createTime
.
trim
();
}
public
String
getSqlContent
()
{
return
sqlContent
;
}
public
void
setSqlContent
(
String
sqlContent
)
{
this
.
sqlContent
=
sqlContent
==
null
?
null
:
sqlContent
.
trim
();
}
}
\ No newline at end of file
src/main/java/com/gmei/data/dqmp/domain/TblCheckMultipleSqlCriteria.java
deleted
100644 → 0
View file @
8a57f4b4
package
com
.
gmei
.
data
.
dqmp
.
domain
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
TblCheckMultipleSqlCriteria
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
TblCheckMultipleSqlCriteria
()
{
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
;
}
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
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
(
Integer
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Integer
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Integer
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Integer
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeIsNull
()
{
addCriterion
(
"check_type is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeIsNotNull
()
{
addCriterion
(
"check_type is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeEqualTo
(
String
value
)
{
addCriterion
(
"check_type ="
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeNotEqualTo
(
String
value
)
{
addCriterion
(
"check_type <>"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeGreaterThan
(
String
value
)
{
addCriterion
(
"check_type >"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_type >="
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeLessThan
(
String
value
)
{
addCriterion
(
"check_type <"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_type <="
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeLike
(
String
value
)
{
addCriterion
(
"check_type like"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeNotLike
(
String
value
)
{
addCriterion
(
"check_type not like"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_type in"
,
values
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_type not in"
,
values
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_type between"
,
value1
,
value2
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_type not between"
,
value1
,
value2
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameIsNull
()
{
addCriterion
(
"check_db_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameIsNotNull
()
{
addCriterion
(
"check_db_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameEqualTo
(
String
value
)
{
addCriterion
(
"check_db_name ="
,
value
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameNotEqualTo
(
String
value
)
{
addCriterion
(
"check_db_name <>"
,
value
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameGreaterThan
(
String
value
)
{
addCriterion
(
"check_db_name >"
,
value
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_db_name >="
,
value
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameLessThan
(
String
value
)
{
addCriterion
(
"check_db_name <"
,
value
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_db_name <="
,
value
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameLike
(
String
value
)
{
addCriterion
(
"check_db_name like"
,
value
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameNotLike
(
String
value
)
{
addCriterion
(
"check_db_name not like"
,
value
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_db_name in"
,
values
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_db_name not in"
,
values
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_db_name between"
,
value1
,
value2
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_db_name not between"
,
value1
,
value2
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameIsNull
()
{
addCriterion
(
"check_tb_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameIsNotNull
()
{
addCriterion
(
"check_tb_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameEqualTo
(
String
value
)
{
addCriterion
(
"check_tb_name ="
,
value
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameNotEqualTo
(
String
value
)
{
addCriterion
(
"check_tb_name <>"
,
value
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameGreaterThan
(
String
value
)
{
addCriterion
(
"check_tb_name >"
,
value
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_tb_name >="
,
value
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameLessThan
(
String
value
)
{
addCriterion
(
"check_tb_name <"
,
value
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_tb_name <="
,
value
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameLike
(
String
value
)
{
addCriterion
(
"check_tb_name like"
,
value
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameNotLike
(
String
value
)
{
addCriterion
(
"check_tb_name not like"
,
value
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_tb_name in"
,
values
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_tb_name not in"
,
values
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_tb_name between"
,
value1
,
value2
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_tb_name not between"
,
value1
,
value2
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameIsNull
()
{
addCriterion
(
"check_col_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameIsNotNull
()
{
addCriterion
(
"check_col_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameEqualTo
(
String
value
)
{
addCriterion
(
"check_col_name ="
,
value
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameNotEqualTo
(
String
value
)
{
addCriterion
(
"check_col_name <>"
,
value
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameGreaterThan
(
String
value
)
{
addCriterion
(
"check_col_name >"
,
value
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_col_name >="
,
value
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameLessThan
(
String
value
)
{
addCriterion
(
"check_col_name <"
,
value
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_col_name <="
,
value
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameLike
(
String
value
)
{
addCriterion
(
"check_col_name like"
,
value
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameNotLike
(
String
value
)
{
addCriterion
(
"check_col_name not like"
,
value
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_col_name in"
,
values
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_col_name not in"
,
values
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_col_name between"
,
value1
,
value2
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_col_name not between"
,
value1
,
value2
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameIsNull
()
{
addCriterion
(
"refer_db_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameIsNotNull
()
{
addCriterion
(
"refer_db_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameEqualTo
(
String
value
)
{
addCriterion
(
"refer_db_name ="
,
value
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameNotEqualTo
(
String
value
)
{
addCriterion
(
"refer_db_name <>"
,
value
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameGreaterThan
(
String
value
)
{
addCriterion
(
"refer_db_name >"
,
value
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"refer_db_name >="
,
value
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameLessThan
(
String
value
)
{
addCriterion
(
"refer_db_name <"
,
value
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"refer_db_name <="
,
value
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameLike
(
String
value
)
{
addCriterion
(
"refer_db_name like"
,
value
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameNotLike
(
String
value
)
{
addCriterion
(
"refer_db_name not like"
,
value
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"refer_db_name in"
,
values
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"refer_db_name not in"
,
values
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"refer_db_name between"
,
value1
,
value2
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"refer_db_name not between"
,
value1
,
value2
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameIsNull
()
{
addCriterion
(
"refer_tb_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameIsNotNull
()
{
addCriterion
(
"refer_tb_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameEqualTo
(
String
value
)
{
addCriterion
(
"refer_tb_name ="
,
value
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameNotEqualTo
(
String
value
)
{
addCriterion
(
"refer_tb_name <>"
,
value
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameGreaterThan
(
String
value
)
{
addCriterion
(
"refer_tb_name >"
,
value
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"refer_tb_name >="
,
value
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameLessThan
(
String
value
)
{
addCriterion
(
"refer_tb_name <"
,
value
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"refer_tb_name <="
,
value
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameLike
(
String
value
)
{
addCriterion
(
"refer_tb_name like"
,
value
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameNotLike
(
String
value
)
{
addCriterion
(
"refer_tb_name not like"
,
value
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"refer_tb_name in"
,
values
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"refer_tb_name not in"
,
values
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"refer_tb_name between"
,
value1
,
value2
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"refer_tb_name not between"
,
value1
,
value2
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameIsNull
()
{
addCriterion
(
"refer_col_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameIsNotNull
()
{
addCriterion
(
"refer_col_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameEqualTo
(
String
value
)
{
addCriterion
(
"refer_col_name ="
,
value
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameNotEqualTo
(
String
value
)
{
addCriterion
(
"refer_col_name <>"
,
value
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameGreaterThan
(
String
value
)
{
addCriterion
(
"refer_col_name >"
,
value
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"refer_col_name >="
,
value
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameLessThan
(
String
value
)
{
addCriterion
(
"refer_col_name <"
,
value
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"refer_col_name <="
,
value
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameLike
(
String
value
)
{
addCriterion
(
"refer_col_name like"
,
value
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameNotLike
(
String
value
)
{
addCriterion
(
"refer_col_name not like"
,
value
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"refer_col_name in"
,
values
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"refer_col_name not in"
,
values
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"refer_col_name between"
,
value1
,
value2
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"refer_col_name not between"
,
value1
,
value2
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidIsNull
()
{
addCriterion
(
"is_valid is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidIsNotNull
()
{
addCriterion
(
"is_valid is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid ="
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidNotEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid <>"
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidGreaterThan
(
Integer
value
)
{
addCriterion
(
"is_valid >"
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid >="
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidLessThan
(
Integer
value
)
{
addCriterion
(
"is_valid <"
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid <="
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_valid in"
,
values
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_valid not in"
,
values
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_valid between"
,
value1
,
value2
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_valid not between"
,
value1
,
value2
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeIsNull
()
{
addCriterion
(
"check_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeIsNotNull
()
{
addCriterion
(
"check_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeEqualTo
(
String
value
)
{
addCriterion
(
"check_time ="
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotEqualTo
(
String
value
)
{
addCriterion
(
"check_time <>"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeGreaterThan
(
String
value
)
{
addCriterion
(
"check_time >"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_time >="
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeLessThan
(
String
value
)
{
addCriterion
(
"check_time <"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_time <="
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeLike
(
String
value
)
{
addCriterion
(
"check_time like"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotLike
(
String
value
)
{
addCriterion
(
"check_time not like"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_time in"
,
values
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_time not in"
,
values
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_time between"
,
value1
,
value2
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_time not between"
,
value1
,
value2
,
"checkTime"
);
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
(
String
value
)
{
addCriterion
(
"create_time ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
String
value
)
{
addCriterion
(
"create_time <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
String
value
)
{
addCriterion
(
"create_time >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"create_time >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
String
value
)
{
addCriterion
(
"create_time <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"create_time <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLike
(
String
value
)
{
addCriterion
(
"create_time like"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotLike
(
String
value
)
{
addCriterion
(
"create_time not like"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
String
>
values
)
{
addCriterion
(
"create_time in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"create_time not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"create_time between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"create_time not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
}
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
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
src/main/java/com/gmei/data/dqmp/domain/TblCheckSingleSql.java
deleted
100644 → 0
View file @
8a57f4b4
package
com
.
gmei
.
data
.
dqmp
.
domain
;
public
class
TblCheckSingleSql
{
private
Integer
id
;
private
String
checkType
;
private
String
dbName
;
private
String
tbName
;
private
String
colName
;
private
Integer
isValid
;
private
String
checkTime
;
private
String
createTime
;
private
String
sqlContent
;
public
Integer
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
public
String
getCheckType
()
{
return
checkType
;
}
public
void
setCheckType
(
String
checkType
)
{
this
.
checkType
=
checkType
==
null
?
null
:
checkType
.
trim
();
}
public
String
getDbName
()
{
return
dbName
;
}
public
void
setDbName
(
String
dbName
)
{
this
.
dbName
=
dbName
==
null
?
null
:
dbName
.
trim
();
}
public
String
getTbName
()
{
return
tbName
;
}
public
void
setTbName
(
String
tbName
)
{
this
.
tbName
=
tbName
==
null
?
null
:
tbName
.
trim
();
}
public
String
getColName
()
{
return
colName
;
}
public
void
setColName
(
String
colName
)
{
this
.
colName
=
colName
==
null
?
null
:
colName
.
trim
();
}
public
Integer
getIsValid
()
{
return
isValid
;
}
public
void
setIsValid
(
Integer
isValid
)
{
this
.
isValid
=
isValid
;
}
public
String
getCheckTime
()
{
return
checkTime
;
}
public
void
setCheckTime
(
String
checkTime
)
{
this
.
checkTime
=
checkTime
==
null
?
null
:
checkTime
.
trim
();
}
public
String
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
String
createTime
)
{
this
.
createTime
=
createTime
==
null
?
null
:
createTime
.
trim
();
}
public
String
getSqlContent
()
{
return
sqlContent
;
}
public
void
setSqlContent
(
String
sqlContent
)
{
this
.
sqlContent
=
sqlContent
==
null
?
null
:
sqlContent
.
trim
();
}
}
\ No newline at end of file
src/main/java/com/gmei/data/dqmp/domain/TblCheckSingleSqlCriteria.java
deleted
100644 → 0
View file @
8a57f4b4
package
com
.
gmei
.
data
.
dqmp
.
domain
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
TblCheckSingleSqlCriteria
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
TblCheckSingleSqlCriteria
()
{
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
;
}
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
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
(
Integer
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Integer
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Integer
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Integer
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeIsNull
()
{
addCriterion
(
"check_type is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeIsNotNull
()
{
addCriterion
(
"check_type is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeEqualTo
(
String
value
)
{
addCriterion
(
"check_type ="
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeNotEqualTo
(
String
value
)
{
addCriterion
(
"check_type <>"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeGreaterThan
(
String
value
)
{
addCriterion
(
"check_type >"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_type >="
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeLessThan
(
String
value
)
{
addCriterion
(
"check_type <"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_type <="
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeLike
(
String
value
)
{
addCriterion
(
"check_type like"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeNotLike
(
String
value
)
{
addCriterion
(
"check_type not like"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_type in"
,
values
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_type not in"
,
values
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_type between"
,
value1
,
value2
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_type not between"
,
value1
,
value2
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameIsNull
()
{
addCriterion
(
"db_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameIsNotNull
()
{
addCriterion
(
"db_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameEqualTo
(
String
value
)
{
addCriterion
(
"db_name ="
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameNotEqualTo
(
String
value
)
{
addCriterion
(
"db_name <>"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameGreaterThan
(
String
value
)
{
addCriterion
(
"db_name >"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"db_name >="
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameLessThan
(
String
value
)
{
addCriterion
(
"db_name <"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"db_name <="
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameLike
(
String
value
)
{
addCriterion
(
"db_name like"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameNotLike
(
String
value
)
{
addCriterion
(
"db_name not like"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"db_name in"
,
values
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"db_name not in"
,
values
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"db_name between"
,
value1
,
value2
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"db_name not between"
,
value1
,
value2
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameIsNull
()
{
addCriterion
(
"tb_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameIsNotNull
()
{
addCriterion
(
"tb_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameEqualTo
(
String
value
)
{
addCriterion
(
"tb_name ="
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameNotEqualTo
(
String
value
)
{
addCriterion
(
"tb_name <>"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameGreaterThan
(
String
value
)
{
addCriterion
(
"tb_name >"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"tb_name >="
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameLessThan
(
String
value
)
{
addCriterion
(
"tb_name <"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"tb_name <="
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameLike
(
String
value
)
{
addCriterion
(
"tb_name like"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameNotLike
(
String
value
)
{
addCriterion
(
"tb_name not like"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"tb_name in"
,
values
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"tb_name not in"
,
values
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"tb_name between"
,
value1
,
value2
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"tb_name not between"
,
value1
,
value2
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameIsNull
()
{
addCriterion
(
"col_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameIsNotNull
()
{
addCriterion
(
"col_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameEqualTo
(
String
value
)
{
addCriterion
(
"col_name ="
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameNotEqualTo
(
String
value
)
{
addCriterion
(
"col_name <>"
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameGreaterThan
(
String
value
)
{
addCriterion
(
"col_name >"
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"col_name >="
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameLessThan
(
String
value
)
{
addCriterion
(
"col_name <"
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"col_name <="
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameLike
(
String
value
)
{
addCriterion
(
"col_name like"
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameNotLike
(
String
value
)
{
addCriterion
(
"col_name not like"
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"col_name in"
,
values
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"col_name not in"
,
values
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"col_name between"
,
value1
,
value2
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"col_name not between"
,
value1
,
value2
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidIsNull
()
{
addCriterion
(
"is_valid is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidIsNotNull
()
{
addCriterion
(
"is_valid is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid ="
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidNotEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid <>"
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidGreaterThan
(
Integer
value
)
{
addCriterion
(
"is_valid >"
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid >="
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidLessThan
(
Integer
value
)
{
addCriterion
(
"is_valid <"
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid <="
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_valid in"
,
values
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_valid not in"
,
values
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_valid between"
,
value1
,
value2
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_valid not between"
,
value1
,
value2
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeIsNull
()
{
addCriterion
(
"check_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeIsNotNull
()
{
addCriterion
(
"check_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeEqualTo
(
String
value
)
{
addCriterion
(
"check_time ="
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotEqualTo
(
String
value
)
{
addCriterion
(
"check_time <>"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeGreaterThan
(
String
value
)
{
addCriterion
(
"check_time >"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_time >="
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeLessThan
(
String
value
)
{
addCriterion
(
"check_time <"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_time <="
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeLike
(
String
value
)
{
addCriterion
(
"check_time like"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotLike
(
String
value
)
{
addCriterion
(
"check_time not like"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_time in"
,
values
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_time not in"
,
values
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_time between"
,
value1
,
value2
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_time not between"
,
value1
,
value2
,
"checkTime"
);
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
(
String
value
)
{
addCriterion
(
"create_time ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
String
value
)
{
addCriterion
(
"create_time <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
String
value
)
{
addCriterion
(
"create_time >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"create_time >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
String
value
)
{
addCriterion
(
"create_time <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"create_time <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLike
(
String
value
)
{
addCriterion
(
"create_time like"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotLike
(
String
value
)
{
addCriterion
(
"create_time not like"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
String
>
values
)
{
addCriterion
(
"create_time in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"create_time not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"create_time between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"create_time not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
}
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
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
src/main/java/com/gmei/data/dqmp/domain/TblMonitorSpecialSql.java
deleted
100644 → 0
View file @
8a57f4b4
package
com
.
gmei
.
data
.
dqmp
.
domain
;
public
class
TblMonitorSpecialSql
{
private
Integer
id
;
private
String
dbName
;
private
String
tbName
;
private
String
timeColName
;
private
String
startTime
;
private
String
endTime
;
private
Integer
isValid
;
private
String
checkTime
;
private
String
createTime
;
private
String
sqlContent
;
public
Integer
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
public
String
getDbName
()
{
return
dbName
;
}
public
void
setDbName
(
String
dbName
)
{
this
.
dbName
=
dbName
==
null
?
null
:
dbName
.
trim
();
}
public
String
getTbName
()
{
return
tbName
;
}
public
void
setTbName
(
String
tbName
)
{
this
.
tbName
=
tbName
==
null
?
null
:
tbName
.
trim
();
}
public
String
getTimeColName
()
{
return
timeColName
;
}
public
void
setTimeColName
(
String
timeColName
)
{
this
.
timeColName
=
timeColName
==
null
?
null
:
timeColName
.
trim
();
}
public
String
getStartTime
()
{
return
startTime
;
}
public
void
setStartTime
(
String
startTime
)
{
this
.
startTime
=
startTime
==
null
?
null
:
startTime
.
trim
();
}
public
String
getEndTime
()
{
return
endTime
;
}
public
void
setEndTime
(
String
endTime
)
{
this
.
endTime
=
endTime
==
null
?
null
:
endTime
.
trim
();
}
public
Integer
getIsValid
()
{
return
isValid
;
}
public
void
setIsValid
(
Integer
isValid
)
{
this
.
isValid
=
isValid
;
}
public
String
getCheckTime
()
{
return
checkTime
;
}
public
void
setCheckTime
(
String
checkTime
)
{
this
.
checkTime
=
checkTime
==
null
?
null
:
checkTime
.
trim
();
}
public
String
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
String
createTime
)
{
this
.
createTime
=
createTime
==
null
?
null
:
createTime
.
trim
();
}
public
String
getSqlContent
()
{
return
sqlContent
;
}
public
void
setSqlContent
(
String
sqlContent
)
{
this
.
sqlContent
=
sqlContent
==
null
?
null
:
sqlContent
.
trim
();
}
}
\ No newline at end of file
src/main/java/com/gmei/data/dqmp/domain/TblMonitorSpecialSqlCriteria.java
deleted
100644 → 0
View file @
8a57f4b4
package
com
.
gmei
.
data
.
dqmp
.
domain
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
TblMonitorSpecialSqlCriteria
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
TblMonitorSpecialSqlCriteria
()
{
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
;
}
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
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
(
Integer
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Integer
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Integer
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Integer
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameIsNull
()
{
addCriterion
(
"db_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameIsNotNull
()
{
addCriterion
(
"db_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameEqualTo
(
String
value
)
{
addCriterion
(
"db_name ="
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameNotEqualTo
(
String
value
)
{
addCriterion
(
"db_name <>"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameGreaterThan
(
String
value
)
{
addCriterion
(
"db_name >"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"db_name >="
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameLessThan
(
String
value
)
{
addCriterion
(
"db_name <"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"db_name <="
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameLike
(
String
value
)
{
addCriterion
(
"db_name like"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameNotLike
(
String
value
)
{
addCriterion
(
"db_name not like"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"db_name in"
,
values
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"db_name not in"
,
values
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"db_name between"
,
value1
,
value2
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"db_name not between"
,
value1
,
value2
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameIsNull
()
{
addCriterion
(
"tb_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameIsNotNull
()
{
addCriterion
(
"tb_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameEqualTo
(
String
value
)
{
addCriterion
(
"tb_name ="
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameNotEqualTo
(
String
value
)
{
addCriterion
(
"tb_name <>"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameGreaterThan
(
String
value
)
{
addCriterion
(
"tb_name >"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"tb_name >="
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameLessThan
(
String
value
)
{
addCriterion
(
"tb_name <"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"tb_name <="
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameLike
(
String
value
)
{
addCriterion
(
"tb_name like"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameNotLike
(
String
value
)
{
addCriterion
(
"tb_name not like"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"tb_name in"
,
values
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"tb_name not in"
,
values
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"tb_name between"
,
value1
,
value2
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"tb_name not between"
,
value1
,
value2
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeColNameIsNull
()
{
addCriterion
(
"time_col_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeColNameIsNotNull
()
{
addCriterion
(
"time_col_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeColNameEqualTo
(
String
value
)
{
addCriterion
(
"time_col_name ="
,
value
,
"timeColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeColNameNotEqualTo
(
String
value
)
{
addCriterion
(
"time_col_name <>"
,
value
,
"timeColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeColNameGreaterThan
(
String
value
)
{
addCriterion
(
"time_col_name >"
,
value
,
"timeColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeColNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"time_col_name >="
,
value
,
"timeColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeColNameLessThan
(
String
value
)
{
addCriterion
(
"time_col_name <"
,
value
,
"timeColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeColNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"time_col_name <="
,
value
,
"timeColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeColNameLike
(
String
value
)
{
addCriterion
(
"time_col_name like"
,
value
,
"timeColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeColNameNotLike
(
String
value
)
{
addCriterion
(
"time_col_name not like"
,
value
,
"timeColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeColNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"time_col_name in"
,
values
,
"timeColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeColNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"time_col_name not in"
,
values
,
"timeColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeColNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"time_col_name between"
,
value1
,
value2
,
"timeColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTimeColNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"time_col_name not between"
,
value1
,
value2
,
"timeColName"
);
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
(
String
value
)
{
addCriterion
(
"start_time ="
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeNotEqualTo
(
String
value
)
{
addCriterion
(
"start_time <>"
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeGreaterThan
(
String
value
)
{
addCriterion
(
"start_time >"
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"start_time >="
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeLessThan
(
String
value
)
{
addCriterion
(
"start_time <"
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"start_time <="
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeLike
(
String
value
)
{
addCriterion
(
"start_time like"
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeNotLike
(
String
value
)
{
addCriterion
(
"start_time not like"
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeIn
(
List
<
String
>
values
)
{
addCriterion
(
"start_time in"
,
values
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"start_time not in"
,
values
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"start_time between"
,
value1
,
value2
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"start_time not between"
,
value1
,
value2
,
"startTime"
);
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
(
String
value
)
{
addCriterion
(
"end_time ="
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeNotEqualTo
(
String
value
)
{
addCriterion
(
"end_time <>"
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeGreaterThan
(
String
value
)
{
addCriterion
(
"end_time >"
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"end_time >="
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeLessThan
(
String
value
)
{
addCriterion
(
"end_time <"
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"end_time <="
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeLike
(
String
value
)
{
addCriterion
(
"end_time like"
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeNotLike
(
String
value
)
{
addCriterion
(
"end_time not like"
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeIn
(
List
<
String
>
values
)
{
addCriterion
(
"end_time in"
,
values
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"end_time not in"
,
values
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"end_time between"
,
value1
,
value2
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"end_time not between"
,
value1
,
value2
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidIsNull
()
{
addCriterion
(
"is_valid is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidIsNotNull
()
{
addCriterion
(
"is_valid is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid ="
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidNotEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid <>"
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidGreaterThan
(
Integer
value
)
{
addCriterion
(
"is_valid >"
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid >="
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidLessThan
(
Integer
value
)
{
addCriterion
(
"is_valid <"
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid <="
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_valid in"
,
values
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_valid not in"
,
values
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_valid between"
,
value1
,
value2
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_valid not between"
,
value1
,
value2
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeIsNull
()
{
addCriterion
(
"check_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeIsNotNull
()
{
addCriterion
(
"check_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeEqualTo
(
String
value
)
{
addCriterion
(
"check_time ="
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotEqualTo
(
String
value
)
{
addCriterion
(
"check_time <>"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeGreaterThan
(
String
value
)
{
addCriterion
(
"check_time >"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_time >="
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeLessThan
(
String
value
)
{
addCriterion
(
"check_time <"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_time <="
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeLike
(
String
value
)
{
addCriterion
(
"check_time like"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotLike
(
String
value
)
{
addCriterion
(
"check_time not like"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_time in"
,
values
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_time not in"
,
values
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_time between"
,
value1
,
value2
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_time not between"
,
value1
,
value2
,
"checkTime"
);
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
(
String
value
)
{
addCriterion
(
"create_time ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
String
value
)
{
addCriterion
(
"create_time <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
String
value
)
{
addCriterion
(
"create_time >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"create_time >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
String
value
)
{
addCriterion
(
"create_time <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"create_time <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLike
(
String
value
)
{
addCriterion
(
"create_time like"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotLike
(
String
value
)
{
addCriterion
(
"create_time not like"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
String
>
values
)
{
addCriterion
(
"create_time in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"create_time not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"create_time between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"create_time not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
}
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
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
src/main/java/com/gmei/data/dqmp/domain/TblMonitorVolatilitySql.java
deleted
100644 → 0
View file @
8a57f4b4
package
com
.
gmei
.
data
.
dqmp
.
domain
;
public
class
TblMonitorVolatilitySql
{
private
Integer
id
;
private
String
indicatorType
;
private
String
dbName
;
private
String
tbName
;
private
String
colName
;
private
Integer
isValid
;
private
String
checkTime
;
private
String
createTime
;
private
String
sqlContent
;
public
Integer
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
public
String
getIndicatorType
()
{
return
indicatorType
;
}
public
void
setIndicatorType
(
String
indicatorType
)
{
this
.
indicatorType
=
indicatorType
==
null
?
null
:
indicatorType
.
trim
();
}
public
String
getDbName
()
{
return
dbName
;
}
public
void
setDbName
(
String
dbName
)
{
this
.
dbName
=
dbName
==
null
?
null
:
dbName
.
trim
();
}
public
String
getTbName
()
{
return
tbName
;
}
public
void
setTbName
(
String
tbName
)
{
this
.
tbName
=
tbName
==
null
?
null
:
tbName
.
trim
();
}
public
String
getColName
()
{
return
colName
;
}
public
void
setColName
(
String
colName
)
{
this
.
colName
=
colName
==
null
?
null
:
colName
.
trim
();
}
public
Integer
getIsValid
()
{
return
isValid
;
}
public
void
setIsValid
(
Integer
isValid
)
{
this
.
isValid
=
isValid
;
}
public
String
getCheckTime
()
{
return
checkTime
;
}
public
void
setCheckTime
(
String
checkTime
)
{
this
.
checkTime
=
checkTime
==
null
?
null
:
checkTime
.
trim
();
}
public
String
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
String
createTime
)
{
this
.
createTime
=
createTime
==
null
?
null
:
createTime
.
trim
();
}
public
String
getSqlContent
()
{
return
sqlContent
;
}
public
void
setSqlContent
(
String
sqlContent
)
{
this
.
sqlContent
=
sqlContent
==
null
?
null
:
sqlContent
.
trim
();
}
}
\ No newline at end of file
src/main/java/com/gmei/data/dqmp/domain/TblMonitorVolatilitySqlCriteria.java
deleted
100644 → 0
View file @
8a57f4b4
package
com
.
gmei
.
data
.
dqmp
.
domain
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
TblMonitorVolatilitySqlCriteria
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
TblMonitorVolatilitySqlCriteria
()
{
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
;
}
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
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
(
Integer
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Integer
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Integer
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Integer
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeIsNull
()
{
addCriterion
(
"indicator_type is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeIsNotNull
()
{
addCriterion
(
"indicator_type is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeEqualTo
(
String
value
)
{
addCriterion
(
"indicator_type ="
,
value
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeNotEqualTo
(
String
value
)
{
addCriterion
(
"indicator_type <>"
,
value
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeGreaterThan
(
String
value
)
{
addCriterion
(
"indicator_type >"
,
value
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"indicator_type >="
,
value
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeLessThan
(
String
value
)
{
addCriterion
(
"indicator_type <"
,
value
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"indicator_type <="
,
value
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeLike
(
String
value
)
{
addCriterion
(
"indicator_type like"
,
value
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeNotLike
(
String
value
)
{
addCriterion
(
"indicator_type not like"
,
value
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeIn
(
List
<
String
>
values
)
{
addCriterion
(
"indicator_type in"
,
values
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"indicator_type not in"
,
values
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"indicator_type between"
,
value1
,
value2
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"indicator_type not between"
,
value1
,
value2
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameIsNull
()
{
addCriterion
(
"db_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameIsNotNull
()
{
addCriterion
(
"db_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameEqualTo
(
String
value
)
{
addCriterion
(
"db_name ="
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameNotEqualTo
(
String
value
)
{
addCriterion
(
"db_name <>"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameGreaterThan
(
String
value
)
{
addCriterion
(
"db_name >"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"db_name >="
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameLessThan
(
String
value
)
{
addCriterion
(
"db_name <"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"db_name <="
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameLike
(
String
value
)
{
addCriterion
(
"db_name like"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameNotLike
(
String
value
)
{
addCriterion
(
"db_name not like"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"db_name in"
,
values
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"db_name not in"
,
values
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"db_name between"
,
value1
,
value2
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"db_name not between"
,
value1
,
value2
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameIsNull
()
{
addCriterion
(
"tb_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameIsNotNull
()
{
addCriterion
(
"tb_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameEqualTo
(
String
value
)
{
addCriterion
(
"tb_name ="
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameNotEqualTo
(
String
value
)
{
addCriterion
(
"tb_name <>"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameGreaterThan
(
String
value
)
{
addCriterion
(
"tb_name >"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"tb_name >="
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameLessThan
(
String
value
)
{
addCriterion
(
"tb_name <"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"tb_name <="
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameLike
(
String
value
)
{
addCriterion
(
"tb_name like"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameNotLike
(
String
value
)
{
addCriterion
(
"tb_name not like"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"tb_name in"
,
values
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"tb_name not in"
,
values
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"tb_name between"
,
value1
,
value2
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"tb_name not between"
,
value1
,
value2
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameIsNull
()
{
addCriterion
(
"col_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameIsNotNull
()
{
addCriterion
(
"col_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameEqualTo
(
String
value
)
{
addCriterion
(
"col_name ="
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameNotEqualTo
(
String
value
)
{
addCriterion
(
"col_name <>"
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameGreaterThan
(
String
value
)
{
addCriterion
(
"col_name >"
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"col_name >="
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameLessThan
(
String
value
)
{
addCriterion
(
"col_name <"
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"col_name <="
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameLike
(
String
value
)
{
addCriterion
(
"col_name like"
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameNotLike
(
String
value
)
{
addCriterion
(
"col_name not like"
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"col_name in"
,
values
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"col_name not in"
,
values
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"col_name between"
,
value1
,
value2
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"col_name not between"
,
value1
,
value2
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidIsNull
()
{
addCriterion
(
"is_valid is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidIsNotNull
()
{
addCriterion
(
"is_valid is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid ="
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidNotEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid <>"
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidGreaterThan
(
Integer
value
)
{
addCriterion
(
"is_valid >"
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid >="
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidLessThan
(
Integer
value
)
{
addCriterion
(
"is_valid <"
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid <="
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_valid in"
,
values
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_valid not in"
,
values
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_valid between"
,
value1
,
value2
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_valid not between"
,
value1
,
value2
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeIsNull
()
{
addCriterion
(
"check_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeIsNotNull
()
{
addCriterion
(
"check_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeEqualTo
(
String
value
)
{
addCriterion
(
"check_time ="
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotEqualTo
(
String
value
)
{
addCriterion
(
"check_time <>"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeGreaterThan
(
String
value
)
{
addCriterion
(
"check_time >"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_time >="
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeLessThan
(
String
value
)
{
addCriterion
(
"check_time <"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_time <="
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeLike
(
String
value
)
{
addCriterion
(
"check_time like"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotLike
(
String
value
)
{
addCriterion
(
"check_time not like"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_time in"
,
values
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_time not in"
,
values
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_time between"
,
value1
,
value2
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_time not between"
,
value1
,
value2
,
"checkTime"
);
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
(
String
value
)
{
addCriterion
(
"create_time ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
String
value
)
{
addCriterion
(
"create_time <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
String
value
)
{
addCriterion
(
"create_time >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"create_time >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
String
value
)
{
addCriterion
(
"create_time <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"create_time <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLike
(
String
value
)
{
addCriterion
(
"create_time like"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotLike
(
String
value
)
{
addCriterion
(
"create_time not like"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
String
>
values
)
{
addCriterion
(
"create_time in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"create_time not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"create_time between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"create_time not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
}
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
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
src/main/java/com/gmei/data/dqmp/domain/TblRuleDuplexInfo.java
deleted
100644 → 0
View file @
8a57f4b4
package
com
.
gmei
.
data
.
dqmp
.
domain
;
public
class
TblRuleDuplexInfo
{
private
Integer
id
;
private
String
checkType
;
private
String
checkDbName
;
private
String
checkTbName
;
private
String
checkColName
;
private
String
referDbName
;
private
String
referTbName
;
private
String
referColName
;
private
Integer
isPartitioned
;
private
Integer
isValid
;
private
String
checkTime
;
private
String
createTime
;
public
Integer
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
public
String
getCheckType
()
{
return
checkType
;
}
public
void
setCheckType
(
String
checkType
)
{
this
.
checkType
=
checkType
==
null
?
null
:
checkType
.
trim
();
}
public
String
getCheckDbName
()
{
return
checkDbName
;
}
public
void
setCheckDbName
(
String
checkDbName
)
{
this
.
checkDbName
=
checkDbName
==
null
?
null
:
checkDbName
.
trim
();
}
public
String
getCheckTbName
()
{
return
checkTbName
;
}
public
void
setCheckTbName
(
String
checkTbName
)
{
this
.
checkTbName
=
checkTbName
==
null
?
null
:
checkTbName
.
trim
();
}
public
String
getCheckColName
()
{
return
checkColName
;
}
public
void
setCheckColName
(
String
checkColName
)
{
this
.
checkColName
=
checkColName
==
null
?
null
:
checkColName
.
trim
();
}
public
String
getReferDbName
()
{
return
referDbName
;
}
public
void
setReferDbName
(
String
referDbName
)
{
this
.
referDbName
=
referDbName
==
null
?
null
:
referDbName
.
trim
();
}
public
String
getReferTbName
()
{
return
referTbName
;
}
public
void
setReferTbName
(
String
referTbName
)
{
this
.
referTbName
=
referTbName
==
null
?
null
:
referTbName
.
trim
();
}
public
String
getReferColName
()
{
return
referColName
;
}
public
void
setReferColName
(
String
referColName
)
{
this
.
referColName
=
referColName
==
null
?
null
:
referColName
.
trim
();
}
public
Integer
getIsPartitioned
()
{
return
isPartitioned
;
}
public
void
setIsPartitioned
(
Integer
isPartitioned
)
{
this
.
isPartitioned
=
isPartitioned
;
}
public
Integer
getIsValid
()
{
return
isValid
;
}
public
void
setIsValid
(
Integer
isValid
)
{
this
.
isValid
=
isValid
;
}
public
String
getCheckTime
()
{
return
checkTime
;
}
public
void
setCheckTime
(
String
checkTime
)
{
this
.
checkTime
=
checkTime
==
null
?
null
:
checkTime
.
trim
();
}
public
String
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
String
createTime
)
{
this
.
createTime
=
createTime
==
null
?
null
:
createTime
.
trim
();
}
}
\ No newline at end of file
src/main/java/com/gmei/data/dqmp/domain/TblRuleDuplexInfoCriteria.java
deleted
100644 → 0
View file @
8a57f4b4
package
com
.
gmei
.
data
.
dqmp
.
domain
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
TblRuleDuplexInfoCriteria
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
TblRuleDuplexInfoCriteria
()
{
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
;
}
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
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
(
Integer
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Integer
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Integer
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Integer
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeIsNull
()
{
addCriterion
(
"check_type is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeIsNotNull
()
{
addCriterion
(
"check_type is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeEqualTo
(
String
value
)
{
addCriterion
(
"check_type ="
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeNotEqualTo
(
String
value
)
{
addCriterion
(
"check_type <>"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeGreaterThan
(
String
value
)
{
addCriterion
(
"check_type >"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_type >="
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeLessThan
(
String
value
)
{
addCriterion
(
"check_type <"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_type <="
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeLike
(
String
value
)
{
addCriterion
(
"check_type like"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeNotLike
(
String
value
)
{
addCriterion
(
"check_type not like"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_type in"
,
values
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_type not in"
,
values
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_type between"
,
value1
,
value2
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_type not between"
,
value1
,
value2
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameIsNull
()
{
addCriterion
(
"check_db_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameIsNotNull
()
{
addCriterion
(
"check_db_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameEqualTo
(
String
value
)
{
addCriterion
(
"check_db_name ="
,
value
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameNotEqualTo
(
String
value
)
{
addCriterion
(
"check_db_name <>"
,
value
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameGreaterThan
(
String
value
)
{
addCriterion
(
"check_db_name >"
,
value
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_db_name >="
,
value
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameLessThan
(
String
value
)
{
addCriterion
(
"check_db_name <"
,
value
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_db_name <="
,
value
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameLike
(
String
value
)
{
addCriterion
(
"check_db_name like"
,
value
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameNotLike
(
String
value
)
{
addCriterion
(
"check_db_name not like"
,
value
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_db_name in"
,
values
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_db_name not in"
,
values
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_db_name between"
,
value1
,
value2
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckDbNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_db_name not between"
,
value1
,
value2
,
"checkDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameIsNull
()
{
addCriterion
(
"check_tb_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameIsNotNull
()
{
addCriterion
(
"check_tb_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameEqualTo
(
String
value
)
{
addCriterion
(
"check_tb_name ="
,
value
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameNotEqualTo
(
String
value
)
{
addCriterion
(
"check_tb_name <>"
,
value
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameGreaterThan
(
String
value
)
{
addCriterion
(
"check_tb_name >"
,
value
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_tb_name >="
,
value
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameLessThan
(
String
value
)
{
addCriterion
(
"check_tb_name <"
,
value
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_tb_name <="
,
value
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameLike
(
String
value
)
{
addCriterion
(
"check_tb_name like"
,
value
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameNotLike
(
String
value
)
{
addCriterion
(
"check_tb_name not like"
,
value
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_tb_name in"
,
values
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_tb_name not in"
,
values
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_tb_name between"
,
value1
,
value2
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTbNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_tb_name not between"
,
value1
,
value2
,
"checkTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameIsNull
()
{
addCriterion
(
"check_col_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameIsNotNull
()
{
addCriterion
(
"check_col_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameEqualTo
(
String
value
)
{
addCriterion
(
"check_col_name ="
,
value
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameNotEqualTo
(
String
value
)
{
addCriterion
(
"check_col_name <>"
,
value
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameGreaterThan
(
String
value
)
{
addCriterion
(
"check_col_name >"
,
value
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_col_name >="
,
value
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameLessThan
(
String
value
)
{
addCriterion
(
"check_col_name <"
,
value
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_col_name <="
,
value
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameLike
(
String
value
)
{
addCriterion
(
"check_col_name like"
,
value
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameNotLike
(
String
value
)
{
addCriterion
(
"check_col_name not like"
,
value
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_col_name in"
,
values
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_col_name not in"
,
values
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_col_name between"
,
value1
,
value2
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckColNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_col_name not between"
,
value1
,
value2
,
"checkColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameIsNull
()
{
addCriterion
(
"refer_db_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameIsNotNull
()
{
addCriterion
(
"refer_db_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameEqualTo
(
String
value
)
{
addCriterion
(
"refer_db_name ="
,
value
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameNotEqualTo
(
String
value
)
{
addCriterion
(
"refer_db_name <>"
,
value
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameGreaterThan
(
String
value
)
{
addCriterion
(
"refer_db_name >"
,
value
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"refer_db_name >="
,
value
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameLessThan
(
String
value
)
{
addCriterion
(
"refer_db_name <"
,
value
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"refer_db_name <="
,
value
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameLike
(
String
value
)
{
addCriterion
(
"refer_db_name like"
,
value
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameNotLike
(
String
value
)
{
addCriterion
(
"refer_db_name not like"
,
value
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"refer_db_name in"
,
values
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"refer_db_name not in"
,
values
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"refer_db_name between"
,
value1
,
value2
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferDbNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"refer_db_name not between"
,
value1
,
value2
,
"referDbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameIsNull
()
{
addCriterion
(
"refer_tb_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameIsNotNull
()
{
addCriterion
(
"refer_tb_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameEqualTo
(
String
value
)
{
addCriterion
(
"refer_tb_name ="
,
value
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameNotEqualTo
(
String
value
)
{
addCriterion
(
"refer_tb_name <>"
,
value
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameGreaterThan
(
String
value
)
{
addCriterion
(
"refer_tb_name >"
,
value
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"refer_tb_name >="
,
value
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameLessThan
(
String
value
)
{
addCriterion
(
"refer_tb_name <"
,
value
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"refer_tb_name <="
,
value
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameLike
(
String
value
)
{
addCriterion
(
"refer_tb_name like"
,
value
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameNotLike
(
String
value
)
{
addCriterion
(
"refer_tb_name not like"
,
value
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"refer_tb_name in"
,
values
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"refer_tb_name not in"
,
values
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"refer_tb_name between"
,
value1
,
value2
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferTbNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"refer_tb_name not between"
,
value1
,
value2
,
"referTbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameIsNull
()
{
addCriterion
(
"refer_col_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameIsNotNull
()
{
addCriterion
(
"refer_col_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameEqualTo
(
String
value
)
{
addCriterion
(
"refer_col_name ="
,
value
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameNotEqualTo
(
String
value
)
{
addCriterion
(
"refer_col_name <>"
,
value
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameGreaterThan
(
String
value
)
{
addCriterion
(
"refer_col_name >"
,
value
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"refer_col_name >="
,
value
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameLessThan
(
String
value
)
{
addCriterion
(
"refer_col_name <"
,
value
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"refer_col_name <="
,
value
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameLike
(
String
value
)
{
addCriterion
(
"refer_col_name like"
,
value
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameNotLike
(
String
value
)
{
addCriterion
(
"refer_col_name not like"
,
value
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"refer_col_name in"
,
values
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"refer_col_name not in"
,
values
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"refer_col_name between"
,
value1
,
value2
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andReferColNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"refer_col_name not between"
,
value1
,
value2
,
"referColName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedIsNull
()
{
addCriterion
(
"is_partitioned is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedIsNotNull
()
{
addCriterion
(
"is_partitioned is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedEqualTo
(
Integer
value
)
{
addCriterion
(
"is_partitioned ="
,
value
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedNotEqualTo
(
Integer
value
)
{
addCriterion
(
"is_partitioned <>"
,
value
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedGreaterThan
(
Integer
value
)
{
addCriterion
(
"is_partitioned >"
,
value
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_partitioned >="
,
value
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedLessThan
(
Integer
value
)
{
addCriterion
(
"is_partitioned <"
,
value
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_partitioned <="
,
value
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_partitioned in"
,
values
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_partitioned not in"
,
values
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_partitioned between"
,
value1
,
value2
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_partitioned not between"
,
value1
,
value2
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidIsNull
()
{
addCriterion
(
"is_valid is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidIsNotNull
()
{
addCriterion
(
"is_valid is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid ="
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidNotEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid <>"
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidGreaterThan
(
Integer
value
)
{
addCriterion
(
"is_valid >"
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid >="
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidLessThan
(
Integer
value
)
{
addCriterion
(
"is_valid <"
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid <="
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_valid in"
,
values
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_valid not in"
,
values
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_valid between"
,
value1
,
value2
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_valid not between"
,
value1
,
value2
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeIsNull
()
{
addCriterion
(
"check_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeIsNotNull
()
{
addCriterion
(
"check_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeEqualTo
(
String
value
)
{
addCriterion
(
"check_time ="
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotEqualTo
(
String
value
)
{
addCriterion
(
"check_time <>"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeGreaterThan
(
String
value
)
{
addCriterion
(
"check_time >"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_time >="
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeLessThan
(
String
value
)
{
addCriterion
(
"check_time <"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_time <="
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeLike
(
String
value
)
{
addCriterion
(
"check_time like"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotLike
(
String
value
)
{
addCriterion
(
"check_time not like"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_time in"
,
values
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_time not in"
,
values
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_time between"
,
value1
,
value2
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_time not between"
,
value1
,
value2
,
"checkTime"
);
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
(
String
value
)
{
addCriterion
(
"create_time ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
String
value
)
{
addCriterion
(
"create_time <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
String
value
)
{
addCriterion
(
"create_time >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"create_time >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
String
value
)
{
addCriterion
(
"create_time <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"create_time <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLike
(
String
value
)
{
addCriterion
(
"create_time like"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotLike
(
String
value
)
{
addCriterion
(
"create_time not like"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
String
>
values
)
{
addCriterion
(
"create_time in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"create_time not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"create_time between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"create_time not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
}
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
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
src/main/java/com/gmei/data/dqmp/domain/TblRuleDuplexInfoWithBLOBs.java
deleted
100644 → 0
View file @
8a57f4b4
package
com
.
gmei
.
data
.
dqmp
.
domain
;
public
class
TblRuleDuplexInfoWithBLOBs
extends
TblRuleDuplexInfo
{
private
String
checkFilters
;
private
String
referFilters
;
public
String
getCheckFilters
()
{
return
checkFilters
;
}
public
void
setCheckFilters
(
String
checkFilters
)
{
this
.
checkFilters
=
checkFilters
==
null
?
null
:
checkFilters
.
trim
();
}
public
String
getReferFilters
()
{
return
referFilters
;
}
public
void
setReferFilters
(
String
referFilters
)
{
this
.
referFilters
=
referFilters
==
null
?
null
:
referFilters
.
trim
();
}
}
\ No newline at end of file
src/main/java/com/gmei/data/dqmp/domain/TblRuleSimpleInfo.java
deleted
100644 → 0
View file @
8a57f4b4
package
com
.
gmei
.
data
.
dqmp
.
domain
;
public
class
TblRuleSimpleInfo
{
private
Integer
id
;
private
String
checkType
;
private
String
dbName
;
private
String
tbName
;
private
String
colName
;
private
String
indicatorType
;
private
String
startTime
;
private
String
endTime
;
private
Integer
isPartitioned
;
private
Integer
isValid
;
private
String
checkTime
;
private
String
createTime
;
private
String
filters
;
public
Integer
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
public
String
getCheckType
()
{
return
checkType
;
}
public
void
setCheckType
(
String
checkType
)
{
this
.
checkType
=
checkType
==
null
?
null
:
checkType
.
trim
();
}
public
String
getDbName
()
{
return
dbName
;
}
public
void
setDbName
(
String
dbName
)
{
this
.
dbName
=
dbName
==
null
?
null
:
dbName
.
trim
();
}
public
String
getTbName
()
{
return
tbName
;
}
public
void
setTbName
(
String
tbName
)
{
this
.
tbName
=
tbName
==
null
?
null
:
tbName
.
trim
();
}
public
String
getColName
()
{
return
colName
;
}
public
void
setColName
(
String
colName
)
{
this
.
colName
=
colName
==
null
?
null
:
colName
.
trim
();
}
public
String
getIndicatorType
()
{
return
indicatorType
;
}
public
void
setIndicatorType
(
String
indicatorType
)
{
this
.
indicatorType
=
indicatorType
==
null
?
null
:
indicatorType
.
trim
();
}
public
String
getStartTime
()
{
return
startTime
;
}
public
void
setStartTime
(
String
startTime
)
{
this
.
startTime
=
startTime
==
null
?
null
:
startTime
.
trim
();
}
public
String
getEndTime
()
{
return
endTime
;
}
public
void
setEndTime
(
String
endTime
)
{
this
.
endTime
=
endTime
==
null
?
null
:
endTime
.
trim
();
}
public
Integer
getIsPartitioned
()
{
return
isPartitioned
;
}
public
void
setIsPartitioned
(
Integer
isPartitioned
)
{
this
.
isPartitioned
=
isPartitioned
;
}
public
Integer
getIsValid
()
{
return
isValid
;
}
public
void
setIsValid
(
Integer
isValid
)
{
this
.
isValid
=
isValid
;
}
public
String
getCheckTime
()
{
return
checkTime
;
}
public
void
setCheckTime
(
String
checkTime
)
{
this
.
checkTime
=
checkTime
==
null
?
null
:
checkTime
.
trim
();
}
public
String
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
String
createTime
)
{
this
.
createTime
=
createTime
==
null
?
null
:
createTime
.
trim
();
}
public
String
getFilters
()
{
return
filters
;
}
public
void
setFilters
(
String
filters
)
{
this
.
filters
=
filters
==
null
?
null
:
filters
.
trim
();
}
}
\ No newline at end of file
src/main/java/com/gmei/data/dqmp/domain/TblRuleSimpleInfoCriteria.java
deleted
100644 → 0
View file @
8a57f4b4
package
com
.
gmei
.
data
.
dqmp
.
domain
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
TblRuleSimpleInfoCriteria
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
TblRuleSimpleInfoCriteria
()
{
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
;
}
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
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
(
Integer
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Integer
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Integer
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Integer
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeIsNull
()
{
addCriterion
(
"check_type is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeIsNotNull
()
{
addCriterion
(
"check_type is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeEqualTo
(
String
value
)
{
addCriterion
(
"check_type ="
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeNotEqualTo
(
String
value
)
{
addCriterion
(
"check_type <>"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeGreaterThan
(
String
value
)
{
addCriterion
(
"check_type >"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_type >="
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeLessThan
(
String
value
)
{
addCriterion
(
"check_type <"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_type <="
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeLike
(
String
value
)
{
addCriterion
(
"check_type like"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeNotLike
(
String
value
)
{
addCriterion
(
"check_type not like"
,
value
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_type in"
,
values
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_type not in"
,
values
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_type between"
,
value1
,
value2
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTypeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_type not between"
,
value1
,
value2
,
"checkType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameIsNull
()
{
addCriterion
(
"db_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameIsNotNull
()
{
addCriterion
(
"db_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameEqualTo
(
String
value
)
{
addCriterion
(
"db_name ="
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameNotEqualTo
(
String
value
)
{
addCriterion
(
"db_name <>"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameGreaterThan
(
String
value
)
{
addCriterion
(
"db_name >"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"db_name >="
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameLessThan
(
String
value
)
{
addCriterion
(
"db_name <"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"db_name <="
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameLike
(
String
value
)
{
addCriterion
(
"db_name like"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameNotLike
(
String
value
)
{
addCriterion
(
"db_name not like"
,
value
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"db_name in"
,
values
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"db_name not in"
,
values
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"db_name between"
,
value1
,
value2
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDbNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"db_name not between"
,
value1
,
value2
,
"dbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameIsNull
()
{
addCriterion
(
"tb_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameIsNotNull
()
{
addCriterion
(
"tb_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameEqualTo
(
String
value
)
{
addCriterion
(
"tb_name ="
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameNotEqualTo
(
String
value
)
{
addCriterion
(
"tb_name <>"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameGreaterThan
(
String
value
)
{
addCriterion
(
"tb_name >"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"tb_name >="
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameLessThan
(
String
value
)
{
addCriterion
(
"tb_name <"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"tb_name <="
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameLike
(
String
value
)
{
addCriterion
(
"tb_name like"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameNotLike
(
String
value
)
{
addCriterion
(
"tb_name not like"
,
value
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"tb_name in"
,
values
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"tb_name not in"
,
values
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"tb_name between"
,
value1
,
value2
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTbNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"tb_name not between"
,
value1
,
value2
,
"tbName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameIsNull
()
{
addCriterion
(
"col_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameIsNotNull
()
{
addCriterion
(
"col_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameEqualTo
(
String
value
)
{
addCriterion
(
"col_name ="
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameNotEqualTo
(
String
value
)
{
addCriterion
(
"col_name <>"
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameGreaterThan
(
String
value
)
{
addCriterion
(
"col_name >"
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"col_name >="
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameLessThan
(
String
value
)
{
addCriterion
(
"col_name <"
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"col_name <="
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameLike
(
String
value
)
{
addCriterion
(
"col_name like"
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameNotLike
(
String
value
)
{
addCriterion
(
"col_name not like"
,
value
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"col_name in"
,
values
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"col_name not in"
,
values
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"col_name between"
,
value1
,
value2
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andColNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"col_name not between"
,
value1
,
value2
,
"colName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeIsNull
()
{
addCriterion
(
"indicator_type is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeIsNotNull
()
{
addCriterion
(
"indicator_type is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeEqualTo
(
String
value
)
{
addCriterion
(
"indicator_type ="
,
value
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeNotEqualTo
(
String
value
)
{
addCriterion
(
"indicator_type <>"
,
value
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeGreaterThan
(
String
value
)
{
addCriterion
(
"indicator_type >"
,
value
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"indicator_type >="
,
value
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeLessThan
(
String
value
)
{
addCriterion
(
"indicator_type <"
,
value
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"indicator_type <="
,
value
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeLike
(
String
value
)
{
addCriterion
(
"indicator_type like"
,
value
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeNotLike
(
String
value
)
{
addCriterion
(
"indicator_type not like"
,
value
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeIn
(
List
<
String
>
values
)
{
addCriterion
(
"indicator_type in"
,
values
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"indicator_type not in"
,
values
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"indicator_type between"
,
value1
,
value2
,
"indicatorType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIndicatorTypeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"indicator_type not between"
,
value1
,
value2
,
"indicatorType"
);
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
(
String
value
)
{
addCriterion
(
"start_time ="
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeNotEqualTo
(
String
value
)
{
addCriterion
(
"start_time <>"
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeGreaterThan
(
String
value
)
{
addCriterion
(
"start_time >"
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"start_time >="
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeLessThan
(
String
value
)
{
addCriterion
(
"start_time <"
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"start_time <="
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeLike
(
String
value
)
{
addCriterion
(
"start_time like"
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeNotLike
(
String
value
)
{
addCriterion
(
"start_time not like"
,
value
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeIn
(
List
<
String
>
values
)
{
addCriterion
(
"start_time in"
,
values
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"start_time not in"
,
values
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"start_time between"
,
value1
,
value2
,
"startTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStartTimeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"start_time not between"
,
value1
,
value2
,
"startTime"
);
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
(
String
value
)
{
addCriterion
(
"end_time ="
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeNotEqualTo
(
String
value
)
{
addCriterion
(
"end_time <>"
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeGreaterThan
(
String
value
)
{
addCriterion
(
"end_time >"
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"end_time >="
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeLessThan
(
String
value
)
{
addCriterion
(
"end_time <"
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"end_time <="
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeLike
(
String
value
)
{
addCriterion
(
"end_time like"
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeNotLike
(
String
value
)
{
addCriterion
(
"end_time not like"
,
value
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeIn
(
List
<
String
>
values
)
{
addCriterion
(
"end_time in"
,
values
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"end_time not in"
,
values
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"end_time between"
,
value1
,
value2
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEndTimeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"end_time not between"
,
value1
,
value2
,
"endTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedIsNull
()
{
addCriterion
(
"is_partitioned is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedIsNotNull
()
{
addCriterion
(
"is_partitioned is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedEqualTo
(
Integer
value
)
{
addCriterion
(
"is_partitioned ="
,
value
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedNotEqualTo
(
Integer
value
)
{
addCriterion
(
"is_partitioned <>"
,
value
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedGreaterThan
(
Integer
value
)
{
addCriterion
(
"is_partitioned >"
,
value
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_partitioned >="
,
value
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedLessThan
(
Integer
value
)
{
addCriterion
(
"is_partitioned <"
,
value
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_partitioned <="
,
value
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_partitioned in"
,
values
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_partitioned not in"
,
values
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_partitioned between"
,
value1
,
value2
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsPartitionedNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_partitioned not between"
,
value1
,
value2
,
"isPartitioned"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidIsNull
()
{
addCriterion
(
"is_valid is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidIsNotNull
()
{
addCriterion
(
"is_valid is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid ="
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidNotEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid <>"
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidGreaterThan
(
Integer
value
)
{
addCriterion
(
"is_valid >"
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid >="
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidLessThan
(
Integer
value
)
{
addCriterion
(
"is_valid <"
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"is_valid <="
,
value
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_valid in"
,
values
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"is_valid not in"
,
values
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_valid between"
,
value1
,
value2
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsValidNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"is_valid not between"
,
value1
,
value2
,
"isValid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeIsNull
()
{
addCriterion
(
"check_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeIsNotNull
()
{
addCriterion
(
"check_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeEqualTo
(
String
value
)
{
addCriterion
(
"check_time ="
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotEqualTo
(
String
value
)
{
addCriterion
(
"check_time <>"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeGreaterThan
(
String
value
)
{
addCriterion
(
"check_time >"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_time >="
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeLessThan
(
String
value
)
{
addCriterion
(
"check_time <"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"check_time <="
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeLike
(
String
value
)
{
addCriterion
(
"check_time like"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotLike
(
String
value
)
{
addCriterion
(
"check_time not like"
,
value
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_time in"
,
values
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"check_time not in"
,
values
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_time between"
,
value1
,
value2
,
"checkTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckTimeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"check_time not between"
,
value1
,
value2
,
"checkTime"
);
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
(
String
value
)
{
addCriterion
(
"create_time ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
String
value
)
{
addCriterion
(
"create_time <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
String
value
)
{
addCriterion
(
"create_time >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"create_time >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
String
value
)
{
addCriterion
(
"create_time <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"create_time <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLike
(
String
value
)
{
addCriterion
(
"create_time like"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotLike
(
String
value
)
{
addCriterion
(
"create_time not like"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
String
>
values
)
{
addCriterion
(
"create_time in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"create_time not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"create_time between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"create_time not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
}
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
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
src/main/java/com/gmei/data/dqmp/dto/DqReferRuleDto.java
0 → 100644
View file @
0a6fb1a3
package
com
.
gmei
.
data
.
dqmp
.
dto
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.metadata.BaseRowModel
;
import
lombok.Data
;
@Data
public
class
DqReferRuleDto
extends
BaseRowModel
{
@ExcelProperty
(
value
=
"校验类型"
,
index
=
1
)
private
String
checkType
;
@ExcelProperty
(
value
=
"是否启用"
,
index
=
2
)
private
Integer
isValid
;
@ExcelProperty
(
value
=
"校验时间"
,
index
=
3
)
private
String
checkTime
;
@ExcelProperty
(
value
=
"校验数据库名"
,
index
=
4
)
private
String
checkDbName
;
@ExcelProperty
(
value
=
"校验数据表名"
,
index
=
5
)
private
String
checkTbName
;
@ExcelProperty
(
value
=
"校验数据列名"
,
index
=
6
)
private
String
checkColName
;
@ExcelProperty
(
value
=
"校验表过滤条件"
,
index
=
7
)
private
String
checkFilters
;
@ExcelProperty
(
value
=
"参照数据库名"
,
index
=
8
)
private
String
referDbName
;
@ExcelProperty
(
value
=
"参照数据表名"
,
index
=
9
)
private
String
referTbName
;
@ExcelProperty
(
value
=
"参照数据列名"
,
index
=
10
)
private
String
referColName
;
@ExcelProperty
(
value
=
"参照表过滤条件"
,
index
=
11
)
private
String
referFilters
;
}
src/main/java/com/gmei/data/dqmp/dto/DqSpecialRuleDto.java
0 → 100644
View file @
0a6fb1a3
package
com
.
gmei
.
data
.
dqmp
.
dto
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.metadata.BaseRowModel
;
import
lombok.Data
;
@Data
public
class
DqSpecialRuleDto
extends
BaseRowModel
{
@ExcelProperty
(
value
=
"校验类型"
,
index
=
1
)
private
String
checkType
;
@ExcelProperty
(
value
=
"是否启用"
,
index
=
2
)
private
Integer
isValid
;
@ExcelProperty
(
value
=
"校验时间"
,
index
=
3
)
private
String
checkTime
;
@ExcelProperty
(
value
=
"数据库名"
,
index
=
4
)
private
String
dbName
;
@ExcelProperty
(
value
=
"数据表名"
,
index
=
5
)
private
String
tbName
;
@ExcelProperty
(
value
=
"数据列名"
,
index
=
6
)
private
String
colName
;
@ExcelProperty
(
value
=
"数据时间列名"
,
index
=
7
)
private
String
timeColName
;
@ExcelProperty
(
value
=
"指标类型"
,
index
=
8
)
private
String
indicatorType
;
@ExcelProperty
(
value
=
"数据校验起始时间"
,
index
=
9
)
private
String
startTime
;
@ExcelProperty
(
value
=
"过滤条件"
,
index
=
10
)
private
String
filters
;
}
src/main/java/com/gmei/data/dqmp/dto/DqUnblankRuleDto.java
0 → 100644
View file @
0a6fb1a3
package
com
.
gmei
.
data
.
dqmp
.
dto
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.metadata.BaseRowModel
;
import
lombok.Data
;
@Data
public
class
DqUnblankRuleDto
extends
BaseRowModel
{
@ExcelProperty
(
value
=
"校验类型"
,
index
=
1
)
private
String
checkType
;
@ExcelProperty
(
value
=
"是否启用"
,
index
=
2
)
private
Integer
isValid
;
@ExcelProperty
(
value
=
"校验时间"
,
index
=
3
)
private
String
checkTime
;
@ExcelProperty
(
value
=
"数据库名"
,
index
=
4
)
private
String
dbName
;
@ExcelProperty
(
value
=
"数据表名"
,
index
=
5
)
private
String
tbName
;
@ExcelProperty
(
value
=
"数据列名"
,
index
=
6
)
private
String
colName
;
@ExcelProperty
(
value
=
"过滤条件"
,
index
=
7
)
private
String
filters
;
}
src/main/java/com/gmei/data/dqmp/dto/DqUniqueRuleDto.java
0 → 100644
View file @
0a6fb1a3
package
com
.
gmei
.
data
.
dqmp
.
dto
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.metadata.BaseRowModel
;
import
lombok.Data
;
@Data
public
class
DqUniqueRuleDto
extends
BaseRowModel
{
@ExcelProperty
(
value
=
"校验类型"
,
index
=
1
)
private
String
checkType
;
@ExcelProperty
(
value
=
"是否启用"
,
index
=
2
)
private
Integer
isValid
;
@ExcelProperty
(
value
=
"校验时间"
,
index
=
3
)
private
String
checkTime
;
@ExcelProperty
(
value
=
"数据库名"
,
index
=
4
)
private
String
dbName
;
@ExcelProperty
(
value
=
"数据表名"
,
index
=
5
)
private
String
tbName
;
@ExcelProperty
(
value
=
"数据列名"
,
index
=
6
)
private
String
colName
;
@ExcelProperty
(
value
=
"过滤条件"
,
index
=
7
)
private
String
filters
;
}
src/main/java/com/gmei/data/dqmp/dto/DqVolatilityRuleDto.java
0 → 100644
View file @
0a6fb1a3
package
com
.
gmei
.
data
.
dqmp
.
dto
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.metadata.BaseRowModel
;
import
lombok.Data
;
@Data
public
class
DqVolatilityRuleDto
extends
BaseRowModel
{
@ExcelProperty
(
value
=
"校验类型"
,
index
=
1
)
private
String
checkType
;
@ExcelProperty
(
value
=
"是否启用"
,
index
=
2
)
private
Integer
isValid
;
@ExcelProperty
(
value
=
"校验时间"
,
index
=
3
)
private
String
checkTime
;
@ExcelProperty
(
value
=
"数据库名"
,
index
=
4
)
private
String
dbName
;
@ExcelProperty
(
value
=
"数据表名"
,
index
=
5
)
private
String
tbName
;
@ExcelProperty
(
value
=
"数据列名"
,
index
=
6
)
private
String
colName
;
@ExcelProperty
(
value
=
"指标类型"
,
index
=
7
)
private
String
indicatorType
;
@ExcelProperty
(
value
=
"过滤条件"
,
index
=
8
)
private
String
filters
;
}
src/main/java/com/gmei/data/dqmp/dto/RuleTemplateDto.java
View file @
0a6fb1a3
package
com
.
gmei
.
data
.
dqmp
.
dto
;
package
com
.
gmei
.
data
.
dqmp
.
dto
;
import
lombok.Data
;
@Data
public
class
RuleTemplateDto
{
public
class
RuleTemplateDto
{
private
Integer
id
;
private
Integer
id
;
...
@@ -10,36 +13,4 @@ public class RuleTemplateDto {
...
@@ -10,36 +13,4 @@ public class RuleTemplateDto {
private
String
comment
;
private
String
comment
;
public
Integer
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
public
String
getCheckType
()
{
return
checkType
;
}
public
void
setCheckType
(
String
checkType
)
{
this
.
checkType
=
checkType
;
}
public
String
getTpltContent
()
{
return
tpltContent
;
}
public
void
setTpltContent
(
String
tpltContent
)
{
this
.
tpltContent
=
tpltContent
;
}
public
String
getComment
()
{
return
comment
;
}
public
void
setComment
(
String
comment
)
{
this
.
comment
=
comment
;
}
}
}
src/main/java/com/gmei/data/dqmp/listener/ReferExcelListener.java
0 → 100644
View file @
0a6fb1a3
package
com
.
gmei
.
data
.
dqmp
.
listener
;
import
java.util.ArrayList
;
import
java.util.List
;
import
com.alibaba.excel.context.AnalysisContext
;
import
com.alibaba.excel.event.AnalysisEventListener
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.gmei.data.dqmp.service.DqRuleService
;
import
com.gmei.data.dqmp.vo.DqRuleVo
;
public
class
ReferExcelListener
extends
AnalysisEventListener
<
Object
>
{
private
DqRuleService
dqRuleService
;
public
ReferExcelListener
(
DqRuleService
dqRuleService
)
{
super
();
this
.
dqRuleService
=
dqRuleService
;
}
private
List
<
Object
>
data
=
new
ArrayList
<>();
@Override
public
void
invoke
(
Object
object
,
AnalysisContext
context
)
{
System
.
out
.
println
(
context
.
getCurrentSheet
());
data
.
add
(
object
);
if
(
data
.
size
()>=
100
){
doSomething
();
data
.
clear
();
}
}
@Override
public
void
doAfterAllAnalysed
(
AnalysisContext
context
)
{
doSomething
();
}
public
void
doSomething
(){
for
(
Object
o:
data
)
{
String
jsonString
=
JSONObject
.
toJSONString
(
o
);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
jsonString
);
DqRuleVo
dqRuleVo
=
JSON
.
toJavaObject
(
jsonObject
,
DqRuleVo
.
class
);
dqRuleService
.
addDqRule
(
dqRuleVo
);
}
}
public
List
<
Object
>
getData
()
{
return
data
;
}
public
void
setData
(
List
<
Object
>
data
)
{
this
.
data
=
data
;
}
}
src/main/java/com/gmei/data/dqmp/listener/SpecialExcelListener.java
0 → 100644
View file @
0a6fb1a3
package
com
.
gmei
.
data
.
dqmp
.
listener
;
import
java.util.ArrayList
;
import
java.util.List
;
import
com.alibaba.excel.context.AnalysisContext
;
import
com.alibaba.excel.event.AnalysisEventListener
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.gmei.data.dqmp.service.DqRuleService
;
import
com.gmei.data.dqmp.vo.DqRuleVo
;
public
class
SpecialExcelListener
extends
AnalysisEventListener
<
Object
>
{
private
DqRuleService
dqRuleService
;
public
SpecialExcelListener
(
DqRuleService
dqRuleService
)
{
super
();
this
.
dqRuleService
=
dqRuleService
;
}
private
List
<
Object
>
data
=
new
ArrayList
<>();
@Override
public
void
invoke
(
Object
object
,
AnalysisContext
context
)
{
System
.
out
.
println
(
context
.
getCurrentSheet
());
data
.
add
(
object
);
if
(
data
.
size
()>=
100
){
doSomething
();
data
.
clear
();
}
}
@Override
public
void
doAfterAllAnalysed
(
AnalysisContext
context
)
{
doSomething
();
}
public
void
doSomething
(){
for
(
Object
o:
data
)
{
String
jsonString
=
JSONObject
.
toJSONString
(
o
);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
jsonString
);
DqRuleVo
dqRuleVo
=
JSON
.
toJavaObject
(
jsonObject
,
DqRuleVo
.
class
);
dqRuleService
.
addDqRule
(
dqRuleVo
);
}
}
public
List
<
Object
>
getData
()
{
return
data
;
}
public
void
setData
(
List
<
Object
>
data
)
{
this
.
data
=
data
;
}
}
src/main/java/com/gmei/data/dqmp/listener/UnblankExcelListener.java
0 → 100644
View file @
0a6fb1a3
package
com
.
gmei
.
data
.
dqmp
.
listener
;
import
java.util.ArrayList
;
import
java.util.List
;
import
com.alibaba.excel.context.AnalysisContext
;
import
com.alibaba.excel.event.AnalysisEventListener
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.gmei.data.dqmp.service.DqRuleService
;
import
com.gmei.data.dqmp.vo.DqRuleVo
;
public
class
UnblankExcelListener
extends
AnalysisEventListener
<
Object
>
{
private
DqRuleService
dqRuleService
;
public
UnblankExcelListener
(
DqRuleService
dqRuleService
)
{
super
();
this
.
dqRuleService
=
dqRuleService
;
}
private
List
<
Object
>
data
=
new
ArrayList
<>();
@Override
public
void
invoke
(
Object
object
,
AnalysisContext
context
)
{
System
.
out
.
println
(
context
.
getCurrentSheet
());
data
.
add
(
object
);
if
(
data
.
size
()>=
100
){
doSomething
();
data
.
clear
();
}
}
@Override
public
void
doAfterAllAnalysed
(
AnalysisContext
context
)
{
doSomething
();
}
public
void
doSomething
(){
for
(
Object
o:
data
)
{
String
jsonString
=
JSONObject
.
toJSONString
(
o
);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
jsonString
);
DqRuleVo
dqRuleVo
=
JSON
.
toJavaObject
(
jsonObject
,
DqRuleVo
.
class
);
dqRuleService
.
addDqRule
(
dqRuleVo
);
}
}
public
List
<
Object
>
getData
()
{
return
data
;
}
public
void
setData
(
List
<
Object
>
data
)
{
this
.
data
=
data
;
}
}
src/main/java/com/gmei/data/dqmp/listener/UniqueExcelListener.java
0 → 100644
View file @
0a6fb1a3
package
com
.
gmei
.
data
.
dqmp
.
listener
;
import
java.util.ArrayList
;
import
java.util.List
;
import
com.alibaba.excel.context.AnalysisContext
;
import
com.alibaba.excel.event.AnalysisEventListener
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.gmei.data.dqmp.service.DqRuleService
;
import
com.gmei.data.dqmp.vo.DqRuleVo
;
public
class
UniqueExcelListener
extends
AnalysisEventListener
<
Object
>
{
private
DqRuleService
dqRuleService
;
public
UniqueExcelListener
(
DqRuleService
dqRuleService
)
{
super
();
this
.
dqRuleService
=
dqRuleService
;
}
private
List
<
Object
>
data
=
new
ArrayList
<>();
@Override
public
void
invoke
(
Object
object
,
AnalysisContext
context
)
{
System
.
out
.
println
(
context
.
getCurrentSheet
());
data
.
add
(
object
);
if
(
data
.
size
()>=
100
){
doSomething
();
data
.
clear
();
}
}
@Override
public
void
doAfterAllAnalysed
(
AnalysisContext
context
)
{
doSomething
();
}
public
void
doSomething
(){
for
(
Object
o:
data
)
{
String
jsonString
=
JSONObject
.
toJSONString
(
o
);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
jsonString
);
DqRuleVo
dqRuleVo
=
JSON
.
toJavaObject
(
jsonObject
,
DqRuleVo
.
class
);
dqRuleService
.
addDqRule
(
dqRuleVo
);
}
}
public
List
<
Object
>
getData
()
{
return
data
;
}
public
void
setData
(
List
<
Object
>
data
)
{
this
.
data
=
data
;
}
}
src/main/java/com/gmei/data/dqmp/listener/VolatilityExcelListener.java
0 → 100644
View file @
0a6fb1a3
package
com
.
gmei
.
data
.
dqmp
.
listener
;
import
java.util.ArrayList
;
import
java.util.List
;
import
com.alibaba.excel.context.AnalysisContext
;
import
com.alibaba.excel.event.AnalysisEventListener
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.gmei.data.dqmp.service.DqRuleService
;
import
com.gmei.data.dqmp.vo.DqRuleVo
;
public
class
VolatilityExcelListener
extends
AnalysisEventListener
<
Object
>
{
private
DqRuleService
dqRuleService
;
public
VolatilityExcelListener
(
DqRuleService
dqRuleService
)
{
super
();
this
.
dqRuleService
=
dqRuleService
;
}
private
List
<
Object
>
data
=
new
ArrayList
<>();
@Override
public
void
invoke
(
Object
object
,
AnalysisContext
context
)
{
System
.
out
.
println
(
context
.
getCurrentSheet
());
data
.
add
(
object
);
if
(
data
.
size
()>=
100
){
doSomething
();
data
.
clear
();
}
}
@Override
public
void
doAfterAllAnalysed
(
AnalysisContext
context
)
{
doSomething
();
}
public
void
doSomething
(){
for
(
Object
o:
data
)
{
String
jsonString
=
JSONObject
.
toJSONString
(
o
);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
jsonString
);
DqRuleVo
dqRuleVo
=
JSON
.
toJavaObject
(
jsonObject
,
DqRuleVo
.
class
);
dqRuleService
.
addDqRule
(
dqRuleVo
);
}
}
public
List
<
Object
>
getData
()
{
return
data
;
}
public
void
setData
(
List
<
Object
>
data
)
{
this
.
data
=
data
;
}
}
src/main/java/com/gmei/data/dqmp/mapper/TblCheckMultipleSqlMapper.java
deleted
100644 → 0
View file @
8a57f4b4
package
com
.
gmei
.
data
.
dqmp
.
mapper
;
import
com.gmei.data.dqmp.domain.TblCheckMultipleSql
;
import
com.gmei.data.dqmp.domain.TblCheckMultipleSqlCriteria
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
TblCheckMultipleSqlMapper
{
int
countByExample
(
TblCheckMultipleSqlCriteria
example
);
int
deleteByExample
(
TblCheckMultipleSqlCriteria
example
);
int
deleteByPrimaryKey
(
Integer
id
);
int
insert
(
TblCheckMultipleSql
record
);
int
insertSelective
(
TblCheckMultipleSql
record
);
List
<
TblCheckMultipleSql
>
selectByExampleWithBLOBs
(
TblCheckMultipleSqlCriteria
example
);
List
<
TblCheckMultipleSql
>
selectByExample
(
TblCheckMultipleSqlCriteria
example
);
TblCheckMultipleSql
selectByPrimaryKey
(
Integer
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
TblCheckMultipleSql
record
,
@Param
(
"example"
)
TblCheckMultipleSqlCriteria
example
);
int
updateByExampleWithBLOBs
(
@Param
(
"record"
)
TblCheckMultipleSql
record
,
@Param
(
"example"
)
TblCheckMultipleSqlCriteria
example
);
int
updateByExample
(
@Param
(
"record"
)
TblCheckMultipleSql
record
,
@Param
(
"example"
)
TblCheckMultipleSqlCriteria
example
);
int
updateByPrimaryKeySelective
(
TblCheckMultipleSql
record
);
int
updateByPrimaryKeyWithBLOBs
(
TblCheckMultipleSql
record
);
int
updateByPrimaryKey
(
TblCheckMultipleSql
record
);
}
\ No newline at end of file
src/main/java/com/gmei/data/dqmp/mapper/TblCheckSingleSqlMapper.java
deleted
100644 → 0
View file @
8a57f4b4
package
com
.
gmei
.
data
.
dqmp
.
mapper
;
import
com.gmei.data.dqmp.domain.TblCheckSingleSql
;
import
com.gmei.data.dqmp.domain.TblCheckSingleSqlCriteria
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
TblCheckSingleSqlMapper
{
int
countByExample
(
TblCheckSingleSqlCriteria
example
);
int
deleteByExample
(
TblCheckSingleSqlCriteria
example
);
int
deleteByPrimaryKey
(
Integer
id
);
int
insert
(
TblCheckSingleSql
record
);
int
insertSelective
(
TblCheckSingleSql
record
);
List
<
TblCheckSingleSql
>
selectByExampleWithBLOBs
(
TblCheckSingleSqlCriteria
example
);
List
<
TblCheckSingleSql
>
selectByExample
(
TblCheckSingleSqlCriteria
example
);
TblCheckSingleSql
selectByPrimaryKey
(
Integer
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
TblCheckSingleSql
record
,
@Param
(
"example"
)
TblCheckSingleSqlCriteria
example
);
int
updateByExampleWithBLOBs
(
@Param
(
"record"
)
TblCheckSingleSql
record
,
@Param
(
"example"
)
TblCheckSingleSqlCriteria
example
);
int
updateByExample
(
@Param
(
"record"
)
TblCheckSingleSql
record
,
@Param
(
"example"
)
TblCheckSingleSqlCriteria
example
);
int
updateByPrimaryKeySelective
(
TblCheckSingleSql
record
);
int
updateByPrimaryKeyWithBLOBs
(
TblCheckSingleSql
record
);
int
updateByPrimaryKey
(
TblCheckSingleSql
record
);
}
\ No newline at end of file
src/main/java/com/gmei/data/dqmp/mapper/TblMonitorSpecialSqlMapper.java
deleted
100644 → 0
View file @
8a57f4b4
package
com
.
gmei
.
data
.
dqmp
.
mapper
;
import
com.gmei.data.dqmp.domain.TblMonitorSpecialSql
;
import
com.gmei.data.dqmp.domain.TblMonitorSpecialSqlCriteria
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
TblMonitorSpecialSqlMapper
{
int
countByExample
(
TblMonitorSpecialSqlCriteria
example
);
int
deleteByExample
(
TblMonitorSpecialSqlCriteria
example
);
int
deleteByPrimaryKey
(
Integer
id
);
int
insert
(
TblMonitorSpecialSql
record
);
int
insertSelective
(
TblMonitorSpecialSql
record
);
List
<
TblMonitorSpecialSql
>
selectByExampleWithBLOBs
(
TblMonitorSpecialSqlCriteria
example
);
List
<
TblMonitorSpecialSql
>
selectByExample
(
TblMonitorSpecialSqlCriteria
example
);
TblMonitorSpecialSql
selectByPrimaryKey
(
Integer
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
TblMonitorSpecialSql
record
,
@Param
(
"example"
)
TblMonitorSpecialSqlCriteria
example
);
int
updateByExampleWithBLOBs
(
@Param
(
"record"
)
TblMonitorSpecialSql
record
,
@Param
(
"example"
)
TblMonitorSpecialSqlCriteria
example
);
int
updateByExample
(
@Param
(
"record"
)
TblMonitorSpecialSql
record
,
@Param
(
"example"
)
TblMonitorSpecialSqlCriteria
example
);
int
updateByPrimaryKeySelective
(
TblMonitorSpecialSql
record
);
int
updateByPrimaryKeyWithBLOBs
(
TblMonitorSpecialSql
record
);
int
updateByPrimaryKey
(
TblMonitorSpecialSql
record
);
}
\ No newline at end of file
src/main/java/com/gmei/data/dqmp/mapper/TblMonitorVolatilitySqlMapper.java
deleted
100644 → 0
View file @
8a57f4b4
package
com
.
gmei
.
data
.
dqmp
.
mapper
;
import
com.gmei.data.dqmp.domain.TblMonitorVolatilitySql
;
import
com.gmei.data.dqmp.domain.TblMonitorVolatilitySqlCriteria
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
TblMonitorVolatilitySqlMapper
{
int
countByExample
(
TblMonitorVolatilitySqlCriteria
example
);
int
deleteByExample
(
TblMonitorVolatilitySqlCriteria
example
);
int
deleteByPrimaryKey
(
Integer
id
);
int
insert
(
TblMonitorVolatilitySql
record
);
int
insertSelective
(
TblMonitorVolatilitySql
record
);
List
<
TblMonitorVolatilitySql
>
selectByExampleWithBLOBs
(
TblMonitorVolatilitySqlCriteria
example
);
List
<
TblMonitorVolatilitySql
>
selectByExample
(
TblMonitorVolatilitySqlCriteria
example
);
TblMonitorVolatilitySql
selectByPrimaryKey
(
Integer
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
TblMonitorVolatilitySql
record
,
@Param
(
"example"
)
TblMonitorVolatilitySqlCriteria
example
);
int
updateByExampleWithBLOBs
(
@Param
(
"record"
)
TblMonitorVolatilitySql
record
,
@Param
(
"example"
)
TblMonitorVolatilitySqlCriteria
example
);
int
updateByExample
(
@Param
(
"record"
)
TblMonitorVolatilitySql
record
,
@Param
(
"example"
)
TblMonitorVolatilitySqlCriteria
example
);
int
updateByPrimaryKeySelective
(
TblMonitorVolatilitySql
record
);
int
updateByPrimaryKeyWithBLOBs
(
TblMonitorVolatilitySql
record
);
int
updateByPrimaryKey
(
TblMonitorVolatilitySql
record
);
}
\ No newline at end of file
src/main/java/com/gmei/data/dqmp/mapper/TblRuleDuplexInfoMapper.java
deleted
100644 → 0
View file @
8a57f4b4
package
com
.
gmei
.
data
.
dqmp
.
mapper
;
import
com.gmei.data.dqmp.domain.TblRuleDuplexInfo
;
import
com.gmei.data.dqmp.domain.TblRuleDuplexInfoCriteria
;
import
com.gmei.data.dqmp.domain.TblRuleDuplexInfoWithBLOBs
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
TblRuleDuplexInfoMapper
{
int
countByExample
(
TblRuleDuplexInfoCriteria
example
);
int
deleteByExample
(
TblRuleDuplexInfoCriteria
example
);
int
deleteByPrimaryKey
(
Integer
id
);
int
insert
(
TblRuleDuplexInfoWithBLOBs
record
);
int
insertSelective
(
TblRuleDuplexInfoWithBLOBs
record
);
List
<
TblRuleDuplexInfoWithBLOBs
>
selectByExampleWithBLOBs
(
TblRuleDuplexInfoCriteria
example
);
List
<
TblRuleDuplexInfo
>
selectByExample
(
TblRuleDuplexInfoCriteria
example
);
TblRuleDuplexInfoWithBLOBs
selectByPrimaryKey
(
Integer
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
TblRuleDuplexInfoWithBLOBs
record
,
@Param
(
"example"
)
TblRuleDuplexInfoCriteria
example
);
int
updateByExampleWithBLOBs
(
@Param
(
"record"
)
TblRuleDuplexInfoWithBLOBs
record
,
@Param
(
"example"
)
TblRuleDuplexInfoCriteria
example
);
int
updateByExample
(
@Param
(
"record"
)
TblRuleDuplexInfo
record
,
@Param
(
"example"
)
TblRuleDuplexInfoCriteria
example
);
int
updateByPrimaryKeySelective
(
TblRuleDuplexInfoWithBLOBs
record
);
int
updateByPrimaryKeyWithBLOBs
(
TblRuleDuplexInfoWithBLOBs
record
);
int
updateByPrimaryKey
(
TblRuleDuplexInfo
record
);
}
\ No newline at end of file
src/main/java/com/gmei/data/dqmp/mapper/TblRuleSimpleInfoMapper.java
deleted
100644 → 0
View file @
8a57f4b4
package
com
.
gmei
.
data
.
dqmp
.
mapper
;
import
com.gmei.data.dqmp.domain.TblRuleSimpleInfo
;
import
com.gmei.data.dqmp.domain.TblRuleSimpleInfoCriteria
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
TblRuleSimpleInfoMapper
{
int
countByExample
(
TblRuleSimpleInfoCriteria
example
);
int
deleteByExample
(
TblRuleSimpleInfoCriteria
example
);
int
deleteByPrimaryKey
(
Integer
id
);
int
insert
(
TblRuleSimpleInfo
record
);
int
insertSelective
(
TblRuleSimpleInfo
record
);
List
<
TblRuleSimpleInfo
>
selectByExampleWithBLOBs
(
TblRuleSimpleInfoCriteria
example
);
List
<
TblRuleSimpleInfo
>
selectByExample
(
TblRuleSimpleInfoCriteria
example
);
TblRuleSimpleInfo
selectByPrimaryKey
(
Integer
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
TblRuleSimpleInfo
record
,
@Param
(
"example"
)
TblRuleSimpleInfoCriteria
example
);
int
updateByExampleWithBLOBs
(
@Param
(
"record"
)
TblRuleSimpleInfo
record
,
@Param
(
"example"
)
TblRuleSimpleInfoCriteria
example
);
int
updateByExample
(
@Param
(
"record"
)
TblRuleSimpleInfo
record
,
@Param
(
"example"
)
TblRuleSimpleInfoCriteria
example
);
int
updateByPrimaryKeySelective
(
TblRuleSimpleInfo
record
);
int
updateByPrimaryKeyWithBLOBs
(
TblRuleSimpleInfo
record
);
int
updateByPrimaryKey
(
TblRuleSimpleInfo
record
);
}
\ No newline at end of file
src/main/java/com/gmei/data/dqmp/service/impl/CheckServiceImpl.java
View file @
0a6fb1a3
...
@@ -31,8 +31,6 @@ import com.gmei.data.dqmp.utils.DateUtils;
...
@@ -31,8 +31,6 @@ import com.gmei.data.dqmp.utils.DateUtils;
@Service
@Service
public
class
CheckServiceImpl
implements
CheckService
{
public
class
CheckServiceImpl
implements
CheckService
{
private
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
CheckServiceImpl
.
class
);
@Autowired
@Autowired
private
TblCheckSingleSqlMapper
tblCheckSingleSqlMapper
;
private
TblCheckSingleSqlMapper
tblCheckSingleSqlMapper
;
@Autowired
@Autowired
...
@@ -43,6 +41,7 @@ public class CheckServiceImpl implements CheckService {
...
@@ -43,6 +41,7 @@ public class CheckServiceImpl implements CheckService {
private
TblResultCheckUnblankMapper
tblResultCheckUnblankMapper
;
private
TblResultCheckUnblankMapper
tblResultCheckUnblankMapper
;
@Autowired
@Autowired
private
TblResultCheckReferMapper
tblResultCheckReferMapper
;
private
TblResultCheckReferMapper
tblResultCheckReferMapper
;
private
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
CheckServiceImpl
.
class
);
/**
/**
* 校验并持久化简单型校验结果
* 校验并持久化简单型校验结果
...
...
src/main/java/com/gmei/data/dqmp/service/impl/DqRuleServiceImpl.java
View file @
0a6fb1a3
...
@@ -54,7 +54,6 @@ public class DqRuleServiceImpl implements DqRuleService {
...
@@ -54,7 +54,6 @@ public class DqRuleServiceImpl implements DqRuleService {
private
TblRuleTemplateMapper
tblRuleTemplateMapper
;
private
TblRuleTemplateMapper
tblRuleTemplateMapper
;
@Autowired
@Autowired
private
TblIndicatorOperatorInfoMapper
tblIndicatorOperatorInfoMapper
;
private
TblIndicatorOperatorInfoMapper
tblIndicatorOperatorInfoMapper
;
private
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
DqRuleServiceImpl
.
class
);
private
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
DqRuleServiceImpl
.
class
);
@Override
@Override
...
...
src/main/java/com/gmei/data/dqmp/service/impl/RuleTemplateServiceImpl.java
View file @
0a6fb1a3
...
@@ -26,7 +26,7 @@ public class RuleTemplateServiceImpl implements RuleTemplateService {
...
@@ -26,7 +26,7 @@ public class RuleTemplateServiceImpl implements RuleTemplateService {
List
<
RuleTemplateDto
>
rsList
=
new
ArrayList
<>();
List
<
RuleTemplateDto
>
rsList
=
new
ArrayList
<>();
TblRuleTemplateCriteria
tblDqRuleTemplateCriteria
=
new
TblRuleTemplateCriteria
();
TblRuleTemplateCriteria
tblDqRuleTemplateCriteria
=
new
TblRuleTemplateCriteria
();
tblDqRuleTemplateCriteria
.
createCriteria
().
andCheckTypeEqualTo
(
checkType
);
tblDqRuleTemplateCriteria
.
createCriteria
().
andCheckTypeEqualTo
(
checkType
);
List
<
TblRuleTemplate
>
list
=
tblRuleTemplateMapper
.
selectByExample
(
tblDqRuleTemplateCriteria
);
List
<
TblRuleTemplate
>
list
=
tblRuleTemplateMapper
.
selectByExample
WithBLOBs
(
tblDqRuleTemplateCriteria
);
for
(
TblRuleTemplate
tblDqRuleTemplate
:
list
)
{
for
(
TblRuleTemplate
tblDqRuleTemplate
:
list
)
{
rsList
.
add
(
BeanUtils
.
map
(
tblDqRuleTemplate
,
RuleTemplateDto
.
class
));
rsList
.
add
(
BeanUtils
.
map
(
tblDqRuleTemplate
,
RuleTemplateDto
.
class
));
}
}
...
...
src/main/java/com/gmei/data/dqmp/utils/ImportExcelUtils.java
0 → 100644
View file @
0a6fb1a3
package
com
.
gmei
.
data
.
dqmp
.
utils
;
import
java.io.BufferedInputStream
;
import
java.io.IOException
;
import
java.io.InputStream
;
import
javax.servlet.http.HttpServletRequest
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.web.multipart.MultipartFile
;
import
org.springframework.web.multipart.MultipartHttpServletRequest
;
import
com.alibaba.excel.EasyExcelFactory
;
import
com.alibaba.excel.event.AnalysisEventListener
;
import
com.alibaba.excel.metadata.Sheet
;
import
com.alibaba.excel.support.ExcelTypeEnum
;
import
com.gmei.data.dqmp.dto.DqReferRuleDto
;
import
com.gmei.data.dqmp.dto.DqSpecialRuleDto
;
import
com.gmei.data.dqmp.dto.DqUnblankRuleDto
;
import
com.gmei.data.dqmp.dto.DqUniqueRuleDto
;
import
com.gmei.data.dqmp.dto.DqVolatilityRuleDto
;
import
com.gmei.data.dqmp.listener.ReferExcelListener
;
import
com.gmei.data.dqmp.listener.SpecialExcelListener
;
import
com.gmei.data.dqmp.listener.UnblankExcelListener
;
import
com.gmei.data.dqmp.listener.UniqueExcelListener
;
import
com.gmei.data.dqmp.listener.VolatilityExcelListener
;
import
com.gmei.data.dqmp.service.DqRuleService
;
public
class
ImportExcelUtils
{
private
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
ImportExcelUtils
.
class
);
public
static
void
saxReadUniqueListString
(
HttpServletRequest
request
,
DqRuleService
dqRuleService
)
throws
IOException
{
MultipartHttpServletRequest
multipartRequest
=
(
MultipartHttpServletRequest
)
request
;
MultipartFile
requestFile
=
multipartRequest
.
getFile
(
"file"
);
String
originalFilename
=
requestFile
.
getOriginalFilename
();
if
(!
originalFilename
.
endsWith
(
ExcelTypeEnum
.
XLS
.
getValue
())
&&
!
originalFilename
.
endsWith
(
ExcelTypeEnum
.
XLSX
.
getValue
()))
{
logger
.
error
(
"Excel导入错误文件名称:{}"
,
originalFilename
);
throw
new
RuntimeException
(
"不是Excel格式文件"
);
}
InputStream
inputStream
=
null
;
try
{
inputStream
=
requestFile
.
getInputStream
();
if
(
inputStream
==
null
)
{
return
;
}
BufferedInputStream
bufferedInputStream
=
new
BufferedInputStream
(
inputStream
);
AnalysisEventListener
<?>
excelListener
=
new
UniqueExcelListener
(
dqRuleService
);
EasyExcelFactory
.
readBySax
(
bufferedInputStream
,
new
Sheet
(
1
,
1
,
DqUniqueRuleDto
.
class
),
excelListener
);
}
finally
{
inputStream
.
close
();
}
}
public
static
void
saxReadUnblankListString
(
HttpServletRequest
request
,
DqRuleService
dqRuleService
)
throws
IOException
{
MultipartHttpServletRequest
multipartRequest
=
(
MultipartHttpServletRequest
)
request
;
MultipartFile
requestFile
=
multipartRequest
.
getFile
(
"file"
);
String
originalFilename
=
requestFile
.
getOriginalFilename
();
if
(!
originalFilename
.
endsWith
(
ExcelTypeEnum
.
XLS
.
getValue
())
&&
!
originalFilename
.
endsWith
(
ExcelTypeEnum
.
XLSX
.
getValue
()))
{
logger
.
error
(
"Excel导入错误文件名称:{}"
,
originalFilename
);
throw
new
RuntimeException
(
"不是Excel格式文件"
);
}
InputStream
inputStream
=
null
;
try
{
inputStream
=
requestFile
.
getInputStream
();
if
(
inputStream
==
null
)
{
return
;
}
BufferedInputStream
bufferedInputStream
=
new
BufferedInputStream
(
inputStream
);
AnalysisEventListener
<?>
excelListener
=
new
UnblankExcelListener
(
dqRuleService
);
EasyExcelFactory
.
readBySax
(
bufferedInputStream
,
new
Sheet
(
1
,
1
,
DqUnblankRuleDto
.
class
),
excelListener
);
}
finally
{
inputStream
.
close
();
}
}
public
static
void
saxReadReferListString
(
HttpServletRequest
request
,
DqRuleService
dqRuleService
)
throws
IOException
{
MultipartHttpServletRequest
multipartRequest
=
(
MultipartHttpServletRequest
)
request
;
MultipartFile
requestFile
=
multipartRequest
.
getFile
(
"file"
);
String
originalFilename
=
requestFile
.
getOriginalFilename
();
if
(!
originalFilename
.
endsWith
(
ExcelTypeEnum
.
XLS
.
getValue
())
&&
!
originalFilename
.
endsWith
(
ExcelTypeEnum
.
XLSX
.
getValue
()))
{
logger
.
error
(
"Excel导入错误文件名称:{}"
,
originalFilename
);
throw
new
RuntimeException
(
"不是Excel格式文件"
);
}
InputStream
inputStream
=
null
;
try
{
inputStream
=
requestFile
.
getInputStream
();
if
(
inputStream
==
null
)
{
return
;
}
BufferedInputStream
bufferedInputStream
=
new
BufferedInputStream
(
inputStream
);
AnalysisEventListener
<?>
excelListener
=
new
ReferExcelListener
(
dqRuleService
);
EasyExcelFactory
.
readBySax
(
bufferedInputStream
,
new
Sheet
(
1
,
1
,
DqReferRuleDto
.
class
),
excelListener
);
}
finally
{
inputStream
.
close
();
}
}
public
static
void
saxReadVolatilityListString
(
HttpServletRequest
request
,
DqRuleService
dqRuleService
)
throws
IOException
{
MultipartHttpServletRequest
multipartRequest
=
(
MultipartHttpServletRequest
)
request
;
MultipartFile
requestFile
=
multipartRequest
.
getFile
(
"file"
);
String
originalFilename
=
requestFile
.
getOriginalFilename
();
if
(!
originalFilename
.
endsWith
(
ExcelTypeEnum
.
XLS
.
getValue
())
&&
!
originalFilename
.
endsWith
(
ExcelTypeEnum
.
XLSX
.
getValue
()))
{
logger
.
error
(
"Excel导入错误文件名称:{}"
,
originalFilename
);
throw
new
RuntimeException
(
"不是Excel格式文件"
);
}
InputStream
inputStream
=
null
;
try
{
inputStream
=
requestFile
.
getInputStream
();
if
(
inputStream
==
null
)
{
return
;
}
BufferedInputStream
bufferedInputStream
=
new
BufferedInputStream
(
inputStream
);
AnalysisEventListener
<?>
excelListener
=
new
VolatilityExcelListener
(
dqRuleService
);
EasyExcelFactory
.
readBySax
(
bufferedInputStream
,
new
Sheet
(
1
,
1
,
DqVolatilityRuleDto
.
class
),
excelListener
);
}
finally
{
inputStream
.
close
();
}
}
public
static
void
saxReadSpecialListString
(
HttpServletRequest
request
,
DqRuleService
dqRuleService
)
throws
IOException
{
MultipartHttpServletRequest
multipartRequest
=
(
MultipartHttpServletRequest
)
request
;
MultipartFile
requestFile
=
multipartRequest
.
getFile
(
"file"
);
String
originalFilename
=
requestFile
.
getOriginalFilename
();
if
(!
originalFilename
.
endsWith
(
ExcelTypeEnum
.
XLS
.
getValue
())
&&
!
originalFilename
.
endsWith
(
ExcelTypeEnum
.
XLSX
.
getValue
()))
{
logger
.
error
(
"Excel导入错误文件名称:{}"
,
originalFilename
);
throw
new
RuntimeException
(
"不是Excel格式文件"
);
}
InputStream
inputStream
=
null
;
try
{
inputStream
=
requestFile
.
getInputStream
();
if
(
inputStream
==
null
)
{
return
;
}
BufferedInputStream
bufferedInputStream
=
new
BufferedInputStream
(
inputStream
);
AnalysisEventListener
<?>
excelListener
=
new
SpecialExcelListener
(
dqRuleService
);
EasyExcelFactory
.
readBySax
(
bufferedInputStream
,
new
Sheet
(
1
,
1
,
DqSpecialRuleDto
.
class
),
excelListener
);
}
finally
{
inputStream
.
close
();
}
}
}
src/main/resources/mybatis/mapper/TblCheckMultipleSqlMapper.xml
deleted
100644 → 0
View file @
8a57f4b4
<?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.gmei.data.dqmp.mapper.TblCheckMultipleSqlMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.gmei.data.dqmp.domain.TblCheckMultipleSql"
>
<id
column=
"id"
property=
"id"
jdbcType=
"INTEGER"
/>
<result
column=
"check_type"
property=
"checkType"
jdbcType=
"VARCHAR"
/>
<result
column=
"check_db_name"
property=
"checkDbName"
jdbcType=
"VARCHAR"
/>
<result
column=
"check_tb_name"
property=
"checkTbName"
jdbcType=
"VARCHAR"
/>
<result
column=
"check_col_name"
property=
"checkColName"
jdbcType=
"VARCHAR"
/>
<result
column=
"refer_db_name"
property=
"referDbName"
jdbcType=
"VARCHAR"
/>
<result
column=
"refer_tb_name"
property=
"referTbName"
jdbcType=
"VARCHAR"
/>
<result
column=
"refer_col_name"
property=
"referColName"
jdbcType=
"VARCHAR"
/>
<result
column=
"is_valid"
property=
"isValid"
jdbcType=
"INTEGER"
/>
<result
column=
"check_time"
property=
"checkTime"
jdbcType=
"VARCHAR"
/>
<result
column=
"create_time"
property=
"createTime"
jdbcType=
"VARCHAR"
/>
</resultMap>
<resultMap
id=
"ResultMapWithBLOBs"
type=
"com.gmei.data.dqmp.domain.TblCheckMultipleSql"
extends=
"BaseResultMap"
>
<result
column=
"sql_content"
property=
"sqlContent"
jdbcType=
"LONGVARCHAR"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<where
>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
suffix=
")"
prefixOverrides=
"and"
>
<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
collection=
"criterion.value"
item=
"listItem"
open=
"("
close=
")"
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=
"("
suffix=
")"
prefixOverrides=
"and"
>
<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
collection=
"criterion.value"
item=
"listItem"
open=
"("
close=
")"
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
id, check_type, check_db_name, check_tb_name, check_col_name, refer_db_name, refer_tb_name,
refer_col_name, is_valid, check_time, create_time
</sql>
<sql
id=
"Blob_Column_List"
>
sql_content
</sql>
<select
id=
"selectByExampleWithBLOBs"
resultMap=
"ResultMapWithBLOBs"
parameterType=
"com.gmei.data.dqmp.domain.TblCheckMultipleSqlCriteria"
>
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Blob_Column_List"
/>
from tbl_check_multiple_sql
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByExample"
resultMap=
"BaseResultMap"
parameterType=
"com.gmei.data.dqmp.domain.TblCheckMultipleSqlCriteria"
>
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from tbl_check_multiple_sql
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByPrimaryKey"
resultMap=
"ResultMapWithBLOBs"
parameterType=
"java.lang.Integer"
>
select
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Blob_Column_List"
/>
from tbl_check_multiple_sql
where id = #{id,jdbcType=INTEGER}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Integer"
>
delete from tbl_check_multiple_sql
where id = #{id,jdbcType=INTEGER}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.gmei.data.dqmp.domain.TblCheckMultipleSqlCriteria"
>
delete from tbl_check_multiple_sql
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.gmei.data.dqmp.domain.TblCheckMultipleSql"
>
insert into tbl_check_multiple_sql (id, check_type, check_db_name,
check_tb_name, check_col_name, refer_db_name,
refer_tb_name, refer_col_name, is_valid,
check_time, create_time, sql_content
)
values (#{id,jdbcType=INTEGER}, #{checkType,jdbcType=VARCHAR}, #{checkDbName,jdbcType=VARCHAR},
#{checkTbName,jdbcType=VARCHAR}, #{checkColName,jdbcType=VARCHAR}, #{referDbName,jdbcType=VARCHAR},
#{referTbName,jdbcType=VARCHAR}, #{referColName,jdbcType=VARCHAR}, #{isValid,jdbcType=INTEGER},
#{checkTime,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR}, #{sqlContent,jdbcType=LONGVARCHAR}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.gmei.data.dqmp.domain.TblCheckMultipleSql"
>
insert into tbl_check_multiple_sql
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
</if>
<if
test=
"checkType != null"
>
check_type,
</if>
<if
test=
"checkDbName != null"
>
check_db_name,
</if>
<if
test=
"checkTbName != null"
>
check_tb_name,
</if>
<if
test=
"checkColName != null"
>
check_col_name,
</if>
<if
test=
"referDbName != null"
>
refer_db_name,
</if>
<if
test=
"referTbName != null"
>
refer_tb_name,
</if>
<if
test=
"referColName != null"
>
refer_col_name,
</if>
<if
test=
"isValid != null"
>
is_valid,
</if>
<if
test=
"checkTime != null"
>
check_time,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"sqlContent != null"
>
sql_content,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
#{id,jdbcType=INTEGER},
</if>
<if
test=
"checkType != null"
>
#{checkType,jdbcType=VARCHAR},
</if>
<if
test=
"checkDbName != null"
>
#{checkDbName,jdbcType=VARCHAR},
</if>
<if
test=
"checkTbName != null"
>
#{checkTbName,jdbcType=VARCHAR},
</if>
<if
test=
"checkColName != null"
>
#{checkColName,jdbcType=VARCHAR},
</if>
<if
test=
"referDbName != null"
>
#{referDbName,jdbcType=VARCHAR},
</if>
<if
test=
"referTbName != null"
>
#{referTbName,jdbcType=VARCHAR},
</if>
<if
test=
"referColName != null"
>
#{referColName,jdbcType=VARCHAR},
</if>
<if
test=
"isValid != null"
>
#{isValid,jdbcType=INTEGER},
</if>
<if
test=
"checkTime != null"
>
#{checkTime,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=VARCHAR},
</if>
<if
test=
"sqlContent != null"
>
#{sqlContent,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.gmei.data.dqmp.domain.TblCheckMultipleSqlCriteria"
resultType=
"java.lang.Integer"
>
select count(*) from tbl_check_multiple_sql
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
update tbl_check_multiple_sql
<set
>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=INTEGER},
</if>
<if
test=
"record.checkType != null"
>
check_type = #{record.checkType,jdbcType=VARCHAR},
</if>
<if
test=
"record.checkDbName != null"
>
check_db_name = #{record.checkDbName,jdbcType=VARCHAR},
</if>
<if
test=
"record.checkTbName != null"
>
check_tb_name = #{record.checkTbName,jdbcType=VARCHAR},
</if>
<if
test=
"record.checkColName != null"
>
check_col_name = #{record.checkColName,jdbcType=VARCHAR},
</if>
<if
test=
"record.referDbName != null"
>
refer_db_name = #{record.referDbName,jdbcType=VARCHAR},
</if>
<if
test=
"record.referTbName != null"
>
refer_tb_name = #{record.referTbName,jdbcType=VARCHAR},
</if>
<if
test=
"record.referColName != null"
>
refer_col_name = #{record.referColName,jdbcType=VARCHAR},
</if>
<if
test=
"record.isValid != null"
>
is_valid = #{record.isValid,jdbcType=INTEGER},
</if>
<if
test=
"record.checkTime != null"
>
check_time = #{record.checkTime,jdbcType=VARCHAR},
</if>
<if
test=
"record.createTime != null"
>
create_time = #{record.createTime,jdbcType=VARCHAR},
</if>
<if
test=
"record.sqlContent != null"
>
sql_content = #{record.sqlContent,jdbcType=LONGVARCHAR},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExampleWithBLOBs"
parameterType=
"map"
>
update tbl_check_multiple_sql
set id = #{record.id,jdbcType=INTEGER},
check_type = #{record.checkType,jdbcType=VARCHAR},
check_db_name = #{record.checkDbName,jdbcType=VARCHAR},
check_tb_name = #{record.checkTbName,jdbcType=VARCHAR},
check_col_name = #{record.checkColName,jdbcType=VARCHAR},
refer_db_name = #{record.referDbName,jdbcType=VARCHAR},
refer_tb_name = #{record.referTbName,jdbcType=VARCHAR},
refer_col_name = #{record.referColName,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=VARCHAR},
sql_content = #{record.sqlContent,jdbcType=LONGVARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
update tbl_check_multiple_sql
set id = #{record.id,jdbcType=INTEGER},
check_type = #{record.checkType,jdbcType=VARCHAR},
check_db_name = #{record.checkDbName,jdbcType=VARCHAR},
check_tb_name = #{record.checkTbName,jdbcType=VARCHAR},
check_col_name = #{record.checkColName,jdbcType=VARCHAR},
refer_db_name = #{record.referDbName,jdbcType=VARCHAR},
refer_tb_name = #{record.referTbName,jdbcType=VARCHAR},
refer_col_name = #{record.referColName,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=VARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.gmei.data.dqmp.domain.TblCheckMultipleSql"
>
update tbl_check_multiple_sql
<set
>
<if
test=
"checkType != null"
>
check_type = #{checkType,jdbcType=VARCHAR},
</if>
<if
test=
"checkDbName != null"
>
check_db_name = #{checkDbName,jdbcType=VARCHAR},
</if>
<if
test=
"checkTbName != null"
>
check_tb_name = #{checkTbName,jdbcType=VARCHAR},
</if>
<if
test=
"checkColName != null"
>
check_col_name = #{checkColName,jdbcType=VARCHAR},
</if>
<if
test=
"referDbName != null"
>
refer_db_name = #{referDbName,jdbcType=VARCHAR},
</if>
<if
test=
"referTbName != null"
>
refer_tb_name = #{referTbName,jdbcType=VARCHAR},
</if>
<if
test=
"referColName != null"
>
refer_col_name = #{referColName,jdbcType=VARCHAR},
</if>
<if
test=
"isValid != null"
>
is_valid = #{isValid,jdbcType=INTEGER},
</if>
<if
test=
"checkTime != null"
>
check_time = #{checkTime,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=VARCHAR},
</if>
<if
test=
"sqlContent != null"
>
sql_content = #{sqlContent,jdbcType=LONGVARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update
id=
"updateByPrimaryKeyWithBLOBs"
parameterType=
"com.gmei.data.dqmp.domain.TblCheckMultipleSql"
>
update tbl_check_multiple_sql
set check_type = #{checkType,jdbcType=VARCHAR},
check_db_name = #{checkDbName,jdbcType=VARCHAR},
check_tb_name = #{checkTbName,jdbcType=VARCHAR},
check_col_name = #{checkColName,jdbcType=VARCHAR},
refer_db_name = #{referDbName,jdbcType=VARCHAR},
refer_tb_name = #{referTbName,jdbcType=VARCHAR},
refer_col_name = #{referColName,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=VARCHAR},
sql_content = #{sqlContent,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.gmei.data.dqmp.domain.TblCheckMultipleSql"
>
update tbl_check_multiple_sql
set check_type = #{checkType,jdbcType=VARCHAR},
check_db_name = #{checkDbName,jdbcType=VARCHAR},
check_tb_name = #{checkTbName,jdbcType=VARCHAR},
check_col_name = #{checkColName,jdbcType=VARCHAR},
refer_db_name = #{referDbName,jdbcType=VARCHAR},
refer_tb_name = #{referTbName,jdbcType=VARCHAR},
refer_col_name = #{referColName,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/mapper/TblCheckSingleSqlMapper.xml
deleted
100644 → 0
View file @
8a57f4b4
<?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.gmei.data.dqmp.mapper.TblCheckSingleSqlMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.gmei.data.dqmp.domain.TblCheckSingleSql"
>
<id
column=
"id"
property=
"id"
jdbcType=
"INTEGER"
/>
<result
column=
"check_type"
property=
"checkType"
jdbcType=
"VARCHAR"
/>
<result
column=
"db_name"
property=
"dbName"
jdbcType=
"VARCHAR"
/>
<result
column=
"tb_name"
property=
"tbName"
jdbcType=
"VARCHAR"
/>
<result
column=
"col_name"
property=
"colName"
jdbcType=
"VARCHAR"
/>
<result
column=
"is_valid"
property=
"isValid"
jdbcType=
"INTEGER"
/>
<result
column=
"check_time"
property=
"checkTime"
jdbcType=
"VARCHAR"
/>
<result
column=
"create_time"
property=
"createTime"
jdbcType=
"VARCHAR"
/>
</resultMap>
<resultMap
id=
"ResultMapWithBLOBs"
type=
"com.gmei.data.dqmp.domain.TblCheckSingleSql"
extends=
"BaseResultMap"
>
<result
column=
"sql_content"
property=
"sqlContent"
jdbcType=
"LONGVARCHAR"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<where
>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
suffix=
")"
prefixOverrides=
"and"
>
<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
collection=
"criterion.value"
item=
"listItem"
open=
"("
close=
")"
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=
"("
suffix=
")"
prefixOverrides=
"and"
>
<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
collection=
"criterion.value"
item=
"listItem"
open=
"("
close=
")"
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
id, check_type, db_name, tb_name, col_name, is_valid, check_time, create_time
</sql>
<sql
id=
"Blob_Column_List"
>
sql_content
</sql>
<select
id=
"selectByExampleWithBLOBs"
resultMap=
"ResultMapWithBLOBs"
parameterType=
"com.gmei.data.dqmp.domain.TblCheckSingleSqlCriteria"
>
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Blob_Column_List"
/>
from tbl_check_single_sql
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByExample"
resultMap=
"BaseResultMap"
parameterType=
"com.gmei.data.dqmp.domain.TblCheckSingleSqlCriteria"
>
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from tbl_check_single_sql
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByPrimaryKey"
resultMap=
"ResultMapWithBLOBs"
parameterType=
"java.lang.Integer"
>
select
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Blob_Column_List"
/>
from tbl_check_single_sql
where id = #{id,jdbcType=INTEGER}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Integer"
>
delete from tbl_check_single_sql
where id = #{id,jdbcType=INTEGER}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.gmei.data.dqmp.domain.TblCheckSingleSqlCriteria"
>
delete from tbl_check_single_sql
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.gmei.data.dqmp.domain.TblCheckSingleSql"
>
insert into tbl_check_single_sql (id, check_type, db_name,
tb_name, col_name, is_valid,
check_time, create_time, sql_content
)
values (#{id,jdbcType=INTEGER}, #{checkType,jdbcType=VARCHAR}, #{dbName,jdbcType=VARCHAR},
#{tbName,jdbcType=VARCHAR}, #{colName,jdbcType=VARCHAR}, #{isValid,jdbcType=INTEGER},
#{checkTime,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR}, #{sqlContent,jdbcType=LONGVARCHAR}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.gmei.data.dqmp.domain.TblCheckSingleSql"
>
insert into tbl_check_single_sql
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
</if>
<if
test=
"checkType != null"
>
check_type,
</if>
<if
test=
"dbName != null"
>
db_name,
</if>
<if
test=
"tbName != null"
>
tb_name,
</if>
<if
test=
"colName != null"
>
col_name,
</if>
<if
test=
"isValid != null"
>
is_valid,
</if>
<if
test=
"checkTime != null"
>
check_time,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"sqlContent != null"
>
sql_content,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
#{id,jdbcType=INTEGER},
</if>
<if
test=
"checkType != null"
>
#{checkType,jdbcType=VARCHAR},
</if>
<if
test=
"dbName != null"
>
#{dbName,jdbcType=VARCHAR},
</if>
<if
test=
"tbName != null"
>
#{tbName,jdbcType=VARCHAR},
</if>
<if
test=
"colName != null"
>
#{colName,jdbcType=VARCHAR},
</if>
<if
test=
"isValid != null"
>
#{isValid,jdbcType=INTEGER},
</if>
<if
test=
"checkTime != null"
>
#{checkTime,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=VARCHAR},
</if>
<if
test=
"sqlContent != null"
>
#{sqlContent,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.gmei.data.dqmp.domain.TblCheckSingleSqlCriteria"
resultType=
"java.lang.Integer"
>
select count(*) from tbl_check_single_sql
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
update tbl_check_single_sql
<set
>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=INTEGER},
</if>
<if
test=
"record.checkType != null"
>
check_type = #{record.checkType,jdbcType=VARCHAR},
</if>
<if
test=
"record.dbName != null"
>
db_name = #{record.dbName,jdbcType=VARCHAR},
</if>
<if
test=
"record.tbName != null"
>
tb_name = #{record.tbName,jdbcType=VARCHAR},
</if>
<if
test=
"record.colName != null"
>
col_name = #{record.colName,jdbcType=VARCHAR},
</if>
<if
test=
"record.isValid != null"
>
is_valid = #{record.isValid,jdbcType=INTEGER},
</if>
<if
test=
"record.checkTime != null"
>
check_time = #{record.checkTime,jdbcType=VARCHAR},
</if>
<if
test=
"record.createTime != null"
>
create_time = #{record.createTime,jdbcType=VARCHAR},
</if>
<if
test=
"record.sqlContent != null"
>
sql_content = #{record.sqlContent,jdbcType=LONGVARCHAR},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExampleWithBLOBs"
parameterType=
"map"
>
update tbl_check_single_sql
set id = #{record.id,jdbcType=INTEGER},
check_type = #{record.checkType,jdbcType=VARCHAR},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
col_name = #{record.colName,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=VARCHAR},
sql_content = #{record.sqlContent,jdbcType=LONGVARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
update tbl_check_single_sql
set id = #{record.id,jdbcType=INTEGER},
check_type = #{record.checkType,jdbcType=VARCHAR},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
col_name = #{record.colName,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=VARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.gmei.data.dqmp.domain.TblCheckSingleSql"
>
update tbl_check_single_sql
<set
>
<if
test=
"checkType != null"
>
check_type = #{checkType,jdbcType=VARCHAR},
</if>
<if
test=
"dbName != null"
>
db_name = #{dbName,jdbcType=VARCHAR},
</if>
<if
test=
"tbName != null"
>
tb_name = #{tbName,jdbcType=VARCHAR},
</if>
<if
test=
"colName != null"
>
col_name = #{colName,jdbcType=VARCHAR},
</if>
<if
test=
"isValid != null"
>
is_valid = #{isValid,jdbcType=INTEGER},
</if>
<if
test=
"checkTime != null"
>
check_time = #{checkTime,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=VARCHAR},
</if>
<if
test=
"sqlContent != null"
>
sql_content = #{sqlContent,jdbcType=LONGVARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update
id=
"updateByPrimaryKeyWithBLOBs"
parameterType=
"com.gmei.data.dqmp.domain.TblCheckSingleSql"
>
update tbl_check_single_sql
set check_type = #{checkType,jdbcType=VARCHAR},
db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
col_name = #{colName,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=VARCHAR},
sql_content = #{sqlContent,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.gmei.data.dqmp.domain.TblCheckSingleSql"
>
update tbl_check_single_sql
set check_type = #{checkType,jdbcType=VARCHAR},
db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
col_name = #{colName,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/mapper/TblMonitorSpecialSqlMapper.xml
deleted
100644 → 0
View file @
8a57f4b4
<?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.gmei.data.dqmp.mapper.TblMonitorSpecialSqlMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.gmei.data.dqmp.domain.TblMonitorSpecialSql"
>
<id
column=
"id"
property=
"id"
jdbcType=
"INTEGER"
/>
<result
column=
"db_name"
property=
"dbName"
jdbcType=
"VARCHAR"
/>
<result
column=
"tb_name"
property=
"tbName"
jdbcType=
"VARCHAR"
/>
<result
column=
"time_col_name"
property=
"timeColName"
jdbcType=
"VARCHAR"
/>
<result
column=
"start_time"
property=
"startTime"
jdbcType=
"VARCHAR"
/>
<result
column=
"end_time"
property=
"endTime"
jdbcType=
"VARCHAR"
/>
<result
column=
"is_valid"
property=
"isValid"
jdbcType=
"INTEGER"
/>
<result
column=
"check_time"
property=
"checkTime"
jdbcType=
"VARCHAR"
/>
<result
column=
"create_time"
property=
"createTime"
jdbcType=
"VARCHAR"
/>
</resultMap>
<resultMap
id=
"ResultMapWithBLOBs"
type=
"com.gmei.data.dqmp.domain.TblMonitorSpecialSql"
extends=
"BaseResultMap"
>
<result
column=
"sql_content"
property=
"sqlContent"
jdbcType=
"LONGVARCHAR"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<where
>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
suffix=
")"
prefixOverrides=
"and"
>
<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
collection=
"criterion.value"
item=
"listItem"
open=
"("
close=
")"
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=
"("
suffix=
")"
prefixOverrides=
"and"
>
<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
collection=
"criterion.value"
item=
"listItem"
open=
"("
close=
")"
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
id, db_name, tb_name, time_col_name, start_time, end_time, is_valid, check_time,
create_time
</sql>
<sql
id=
"Blob_Column_List"
>
sql_content
</sql>
<select
id=
"selectByExampleWithBLOBs"
resultMap=
"ResultMapWithBLOBs"
parameterType=
"com.gmei.data.dqmp.domain.TblMonitorSpecialSqlCriteria"
>
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Blob_Column_List"
/>
from tbl_monitor_special_sql
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByExample"
resultMap=
"BaseResultMap"
parameterType=
"com.gmei.data.dqmp.domain.TblMonitorSpecialSqlCriteria"
>
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from tbl_monitor_special_sql
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByPrimaryKey"
resultMap=
"ResultMapWithBLOBs"
parameterType=
"java.lang.Integer"
>
select
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Blob_Column_List"
/>
from tbl_monitor_special_sql
where id = #{id,jdbcType=INTEGER}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Integer"
>
delete from tbl_monitor_special_sql
where id = #{id,jdbcType=INTEGER}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.gmei.data.dqmp.domain.TblMonitorSpecialSqlCriteria"
>
delete from tbl_monitor_special_sql
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.gmei.data.dqmp.domain.TblMonitorSpecialSql"
>
insert into tbl_monitor_special_sql (id, db_name, tb_name,
time_col_name, start_time, end_time,
is_valid, check_time, create_time,
sql_content)
values (#{id,jdbcType=INTEGER}, #{dbName,jdbcType=VARCHAR}, #{tbName,jdbcType=VARCHAR},
#{timeColName,jdbcType=VARCHAR}, #{startTime,jdbcType=VARCHAR}, #{endTime,jdbcType=VARCHAR},
#{isValid,jdbcType=INTEGER}, #{checkTime,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR},
#{sqlContent,jdbcType=LONGVARCHAR})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.gmei.data.dqmp.domain.TblMonitorSpecialSql"
>
insert into tbl_monitor_special_sql
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
</if>
<if
test=
"dbName != null"
>
db_name,
</if>
<if
test=
"tbName != null"
>
tb_name,
</if>
<if
test=
"timeColName != null"
>
time_col_name,
</if>
<if
test=
"startTime != null"
>
start_time,
</if>
<if
test=
"endTime != null"
>
end_time,
</if>
<if
test=
"isValid != null"
>
is_valid,
</if>
<if
test=
"checkTime != null"
>
check_time,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"sqlContent != null"
>
sql_content,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
#{id,jdbcType=INTEGER},
</if>
<if
test=
"dbName != null"
>
#{dbName,jdbcType=VARCHAR},
</if>
<if
test=
"tbName != null"
>
#{tbName,jdbcType=VARCHAR},
</if>
<if
test=
"timeColName != null"
>
#{timeColName,jdbcType=VARCHAR},
</if>
<if
test=
"startTime != null"
>
#{startTime,jdbcType=VARCHAR},
</if>
<if
test=
"endTime != null"
>
#{endTime,jdbcType=VARCHAR},
</if>
<if
test=
"isValid != null"
>
#{isValid,jdbcType=INTEGER},
</if>
<if
test=
"checkTime != null"
>
#{checkTime,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=VARCHAR},
</if>
<if
test=
"sqlContent != null"
>
#{sqlContent,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.gmei.data.dqmp.domain.TblMonitorSpecialSqlCriteria"
resultType=
"java.lang.Integer"
>
select count(*) from tbl_monitor_special_sql
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
update tbl_monitor_special_sql
<set
>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=INTEGER},
</if>
<if
test=
"record.dbName != null"
>
db_name = #{record.dbName,jdbcType=VARCHAR},
</if>
<if
test=
"record.tbName != null"
>
tb_name = #{record.tbName,jdbcType=VARCHAR},
</if>
<if
test=
"record.timeColName != null"
>
time_col_name = #{record.timeColName,jdbcType=VARCHAR},
</if>
<if
test=
"record.startTime != null"
>
start_time = #{record.startTime,jdbcType=VARCHAR},
</if>
<if
test=
"record.endTime != null"
>
end_time = #{record.endTime,jdbcType=VARCHAR},
</if>
<if
test=
"record.isValid != null"
>
is_valid = #{record.isValid,jdbcType=INTEGER},
</if>
<if
test=
"record.checkTime != null"
>
check_time = #{record.checkTime,jdbcType=VARCHAR},
</if>
<if
test=
"record.createTime != null"
>
create_time = #{record.createTime,jdbcType=VARCHAR},
</if>
<if
test=
"record.sqlContent != null"
>
sql_content = #{record.sqlContent,jdbcType=LONGVARCHAR},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExampleWithBLOBs"
parameterType=
"map"
>
update tbl_monitor_special_sql
set id = #{record.id,jdbcType=INTEGER},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
time_col_name = #{record.timeColName,jdbcType=VARCHAR},
start_time = #{record.startTime,jdbcType=VARCHAR},
end_time = #{record.endTime,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=VARCHAR},
sql_content = #{record.sqlContent,jdbcType=LONGVARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
update tbl_monitor_special_sql
set id = #{record.id,jdbcType=INTEGER},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
time_col_name = #{record.timeColName,jdbcType=VARCHAR},
start_time = #{record.startTime,jdbcType=VARCHAR},
end_time = #{record.endTime,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=VARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.gmei.data.dqmp.domain.TblMonitorSpecialSql"
>
update tbl_monitor_special_sql
<set
>
<if
test=
"dbName != null"
>
db_name = #{dbName,jdbcType=VARCHAR},
</if>
<if
test=
"tbName != null"
>
tb_name = #{tbName,jdbcType=VARCHAR},
</if>
<if
test=
"timeColName != null"
>
time_col_name = #{timeColName,jdbcType=VARCHAR},
</if>
<if
test=
"startTime != null"
>
start_time = #{startTime,jdbcType=VARCHAR},
</if>
<if
test=
"endTime != null"
>
end_time = #{endTime,jdbcType=VARCHAR},
</if>
<if
test=
"isValid != null"
>
is_valid = #{isValid,jdbcType=INTEGER},
</if>
<if
test=
"checkTime != null"
>
check_time = #{checkTime,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=VARCHAR},
</if>
<if
test=
"sqlContent != null"
>
sql_content = #{sqlContent,jdbcType=LONGVARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update
id=
"updateByPrimaryKeyWithBLOBs"
parameterType=
"com.gmei.data.dqmp.domain.TblMonitorSpecialSql"
>
update tbl_monitor_special_sql
set db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
time_col_name = #{timeColName,jdbcType=VARCHAR},
start_time = #{startTime,jdbcType=VARCHAR},
end_time = #{endTime,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=VARCHAR},
sql_content = #{sqlContent,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.gmei.data.dqmp.domain.TblMonitorSpecialSql"
>
update tbl_monitor_special_sql
set db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
time_col_name = #{timeColName,jdbcType=VARCHAR},
start_time = #{startTime,jdbcType=VARCHAR},
end_time = #{endTime,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/mapper/TblMonitorVolatilitySqlMapper.xml
deleted
100644 → 0
View file @
8a57f4b4
<?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.gmei.data.dqmp.mapper.TblMonitorVolatilitySqlMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.gmei.data.dqmp.domain.TblMonitorVolatilitySql"
>
<id
column=
"id"
property=
"id"
jdbcType=
"INTEGER"
/>
<result
column=
"indicator_type"
property=
"indicatorType"
jdbcType=
"VARCHAR"
/>
<result
column=
"db_name"
property=
"dbName"
jdbcType=
"VARCHAR"
/>
<result
column=
"tb_name"
property=
"tbName"
jdbcType=
"VARCHAR"
/>
<result
column=
"col_name"
property=
"colName"
jdbcType=
"VARCHAR"
/>
<result
column=
"is_valid"
property=
"isValid"
jdbcType=
"INTEGER"
/>
<result
column=
"check_time"
property=
"checkTime"
jdbcType=
"VARCHAR"
/>
<result
column=
"create_time"
property=
"createTime"
jdbcType=
"VARCHAR"
/>
</resultMap>
<resultMap
id=
"ResultMapWithBLOBs"
type=
"com.gmei.data.dqmp.domain.TblMonitorVolatilitySql"
extends=
"BaseResultMap"
>
<result
column=
"sql_content"
property=
"sqlContent"
jdbcType=
"LONGVARCHAR"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<where
>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
suffix=
")"
prefixOverrides=
"and"
>
<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
collection=
"criterion.value"
item=
"listItem"
open=
"("
close=
")"
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=
"("
suffix=
")"
prefixOverrides=
"and"
>
<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
collection=
"criterion.value"
item=
"listItem"
open=
"("
close=
")"
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
id, indicator_type, db_name, tb_name, col_name, is_valid, check_time, create_time
</sql>
<sql
id=
"Blob_Column_List"
>
sql_content
</sql>
<select
id=
"selectByExampleWithBLOBs"
resultMap=
"ResultMapWithBLOBs"
parameterType=
"com.gmei.data.dqmp.domain.TblMonitorVolatilitySqlCriteria"
>
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Blob_Column_List"
/>
from tbl_monitor_volatility_sql
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByExample"
resultMap=
"BaseResultMap"
parameterType=
"com.gmei.data.dqmp.domain.TblMonitorVolatilitySqlCriteria"
>
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from tbl_monitor_volatility_sql
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByPrimaryKey"
resultMap=
"ResultMapWithBLOBs"
parameterType=
"java.lang.Integer"
>
select
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Blob_Column_List"
/>
from tbl_monitor_volatility_sql
where id = #{id,jdbcType=INTEGER}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Integer"
>
delete from tbl_monitor_volatility_sql
where id = #{id,jdbcType=INTEGER}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.gmei.data.dqmp.domain.TblMonitorVolatilitySqlCriteria"
>
delete from tbl_monitor_volatility_sql
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.gmei.data.dqmp.domain.TblMonitorVolatilitySql"
>
insert into tbl_monitor_volatility_sql (id, indicator_type, db_name,
tb_name, col_name, is_valid,
check_time, create_time, sql_content
)
values (#{id,jdbcType=INTEGER}, #{indicatorType,jdbcType=VARCHAR}, #{dbName,jdbcType=VARCHAR},
#{tbName,jdbcType=VARCHAR}, #{colName,jdbcType=VARCHAR}, #{isValid,jdbcType=INTEGER},
#{checkTime,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR}, #{sqlContent,jdbcType=LONGVARCHAR}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.gmei.data.dqmp.domain.TblMonitorVolatilitySql"
>
insert into tbl_monitor_volatility_sql
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
</if>
<if
test=
"indicatorType != null"
>
indicator_type,
</if>
<if
test=
"dbName != null"
>
db_name,
</if>
<if
test=
"tbName != null"
>
tb_name,
</if>
<if
test=
"colName != null"
>
col_name,
</if>
<if
test=
"isValid != null"
>
is_valid,
</if>
<if
test=
"checkTime != null"
>
check_time,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"sqlContent != null"
>
sql_content,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
#{id,jdbcType=INTEGER},
</if>
<if
test=
"indicatorType != null"
>
#{indicatorType,jdbcType=VARCHAR},
</if>
<if
test=
"dbName != null"
>
#{dbName,jdbcType=VARCHAR},
</if>
<if
test=
"tbName != null"
>
#{tbName,jdbcType=VARCHAR},
</if>
<if
test=
"colName != null"
>
#{colName,jdbcType=VARCHAR},
</if>
<if
test=
"isValid != null"
>
#{isValid,jdbcType=INTEGER},
</if>
<if
test=
"checkTime != null"
>
#{checkTime,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=VARCHAR},
</if>
<if
test=
"sqlContent != null"
>
#{sqlContent,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.gmei.data.dqmp.domain.TblMonitorVolatilitySqlCriteria"
resultType=
"java.lang.Integer"
>
select count(*) from tbl_monitor_volatility_sql
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
update tbl_monitor_volatility_sql
<set
>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=INTEGER},
</if>
<if
test=
"record.indicatorType != null"
>
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
</if>
<if
test=
"record.dbName != null"
>
db_name = #{record.dbName,jdbcType=VARCHAR},
</if>
<if
test=
"record.tbName != null"
>
tb_name = #{record.tbName,jdbcType=VARCHAR},
</if>
<if
test=
"record.colName != null"
>
col_name = #{record.colName,jdbcType=VARCHAR},
</if>
<if
test=
"record.isValid != null"
>
is_valid = #{record.isValid,jdbcType=INTEGER},
</if>
<if
test=
"record.checkTime != null"
>
check_time = #{record.checkTime,jdbcType=VARCHAR},
</if>
<if
test=
"record.createTime != null"
>
create_time = #{record.createTime,jdbcType=VARCHAR},
</if>
<if
test=
"record.sqlContent != null"
>
sql_content = #{record.sqlContent,jdbcType=LONGVARCHAR},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExampleWithBLOBs"
parameterType=
"map"
>
update tbl_monitor_volatility_sql
set id = #{record.id,jdbcType=INTEGER},
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
col_name = #{record.colName,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=VARCHAR},
sql_content = #{record.sqlContent,jdbcType=LONGVARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
update tbl_monitor_volatility_sql
set id = #{record.id,jdbcType=INTEGER},
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
col_name = #{record.colName,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=VARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.gmei.data.dqmp.domain.TblMonitorVolatilitySql"
>
update tbl_monitor_volatility_sql
<set
>
<if
test=
"indicatorType != null"
>
indicator_type = #{indicatorType,jdbcType=VARCHAR},
</if>
<if
test=
"dbName != null"
>
db_name = #{dbName,jdbcType=VARCHAR},
</if>
<if
test=
"tbName != null"
>
tb_name = #{tbName,jdbcType=VARCHAR},
</if>
<if
test=
"colName != null"
>
col_name = #{colName,jdbcType=VARCHAR},
</if>
<if
test=
"isValid != null"
>
is_valid = #{isValid,jdbcType=INTEGER},
</if>
<if
test=
"checkTime != null"
>
check_time = #{checkTime,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=VARCHAR},
</if>
<if
test=
"sqlContent != null"
>
sql_content = #{sqlContent,jdbcType=LONGVARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update
id=
"updateByPrimaryKeyWithBLOBs"
parameterType=
"com.gmei.data.dqmp.domain.TblMonitorVolatilitySql"
>
update tbl_monitor_volatility_sql
set indicator_type = #{indicatorType,jdbcType=VARCHAR},
db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
col_name = #{colName,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=VARCHAR},
sql_content = #{sqlContent,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.gmei.data.dqmp.domain.TblMonitorVolatilitySql"
>
update tbl_monitor_volatility_sql
set indicator_type = #{indicatorType,jdbcType=VARCHAR},
db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
col_name = #{colName,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/mapper/TblRuleDuplexInfoMapper.xml
deleted
100644 → 0
View file @
8a57f4b4
<?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.gmei.data.dqmp.mapper.TblRuleDuplexInfoMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.gmei.data.dqmp.domain.TblRuleDuplexInfo"
>
<id
column=
"id"
property=
"id"
jdbcType=
"INTEGER"
/>
<result
column=
"check_type"
property=
"checkType"
jdbcType=
"VARCHAR"
/>
<result
column=
"check_db_name"
property=
"checkDbName"
jdbcType=
"VARCHAR"
/>
<result
column=
"check_tb_name"
property=
"checkTbName"
jdbcType=
"VARCHAR"
/>
<result
column=
"check_col_name"
property=
"checkColName"
jdbcType=
"VARCHAR"
/>
<result
column=
"refer_db_name"
property=
"referDbName"
jdbcType=
"VARCHAR"
/>
<result
column=
"refer_tb_name"
property=
"referTbName"
jdbcType=
"VARCHAR"
/>
<result
column=
"refer_col_name"
property=
"referColName"
jdbcType=
"VARCHAR"
/>
<result
column=
"is_partitioned"
property=
"isPartitioned"
jdbcType=
"INTEGER"
/>
<result
column=
"is_valid"
property=
"isValid"
jdbcType=
"INTEGER"
/>
<result
column=
"check_time"
property=
"checkTime"
jdbcType=
"VARCHAR"
/>
<result
column=
"create_time"
property=
"createTime"
jdbcType=
"VARCHAR"
/>
</resultMap>
<resultMap
id=
"ResultMapWithBLOBs"
type=
"com.gmei.data.dqmp.domain.TblRuleDuplexInfoWithBLOBs"
extends=
"BaseResultMap"
>
<result
column=
"check_filters"
property=
"checkFilters"
jdbcType=
"LONGVARCHAR"
/>
<result
column=
"refer_filters"
property=
"referFilters"
jdbcType=
"LONGVARCHAR"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<where
>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
suffix=
")"
prefixOverrides=
"and"
>
<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
collection=
"criterion.value"
item=
"listItem"
open=
"("
close=
")"
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=
"("
suffix=
")"
prefixOverrides=
"and"
>
<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
collection=
"criterion.value"
item=
"listItem"
open=
"("
close=
")"
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
id, check_type, check_db_name, check_tb_name, check_col_name, refer_db_name, refer_tb_name,
refer_col_name, is_partitioned, is_valid, check_time, create_time
</sql>
<sql
id=
"Blob_Column_List"
>
check_filters, refer_filters
</sql>
<select
id=
"selectByExampleWithBLOBs"
resultMap=
"ResultMapWithBLOBs"
parameterType=
"com.gmei.data.dqmp.domain.TblRuleDuplexInfoCriteria"
>
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Blob_Column_List"
/>
from tbl_rule_duplex_info
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByExample"
resultMap=
"BaseResultMap"
parameterType=
"com.gmei.data.dqmp.domain.TblRuleDuplexInfoCriteria"
>
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from tbl_rule_duplex_info
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByPrimaryKey"
resultMap=
"ResultMapWithBLOBs"
parameterType=
"java.lang.Integer"
>
select
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Blob_Column_List"
/>
from tbl_rule_duplex_info
where id = #{id,jdbcType=INTEGER}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Integer"
>
delete from tbl_rule_duplex_info
where id = #{id,jdbcType=INTEGER}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.gmei.data.dqmp.domain.TblRuleDuplexInfoCriteria"
>
delete from tbl_rule_duplex_info
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.gmei.data.dqmp.domain.TblRuleDuplexInfoWithBLOBs"
>
insert into tbl_rule_duplex_info (id, check_type, check_db_name,
check_tb_name, check_col_name, refer_db_name,
refer_tb_name, refer_col_name, is_partitioned,
is_valid, check_time, create_time,
check_filters, refer_filters)
values (#{id,jdbcType=INTEGER}, #{checkType,jdbcType=VARCHAR}, #{checkDbName,jdbcType=VARCHAR},
#{checkTbName,jdbcType=VARCHAR}, #{checkColName,jdbcType=VARCHAR}, #{referDbName,jdbcType=VARCHAR},
#{referTbName,jdbcType=VARCHAR}, #{referColName,jdbcType=VARCHAR}, #{isPartitioned,jdbcType=INTEGER},
#{isValid,jdbcType=INTEGER}, #{checkTime,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR},
#{checkFilters,jdbcType=LONGVARCHAR}, #{referFilters,jdbcType=LONGVARCHAR})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.gmei.data.dqmp.domain.TblRuleDuplexInfoWithBLOBs"
>
insert into tbl_rule_duplex_info
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
</if>
<if
test=
"checkType != null"
>
check_type,
</if>
<if
test=
"checkDbName != null"
>
check_db_name,
</if>
<if
test=
"checkTbName != null"
>
check_tb_name,
</if>
<if
test=
"checkColName != null"
>
check_col_name,
</if>
<if
test=
"referDbName != null"
>
refer_db_name,
</if>
<if
test=
"referTbName != null"
>
refer_tb_name,
</if>
<if
test=
"referColName != null"
>
refer_col_name,
</if>
<if
test=
"isPartitioned != null"
>
is_partitioned,
</if>
<if
test=
"isValid != null"
>
is_valid,
</if>
<if
test=
"checkTime != null"
>
check_time,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"checkFilters != null"
>
check_filters,
</if>
<if
test=
"referFilters != null"
>
refer_filters,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
#{id,jdbcType=INTEGER},
</if>
<if
test=
"checkType != null"
>
#{checkType,jdbcType=VARCHAR},
</if>
<if
test=
"checkDbName != null"
>
#{checkDbName,jdbcType=VARCHAR},
</if>
<if
test=
"checkTbName != null"
>
#{checkTbName,jdbcType=VARCHAR},
</if>
<if
test=
"checkColName != null"
>
#{checkColName,jdbcType=VARCHAR},
</if>
<if
test=
"referDbName != null"
>
#{referDbName,jdbcType=VARCHAR},
</if>
<if
test=
"referTbName != null"
>
#{referTbName,jdbcType=VARCHAR},
</if>
<if
test=
"referColName != null"
>
#{referColName,jdbcType=VARCHAR},
</if>
<if
test=
"isPartitioned != null"
>
#{isPartitioned,jdbcType=INTEGER},
</if>
<if
test=
"isValid != null"
>
#{isValid,jdbcType=INTEGER},
</if>
<if
test=
"checkTime != null"
>
#{checkTime,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=VARCHAR},
</if>
<if
test=
"checkFilters != null"
>
#{checkFilters,jdbcType=LONGVARCHAR},
</if>
<if
test=
"referFilters != null"
>
#{referFilters,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.gmei.data.dqmp.domain.TblRuleDuplexInfoCriteria"
resultType=
"java.lang.Integer"
>
select count(*) from tbl_rule_duplex_info
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
update tbl_rule_duplex_info
<set
>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=INTEGER},
</if>
<if
test=
"record.checkType != null"
>
check_type = #{record.checkType,jdbcType=VARCHAR},
</if>
<if
test=
"record.checkDbName != null"
>
check_db_name = #{record.checkDbName,jdbcType=VARCHAR},
</if>
<if
test=
"record.checkTbName != null"
>
check_tb_name = #{record.checkTbName,jdbcType=VARCHAR},
</if>
<if
test=
"record.checkColName != null"
>
check_col_name = #{record.checkColName,jdbcType=VARCHAR},
</if>
<if
test=
"record.referDbName != null"
>
refer_db_name = #{record.referDbName,jdbcType=VARCHAR},
</if>
<if
test=
"record.referTbName != null"
>
refer_tb_name = #{record.referTbName,jdbcType=VARCHAR},
</if>
<if
test=
"record.referColName != null"
>
refer_col_name = #{record.referColName,jdbcType=VARCHAR},
</if>
<if
test=
"record.isPartitioned != null"
>
is_partitioned = #{record.isPartitioned,jdbcType=INTEGER},
</if>
<if
test=
"record.isValid != null"
>
is_valid = #{record.isValid,jdbcType=INTEGER},
</if>
<if
test=
"record.checkTime != null"
>
check_time = #{record.checkTime,jdbcType=VARCHAR},
</if>
<if
test=
"record.createTime != null"
>
create_time = #{record.createTime,jdbcType=VARCHAR},
</if>
<if
test=
"record.checkFilters != null"
>
check_filters = #{record.checkFilters,jdbcType=LONGVARCHAR},
</if>
<if
test=
"record.referFilters != null"
>
refer_filters = #{record.referFilters,jdbcType=LONGVARCHAR},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExampleWithBLOBs"
parameterType=
"map"
>
update tbl_rule_duplex_info
set id = #{record.id,jdbcType=INTEGER},
check_type = #{record.checkType,jdbcType=VARCHAR},
check_db_name = #{record.checkDbName,jdbcType=VARCHAR},
check_tb_name = #{record.checkTbName,jdbcType=VARCHAR},
check_col_name = #{record.checkColName,jdbcType=VARCHAR},
refer_db_name = #{record.referDbName,jdbcType=VARCHAR},
refer_tb_name = #{record.referTbName,jdbcType=VARCHAR},
refer_col_name = #{record.referColName,jdbcType=VARCHAR},
is_partitioned = #{record.isPartitioned,jdbcType=INTEGER},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=VARCHAR},
check_filters = #{record.checkFilters,jdbcType=LONGVARCHAR},
refer_filters = #{record.referFilters,jdbcType=LONGVARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
update tbl_rule_duplex_info
set id = #{record.id,jdbcType=INTEGER},
check_type = #{record.checkType,jdbcType=VARCHAR},
check_db_name = #{record.checkDbName,jdbcType=VARCHAR},
check_tb_name = #{record.checkTbName,jdbcType=VARCHAR},
check_col_name = #{record.checkColName,jdbcType=VARCHAR},
refer_db_name = #{record.referDbName,jdbcType=VARCHAR},
refer_tb_name = #{record.referTbName,jdbcType=VARCHAR},
refer_col_name = #{record.referColName,jdbcType=VARCHAR},
is_partitioned = #{record.isPartitioned,jdbcType=INTEGER},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=VARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.gmei.data.dqmp.domain.TblRuleDuplexInfoWithBLOBs"
>
update tbl_rule_duplex_info
<set
>
<if
test=
"checkType != null"
>
check_type = #{checkType,jdbcType=VARCHAR},
</if>
<if
test=
"checkDbName != null"
>
check_db_name = #{checkDbName,jdbcType=VARCHAR},
</if>
<if
test=
"checkTbName != null"
>
check_tb_name = #{checkTbName,jdbcType=VARCHAR},
</if>
<if
test=
"checkColName != null"
>
check_col_name = #{checkColName,jdbcType=VARCHAR},
</if>
<if
test=
"referDbName != null"
>
refer_db_name = #{referDbName,jdbcType=VARCHAR},
</if>
<if
test=
"referTbName != null"
>
refer_tb_name = #{referTbName,jdbcType=VARCHAR},
</if>
<if
test=
"referColName != null"
>
refer_col_name = #{referColName,jdbcType=VARCHAR},
</if>
<if
test=
"isPartitioned != null"
>
is_partitioned = #{isPartitioned,jdbcType=INTEGER},
</if>
<if
test=
"isValid != null"
>
is_valid = #{isValid,jdbcType=INTEGER},
</if>
<if
test=
"checkTime != null"
>
check_time = #{checkTime,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=VARCHAR},
</if>
<if
test=
"checkFilters != null"
>
check_filters = #{checkFilters,jdbcType=LONGVARCHAR},
</if>
<if
test=
"referFilters != null"
>
refer_filters = #{referFilters,jdbcType=LONGVARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update
id=
"updateByPrimaryKeyWithBLOBs"
parameterType=
"com.gmei.data.dqmp.domain.TblRuleDuplexInfoWithBLOBs"
>
update tbl_rule_duplex_info
set check_type = #{checkType,jdbcType=VARCHAR},
check_db_name = #{checkDbName,jdbcType=VARCHAR},
check_tb_name = #{checkTbName,jdbcType=VARCHAR},
check_col_name = #{checkColName,jdbcType=VARCHAR},
refer_db_name = #{referDbName,jdbcType=VARCHAR},
refer_tb_name = #{referTbName,jdbcType=VARCHAR},
refer_col_name = #{referColName,jdbcType=VARCHAR},
is_partitioned = #{isPartitioned,jdbcType=INTEGER},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=VARCHAR},
check_filters = #{checkFilters,jdbcType=LONGVARCHAR},
refer_filters = #{referFilters,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.gmei.data.dqmp.domain.TblRuleDuplexInfo"
>
update tbl_rule_duplex_info
set check_type = #{checkType,jdbcType=VARCHAR},
check_db_name = #{checkDbName,jdbcType=VARCHAR},
check_tb_name = #{checkTbName,jdbcType=VARCHAR},
check_col_name = #{checkColName,jdbcType=VARCHAR},
refer_db_name = #{referDbName,jdbcType=VARCHAR},
refer_tb_name = #{referTbName,jdbcType=VARCHAR},
refer_col_name = #{referColName,jdbcType=VARCHAR},
is_partitioned = #{isPartitioned,jdbcType=INTEGER},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
src/main/resources/mybatis/mapper/TblRuleSimpleInfoMapper.xml
deleted
100644 → 0
View file @
8a57f4b4
<?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.gmei.data.dqmp.mapper.TblRuleSimpleInfoMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.gmei.data.dqmp.domain.TblRuleSimpleInfo"
>
<id
column=
"id"
property=
"id"
jdbcType=
"INTEGER"
/>
<result
column=
"check_type"
property=
"checkType"
jdbcType=
"VARCHAR"
/>
<result
column=
"db_name"
property=
"dbName"
jdbcType=
"VARCHAR"
/>
<result
column=
"tb_name"
property=
"tbName"
jdbcType=
"VARCHAR"
/>
<result
column=
"col_name"
property=
"colName"
jdbcType=
"VARCHAR"
/>
<result
column=
"indicator_type"
property=
"indicatorType"
jdbcType=
"VARCHAR"
/>
<result
column=
"start_time"
property=
"startTime"
jdbcType=
"VARCHAR"
/>
<result
column=
"end_time"
property=
"endTime"
jdbcType=
"VARCHAR"
/>
<result
column=
"is_partitioned"
property=
"isPartitioned"
jdbcType=
"INTEGER"
/>
<result
column=
"is_valid"
property=
"isValid"
jdbcType=
"INTEGER"
/>
<result
column=
"check_time"
property=
"checkTime"
jdbcType=
"VARCHAR"
/>
<result
column=
"create_time"
property=
"createTime"
jdbcType=
"VARCHAR"
/>
</resultMap>
<resultMap
id=
"ResultMapWithBLOBs"
type=
"com.gmei.data.dqmp.domain.TblRuleSimpleInfo"
extends=
"BaseResultMap"
>
<result
column=
"filters"
property=
"filters"
jdbcType=
"LONGVARCHAR"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<where
>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
suffix=
")"
prefixOverrides=
"and"
>
<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
collection=
"criterion.value"
item=
"listItem"
open=
"("
close=
")"
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=
"("
suffix=
")"
prefixOverrides=
"and"
>
<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
collection=
"criterion.value"
item=
"listItem"
open=
"("
close=
")"
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
id, check_type, db_name, tb_name, col_name, indicator_type, start_time, end_time,
is_partitioned, is_valid, check_time, create_time
</sql>
<sql
id=
"Blob_Column_List"
>
filters
</sql>
<select
id=
"selectByExampleWithBLOBs"
resultMap=
"ResultMapWithBLOBs"
parameterType=
"com.gmei.data.dqmp.domain.TblRuleSimpleInfoCriteria"
>
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Blob_Column_List"
/>
from tbl_rule_simple_info
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByExample"
resultMap=
"BaseResultMap"
parameterType=
"com.gmei.data.dqmp.domain.TblRuleSimpleInfoCriteria"
>
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from tbl_rule_simple_info
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByPrimaryKey"
resultMap=
"ResultMapWithBLOBs"
parameterType=
"java.lang.Integer"
>
select
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Blob_Column_List"
/>
from tbl_rule_simple_info
where id = #{id,jdbcType=INTEGER}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Integer"
>
delete from tbl_rule_simple_info
where id = #{id,jdbcType=INTEGER}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.gmei.data.dqmp.domain.TblRuleSimpleInfoCriteria"
>
delete from tbl_rule_simple_info
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.gmei.data.dqmp.domain.TblRuleSimpleInfo"
>
insert into tbl_rule_simple_info (id, check_type, db_name,
tb_name, col_name, indicator_type,
start_time, end_time, is_partitioned,
is_valid, check_time, create_time,
filters)
values (#{id,jdbcType=INTEGER}, #{checkType,jdbcType=VARCHAR}, #{dbName,jdbcType=VARCHAR},
#{tbName,jdbcType=VARCHAR}, #{colName,jdbcType=VARCHAR}, #{indicatorType,jdbcType=VARCHAR},
#{startTime,jdbcType=VARCHAR}, #{endTime,jdbcType=VARCHAR}, #{isPartitioned,jdbcType=INTEGER},
#{isValid,jdbcType=INTEGER}, #{checkTime,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR},
#{filters,jdbcType=LONGVARCHAR})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.gmei.data.dqmp.domain.TblRuleSimpleInfo"
>
insert into tbl_rule_simple_info
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
</if>
<if
test=
"checkType != null"
>
check_type,
</if>
<if
test=
"dbName != null"
>
db_name,
</if>
<if
test=
"tbName != null"
>
tb_name,
</if>
<if
test=
"colName != null"
>
col_name,
</if>
<if
test=
"indicatorType != null"
>
indicator_type,
</if>
<if
test=
"startTime != null"
>
start_time,
</if>
<if
test=
"endTime != null"
>
end_time,
</if>
<if
test=
"isPartitioned != null"
>
is_partitioned,
</if>
<if
test=
"isValid != null"
>
is_valid,
</if>
<if
test=
"checkTime != null"
>
check_time,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"filters != null"
>
filters,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
#{id,jdbcType=INTEGER},
</if>
<if
test=
"checkType != null"
>
#{checkType,jdbcType=VARCHAR},
</if>
<if
test=
"dbName != null"
>
#{dbName,jdbcType=VARCHAR},
</if>
<if
test=
"tbName != null"
>
#{tbName,jdbcType=VARCHAR},
</if>
<if
test=
"colName != null"
>
#{colName,jdbcType=VARCHAR},
</if>
<if
test=
"indicatorType != null"
>
#{indicatorType,jdbcType=VARCHAR},
</if>
<if
test=
"startTime != null"
>
#{startTime,jdbcType=VARCHAR},
</if>
<if
test=
"endTime != null"
>
#{endTime,jdbcType=VARCHAR},
</if>
<if
test=
"isPartitioned != null"
>
#{isPartitioned,jdbcType=INTEGER},
</if>
<if
test=
"isValid != null"
>
#{isValid,jdbcType=INTEGER},
</if>
<if
test=
"checkTime != null"
>
#{checkTime,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=VARCHAR},
</if>
<if
test=
"filters != null"
>
#{filters,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.gmei.data.dqmp.domain.TblRuleSimpleInfoCriteria"
resultType=
"java.lang.Integer"
>
select count(*) from tbl_rule_simple_info
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
update tbl_rule_simple_info
<set
>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=INTEGER},
</if>
<if
test=
"record.checkType != null"
>
check_type = #{record.checkType,jdbcType=VARCHAR},
</if>
<if
test=
"record.dbName != null"
>
db_name = #{record.dbName,jdbcType=VARCHAR},
</if>
<if
test=
"record.tbName != null"
>
tb_name = #{record.tbName,jdbcType=VARCHAR},
</if>
<if
test=
"record.colName != null"
>
col_name = #{record.colName,jdbcType=VARCHAR},
</if>
<if
test=
"record.indicatorType != null"
>
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
</if>
<if
test=
"record.startTime != null"
>
start_time = #{record.startTime,jdbcType=VARCHAR},
</if>
<if
test=
"record.endTime != null"
>
end_time = #{record.endTime,jdbcType=VARCHAR},
</if>
<if
test=
"record.isPartitioned != null"
>
is_partitioned = #{record.isPartitioned,jdbcType=INTEGER},
</if>
<if
test=
"record.isValid != null"
>
is_valid = #{record.isValid,jdbcType=INTEGER},
</if>
<if
test=
"record.checkTime != null"
>
check_time = #{record.checkTime,jdbcType=VARCHAR},
</if>
<if
test=
"record.createTime != null"
>
create_time = #{record.createTime,jdbcType=VARCHAR},
</if>
<if
test=
"record.filters != null"
>
filters = #{record.filters,jdbcType=LONGVARCHAR},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExampleWithBLOBs"
parameterType=
"map"
>
update tbl_rule_simple_info
set id = #{record.id,jdbcType=INTEGER},
check_type = #{record.checkType,jdbcType=VARCHAR},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
col_name = #{record.colName,jdbcType=VARCHAR},
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
start_time = #{record.startTime,jdbcType=VARCHAR},
end_time = #{record.endTime,jdbcType=VARCHAR},
is_partitioned = #{record.isPartitioned,jdbcType=INTEGER},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=VARCHAR},
filters = #{record.filters,jdbcType=LONGVARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
update tbl_rule_simple_info
set id = #{record.id,jdbcType=INTEGER},
check_type = #{record.checkType,jdbcType=VARCHAR},
db_name = #{record.dbName,jdbcType=VARCHAR},
tb_name = #{record.tbName,jdbcType=VARCHAR},
col_name = #{record.colName,jdbcType=VARCHAR},
indicator_type = #{record.indicatorType,jdbcType=VARCHAR},
start_time = #{record.startTime,jdbcType=VARCHAR},
end_time = #{record.endTime,jdbcType=VARCHAR},
is_partitioned = #{record.isPartitioned,jdbcType=INTEGER},
is_valid = #{record.isValid,jdbcType=INTEGER},
check_time = #{record.checkTime,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=VARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.gmei.data.dqmp.domain.TblRuleSimpleInfo"
>
update tbl_rule_simple_info
<set
>
<if
test=
"checkType != null"
>
check_type = #{checkType,jdbcType=VARCHAR},
</if>
<if
test=
"dbName != null"
>
db_name = #{dbName,jdbcType=VARCHAR},
</if>
<if
test=
"tbName != null"
>
tb_name = #{tbName,jdbcType=VARCHAR},
</if>
<if
test=
"colName != null"
>
col_name = #{colName,jdbcType=VARCHAR},
</if>
<if
test=
"indicatorType != null"
>
indicator_type = #{indicatorType,jdbcType=VARCHAR},
</if>
<if
test=
"startTime != null"
>
start_time = #{startTime,jdbcType=VARCHAR},
</if>
<if
test=
"endTime != null"
>
end_time = #{endTime,jdbcType=VARCHAR},
</if>
<if
test=
"isPartitioned != null"
>
is_partitioned = #{isPartitioned,jdbcType=INTEGER},
</if>
<if
test=
"isValid != null"
>
is_valid = #{isValid,jdbcType=INTEGER},
</if>
<if
test=
"checkTime != null"
>
check_time = #{checkTime,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=VARCHAR},
</if>
<if
test=
"filters != null"
>
filters = #{filters,jdbcType=LONGVARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update
id=
"updateByPrimaryKeyWithBLOBs"
parameterType=
"com.gmei.data.dqmp.domain.TblRuleSimpleInfo"
>
update tbl_rule_simple_info
set check_type = #{checkType,jdbcType=VARCHAR},
db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
col_name = #{colName,jdbcType=VARCHAR},
indicator_type = #{indicatorType,jdbcType=VARCHAR},
start_time = #{startTime,jdbcType=VARCHAR},
end_time = #{endTime,jdbcType=VARCHAR},
is_partitioned = #{isPartitioned,jdbcType=INTEGER},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=VARCHAR},
filters = #{filters,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.gmei.data.dqmp.domain.TblRuleSimpleInfo"
>
update tbl_rule_simple_info
set check_type = #{checkType,jdbcType=VARCHAR},
db_name = #{dbName,jdbcType=VARCHAR},
tb_name = #{tbName,jdbcType=VARCHAR},
col_name = #{colName,jdbcType=VARCHAR},
indicator_type = #{indicatorType,jdbcType=VARCHAR},
start_time = #{startTime,jdbcType=VARCHAR},
end_time = #{endTime,jdbcType=VARCHAR},
is_partitioned = #{isPartitioned,jdbcType=INTEGER},
is_valid = #{isValid,jdbcType=INTEGER},
check_time = #{checkTime,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
</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