Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
chejia-smart-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e5c0959c
authored
Mar 15, 2021
by
tyfanchz
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
引入通用Mapper和分页插件、生成通用业务代码、删除无用类和注释
1 parent
dccb03f6
Hide whitespace changes
Inline
Side-by-side
Showing
59 changed files
with
133 additions
and
12544 deletions
src/main/java/com/glsx/smart/controller/SceneController.java
src/main/java/com/glsx/smart/controller/SceneTemplateController.java
src/main/java/com/glsx/smart/controller/SysCodeController.java
src/main/java/com/glsx/smart/entity/SmartDevideStatusExample.java
src/main/java/com/glsx/smart/entity/SmartProductExample.java
src/main/java/com/glsx/smart/entity/SmartProductTypeExample.java
src/main/java/com/glsx/smart/entity/SmartProductTypeParamExample.java
src/main/java/com/glsx/smart/entity/SmartScenseDataExample.java
src/main/java/com/glsx/smart/entity/SmartScenseExample.java
src/main/java/com/glsx/smart/entity/SmartScenseTemplateExample.java
src/main/java/com/glsx/smart/entity/SmartSysCodeExample.java
src/main/java/com/glsx/smart/entity/SmartSysFileExample.java
src/main/java/com/glsx/smart/entity/SmartTemplateParamExample.java
src/main/java/com/glsx/smart/entity/SmartUserRelationExample.java
src/main/java/com/glsx/smart/mapper/SmartDevideStatusMapper.java
src/main/java/com/glsx/smart/mapper/SmartProductMapper.java
src/main/java/com/glsx/smart/mapper/SmartProductTypeMapper.java
src/main/java/com/glsx/smart/mapper/SmartProductTypeParamMapper.java
src/main/java/com/glsx/smart/mapper/SmartScenseDataMapper.java
src/main/java/com/glsx/smart/mapper/SmartScenseMapper.java
src/main/java/com/glsx/smart/mapper/SmartScenseTemplateMapper.java
src/main/java/com/glsx/smart/mapper/SmartSysCodeMapper.java
src/main/java/com/glsx/smart/mapper/SmartSysFileMapper.java
src/main/java/com/glsx/smart/mapper/SmartTemplateParamMapper.java
src/main/java/com/glsx/smart/mapper/SmartUserRelationMapper.java
src/main/java/com/glsx/smart/service/DemoService.java
src/main/java/com/glsx/smart/service/SmartDevideStatusService.java
src/main/java/com/glsx/smart/service/SmartProductService.java
src/main/java/com/glsx/smart/service/SmartProductTypeParamService.java
src/main/java/com/glsx/smart/service/SmartProductTypeService.java
src/main/java/com/glsx/smart/service/SmartScenseDataService.java
src/main/java/com/glsx/smart/service/SmartScenseService.java
src/main/java/com/glsx/smart/service/SmartScenseTemplateService.java
src/main/java/com/glsx/smart/service/SmartSysCodeService.java
src/main/java/com/glsx/smart/service/SmartSysFileService.java
src/main/java/com/glsx/smart/service/SmartTemplateParamService.java
src/main/java/com/glsx/smart/service/SmartUserRelationService.java
src/main/java/com/glsx/smart/service/impl/SmartDevideStatusServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartProductServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartProductTypeParamServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartProductTypeServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartScenseDataServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartScenseServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartScenseTemplateServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartSysCodeServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartSysFileServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartTemplateParamServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartUserRelationServiceImpl.java
src/main/resources/mapper/SmartDevideStatusMapper.xml
src/main/resources/mapper/SmartProductMapper.xml
src/main/resources/mapper/SmartProductTypeMapper.xml
src/main/resources/mapper/SmartProductTypeParamMapper.xml
src/main/resources/mapper/SmartScenseDataMapper.xml
src/main/resources/mapper/SmartScenseMapper.xml
src/main/resources/mapper/SmartScenseTemplateMapper.xml
src/main/resources/mapper/SmartSysCodeMapper.xml
src/main/resources/mapper/SmartSysFileMapper.xml
src/main/resources/mapper/SmartTemplateParamMapper.xml
src/main/resources/mapper/SmartUserRelationMapper.xml
src/main/java/com/glsx/smart/controller/SceneController.java
View file @
e5c0959
...
@@ -2,7 +2,6 @@ package com.glsx.smart.controller;
...
@@ -2,7 +2,6 @@ package com.glsx.smart.controller;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartScense
;
import
com.glsx.smart.entity.SmartScense
;
import
com.glsx.smart.entity.SmartScenseExample
;
import
com.glsx.smart.service.SmartScenseService
;
import
com.glsx.smart.service.SmartScenseService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
...
@@ -25,7 +24,7 @@ public class SceneController {
...
@@ -25,7 +24,7 @@ public class SceneController {
@RequestMapping
(
value
=
"/getList"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
@RequestMapping
(
value
=
"/getList"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
public
List
<
SmartScense
>
getList
(
SmartScense
scense
)
{
public
List
<
SmartScense
>
getList
(
SmartScense
scense
)
{
return
scenseService
.
selectByExample
(
new
SmartScenseExample
()
);
return
scenseService
.
selectByExample
(
scense
);
}
}
@RequestMapping
(
value
=
"/getById"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
@RequestMapping
(
value
=
"/getById"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
...
...
src/main/java/com/glsx/smart/controller/SceneTemplateController.java
View file @
e5c0959
...
@@ -2,7 +2,6 @@ package com.glsx.smart.controller;
...
@@ -2,7 +2,6 @@ package com.glsx.smart.controller;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartScenseTemplate
;
import
com.glsx.smart.entity.SmartScenseTemplate
;
import
com.glsx.smart.entity.SmartScenseTemplateExample
;
import
com.glsx.smart.service.SmartScenseTemplateService
;
import
com.glsx.smart.service.SmartScenseTemplateService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
...
@@ -24,7 +23,7 @@ public class SceneTemplateController {
...
@@ -24,7 +23,7 @@ public class SceneTemplateController {
@RequestMapping
(
value
=
"/getList"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
@RequestMapping
(
value
=
"/getList"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
public
List
<
SmartScenseTemplate
>
getList
(
SmartScenseTemplate
scenseTemplate
)
{
public
List
<
SmartScenseTemplate
>
getList
(
SmartScenseTemplate
scenseTemplate
)
{
return
scenseTemplateService
.
selectByExample
(
new
SmartScenseTemplateExample
()
);
return
scenseTemplateService
.
selectByExample
(
scenseTemplate
);
}
}
@RequestMapping
(
value
=
"/getById"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
@RequestMapping
(
value
=
"/getById"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
...
...
src/main/java/com/glsx/smart/controller/SysCodeController.java
0 → 100644
View file @
e5c0959
package
com
.
glsx
.
smart
.
controller
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartSysCode
;
import
com.glsx.smart.service.SmartSysCodeService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-15
*/
@RestController
@RequestMapping
(
"/sysCode"
)
public
class
SysCodeController
{
@Autowired
private
SmartSysCodeService
sysCodeService
;
@RequestMapping
(
value
=
"/getList"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
public
List
<
SmartSysCode
>
getList
(
SmartSysCode
sysCode
)
{
return
sysCodeService
.
selectByExample
(
sysCode
);
}
}
src/main/java/com/glsx/smart/entity/SmartDevideStatusExample.java
deleted
100644 → 0
View file @
dccb03f
package
com
.
glsx
.
smart
.
entity
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-15
*/
public
class
SmartDevideStatusExample
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
SmartDevideStatusExample
()
{
oredCriteria
=
new
ArrayList
<>();
}
public
String
getOrderByClause
()
{
return
orderByClause
;
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
public
boolean
isDistinct
()
{
return
distinct
;
}
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
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
<>();
}
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
andDeviceIdIsNull
()
{
addCriterion
(
"device_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceIdIsNotNull
()
{
addCriterion
(
"device_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceIdEqualTo
(
String
value
)
{
addCriterion
(
"device_id ="
,
value
,
"deviceId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceIdNotEqualTo
(
String
value
)
{
addCriterion
(
"device_id <>"
,
value
,
"deviceId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceIdGreaterThan
(
String
value
)
{
addCriterion
(
"device_id >"
,
value
,
"deviceId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"device_id >="
,
value
,
"deviceId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceIdLessThan
(
String
value
)
{
addCriterion
(
"device_id <"
,
value
,
"deviceId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"device_id <="
,
value
,
"deviceId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceIdLike
(
String
value
)
{
addCriterion
(
"device_id like"
,
value
,
"deviceId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceIdNotLike
(
String
value
)
{
addCriterion
(
"device_id not like"
,
value
,
"deviceId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"device_id in"
,
values
,
"deviceId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"device_id not in"
,
values
,
"deviceId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"device_id between"
,
value1
,
value2
,
"deviceId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"device_id not between"
,
value1
,
value2
,
"deviceId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUidIsNull
()
{
addCriterion
(
"`uid` is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUidIsNotNull
()
{
addCriterion
(
"`uid` is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUidEqualTo
(
String
value
)
{
addCriterion
(
"`uid` ="
,
value
,
"uid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUidNotEqualTo
(
String
value
)
{
addCriterion
(
"`uid` <>"
,
value
,
"uid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUidGreaterThan
(
String
value
)
{
addCriterion
(
"`uid` >"
,
value
,
"uid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUidGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"`uid` >="
,
value
,
"uid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUidLessThan
(
String
value
)
{
addCriterion
(
"`uid` <"
,
value
,
"uid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUidLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"`uid` <="
,
value
,
"uid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUidLike
(
String
value
)
{
addCriterion
(
"`uid` like"
,
value
,
"uid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUidNotLike
(
String
value
)
{
addCriterion
(
"`uid` not like"
,
value
,
"uid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUidIn
(
List
<
String
>
values
)
{
addCriterion
(
"`uid` in"
,
values
,
"uid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUidNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"`uid` not in"
,
values
,
"uid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUidBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"`uid` between"
,
value1
,
value2
,
"uid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUidNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"`uid` not between"
,
value1
,
value2
,
"uid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderCodeIsNull
()
{
addCriterion
(
"device_order_code is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderCodeIsNotNull
()
{
addCriterion
(
"device_order_code is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderCodeEqualTo
(
String
value
)
{
addCriterion
(
"device_order_code ="
,
value
,
"deviceOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderCodeNotEqualTo
(
String
value
)
{
addCriterion
(
"device_order_code <>"
,
value
,
"deviceOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderCodeGreaterThan
(
String
value
)
{
addCriterion
(
"device_order_code >"
,
value
,
"deviceOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderCodeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"device_order_code >="
,
value
,
"deviceOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderCodeLessThan
(
String
value
)
{
addCriterion
(
"device_order_code <"
,
value
,
"deviceOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderCodeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"device_order_code <="
,
value
,
"deviceOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderCodeLike
(
String
value
)
{
addCriterion
(
"device_order_code like"
,
value
,
"deviceOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderCodeNotLike
(
String
value
)
{
addCriterion
(
"device_order_code not like"
,
value
,
"deviceOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderCodeIn
(
List
<
String
>
values
)
{
addCriterion
(
"device_order_code in"
,
values
,
"deviceOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderCodeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"device_order_code not in"
,
values
,
"deviceOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderCodeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"device_order_code between"
,
value1
,
value2
,
"deviceOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderCodeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"device_order_code not between"
,
value1
,
value2
,
"deviceOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderValueIsNull
()
{
addCriterion
(
"device_order_value is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderValueIsNotNull
()
{
addCriterion
(
"device_order_value is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderValueEqualTo
(
String
value
)
{
addCriterion
(
"device_order_value ="
,
value
,
"deviceOrderValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderValueNotEqualTo
(
String
value
)
{
addCriterion
(
"device_order_value <>"
,
value
,
"deviceOrderValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderValueGreaterThan
(
String
value
)
{
addCriterion
(
"device_order_value >"
,
value
,
"deviceOrderValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderValueGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"device_order_value >="
,
value
,
"deviceOrderValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderValueLessThan
(
String
value
)
{
addCriterion
(
"device_order_value <"
,
value
,
"deviceOrderValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderValueLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"device_order_value <="
,
value
,
"deviceOrderValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderValueLike
(
String
value
)
{
addCriterion
(
"device_order_value like"
,
value
,
"deviceOrderValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderValueNotLike
(
String
value
)
{
addCriterion
(
"device_order_value not like"
,
value
,
"deviceOrderValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderValueIn
(
List
<
String
>
values
)
{
addCriterion
(
"device_order_value in"
,
values
,
"deviceOrderValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderValueNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"device_order_value not in"
,
values
,
"deviceOrderValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderValueBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"device_order_value between"
,
value1
,
value2
,
"deviceOrderValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceOrderValueNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"device_order_value not between"
,
value1
,
value2
,
"deviceOrderValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeIsNull
()
{
addCriterion
(
"createtime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeIsNotNull
()
{
addCriterion
(
"createtime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeEqualTo
(
Date
value
)
{
addCriterion
(
"createtime ="
,
value
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"createtime <>"
,
value
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeGreaterThan
(
Date
value
)
{
addCriterion
(
"createtime >"
,
value
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"createtime >="
,
value
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeLessThan
(
Date
value
)
{
addCriterion
(
"createtime <"
,
value
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"createtime <="
,
value
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"createtime in"
,
values
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"createtime not in"
,
values
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"createtime between"
,
value1
,
value2
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"createtime not between"
,
value1
,
value2
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeIsNull
()
{
addCriterion
(
"updatetime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeIsNotNull
()
{
addCriterion
(
"updatetime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeEqualTo
(
Date
value
)
{
addCriterion
(
"updatetime ="
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"updatetime <>"
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeGreaterThan
(
Date
value
)
{
addCriterion
(
"updatetime >"
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"updatetime >="
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeLessThan
(
Date
value
)
{
addCriterion
(
"updatetime <"
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"updatetime <="
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"updatetime in"
,
values
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"updatetime not in"
,
values
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"updatetime between"
,
value1
,
value2
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"updatetime not between"
,
value1
,
value2
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductKeyIsNull
()
{
addCriterion
(
"product_key is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductKeyIsNotNull
()
{
addCriterion
(
"product_key is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductKeyEqualTo
(
String
value
)
{
addCriterion
(
"product_key ="
,
value
,
"productKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductKeyNotEqualTo
(
String
value
)
{
addCriterion
(
"product_key <>"
,
value
,
"productKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductKeyGreaterThan
(
String
value
)
{
addCriterion
(
"product_key >"
,
value
,
"productKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductKeyGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"product_key >="
,
value
,
"productKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductKeyLessThan
(
String
value
)
{
addCriterion
(
"product_key <"
,
value
,
"productKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductKeyLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"product_key <="
,
value
,
"productKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductKeyLike
(
String
value
)
{
addCriterion
(
"product_key like"
,
value
,
"productKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductKeyNotLike
(
String
value
)
{
addCriterion
(
"product_key not like"
,
value
,
"productKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductKeyIn
(
List
<
String
>
values
)
{
addCriterion
(
"product_key in"
,
values
,
"productKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductKeyNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"product_key not in"
,
values
,
"productKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductKeyBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"product_key between"
,
value1
,
value2
,
"productKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductKeyNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"product_key not between"
,
value1
,
value2
,
"productKey"
);
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
;
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
);
}
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
;
}
}
}
src/main/java/com/glsx/smart/entity/SmartProductExample.java
deleted
100644 → 0
View file @
dccb03f
package
com
.
glsx
.
smart
.
entity
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-15
*/
public
class
SmartProductExample
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
SmartProductExample
()
{
oredCriteria
=
new
ArrayList
<>();
}
public
String
getOrderByClause
()
{
return
orderByClause
;
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
public
boolean
isDistinct
()
{
return
distinct
;
}
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
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
<>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductNameIsNull
()
{
addCriterion
(
"product_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductNameIsNotNull
()
{
addCriterion
(
"product_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductNameEqualTo
(
String
value
)
{
addCriterion
(
"product_name ="
,
value
,
"productName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductNameNotEqualTo
(
String
value
)
{
addCriterion
(
"product_name <>"
,
value
,
"productName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductNameGreaterThan
(
String
value
)
{
addCriterion
(
"product_name >"
,
value
,
"productName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"product_name >="
,
value
,
"productName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductNameLessThan
(
String
value
)
{
addCriterion
(
"product_name <"
,
value
,
"productName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"product_name <="
,
value
,
"productName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductNameLike
(
String
value
)
{
addCriterion
(
"product_name like"
,
value
,
"productName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductNameNotLike
(
String
value
)
{
addCriterion
(
"product_name not like"
,
value
,
"productName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"product_name in"
,
values
,
"productName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"product_name not in"
,
values
,
"productName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"product_name between"
,
value1
,
value2
,
"productName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"product_name not between"
,
value1
,
value2
,
"productName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconIsNull
()
{
addCriterion
(
"icon is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconIsNotNull
()
{
addCriterion
(
"icon is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconEqualTo
(
Long
value
)
{
addCriterion
(
"icon ="
,
value
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconNotEqualTo
(
Long
value
)
{
addCriterion
(
"icon <>"
,
value
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconGreaterThan
(
Long
value
)
{
addCriterion
(
"icon >"
,
value
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"icon >="
,
value
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconLessThan
(
Long
value
)
{
addCriterion
(
"icon <"
,
value
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"icon <="
,
value
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconIn
(
List
<
Long
>
values
)
{
addCriterion
(
"icon in"
,
values
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"icon not in"
,
values
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"icon between"
,
value1
,
value2
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"icon not between"
,
value1
,
value2
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdIsNull
()
{
addCriterion
(
"type_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdIsNotNull
()
{
addCriterion
(
"type_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdEqualTo
(
Long
value
)
{
addCriterion
(
"type_id ="
,
value
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"type_id <>"
,
value
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdGreaterThan
(
Long
value
)
{
addCriterion
(
"type_id >"
,
value
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"type_id >="
,
value
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdLessThan
(
Long
value
)
{
addCriterion
(
"type_id <"
,
value
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"type_id <="
,
value
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"type_id in"
,
values
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"type_id not in"
,
values
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"type_id between"
,
value1
,
value2
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"type_id not between"
,
value1
,
value2
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopProductIdIsNull
()
{
addCriterion
(
"shop_product_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopProductIdIsNotNull
()
{
addCriterion
(
"shop_product_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopProductIdEqualTo
(
String
value
)
{
addCriterion
(
"shop_product_id ="
,
value
,
"shopProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopProductIdNotEqualTo
(
String
value
)
{
addCriterion
(
"shop_product_id <>"
,
value
,
"shopProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopProductIdGreaterThan
(
String
value
)
{
addCriterion
(
"shop_product_id >"
,
value
,
"shopProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopProductIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"shop_product_id >="
,
value
,
"shopProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopProductIdLessThan
(
String
value
)
{
addCriterion
(
"shop_product_id <"
,
value
,
"shopProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopProductIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"shop_product_id <="
,
value
,
"shopProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopProductIdLike
(
String
value
)
{
addCriterion
(
"shop_product_id like"
,
value
,
"shopProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopProductIdNotLike
(
String
value
)
{
addCriterion
(
"shop_product_id not like"
,
value
,
"shopProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopProductIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"shop_product_id in"
,
values
,
"shopProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopProductIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"shop_product_id not in"
,
values
,
"shopProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopProductIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"shop_product_id between"
,
value1
,
value2
,
"shopProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopProductIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"shop_product_id not between"
,
value1
,
value2
,
"shopProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformKeyIsNull
()
{
addCriterion
(
"platform_key is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformKeyIsNotNull
()
{
addCriterion
(
"platform_key is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformKeyEqualTo
(
String
value
)
{
addCriterion
(
"platform_key ="
,
value
,
"platformKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformKeyNotEqualTo
(
String
value
)
{
addCriterion
(
"platform_key <>"
,
value
,
"platformKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformKeyGreaterThan
(
String
value
)
{
addCriterion
(
"platform_key >"
,
value
,
"platformKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformKeyGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"platform_key >="
,
value
,
"platformKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformKeyLessThan
(
String
value
)
{
addCriterion
(
"platform_key <"
,
value
,
"platformKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformKeyLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"platform_key <="
,
value
,
"platformKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformKeyLike
(
String
value
)
{
addCriterion
(
"platform_key like"
,
value
,
"platformKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformKeyNotLike
(
String
value
)
{
addCriterion
(
"platform_key not like"
,
value
,
"platformKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformKeyIn
(
List
<
String
>
values
)
{
addCriterion
(
"platform_key in"
,
values
,
"platformKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformKeyNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"platform_key not in"
,
values
,
"platformKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformKeyBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"platform_key between"
,
value1
,
value2
,
"platformKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformKeyNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"platform_key not between"
,
value1
,
value2
,
"platformKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformProductIdIsNull
()
{
addCriterion
(
"platform_product_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformProductIdIsNotNull
()
{
addCriterion
(
"platform_product_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformProductIdEqualTo
(
String
value
)
{
addCriterion
(
"platform_product_id ="
,
value
,
"platformProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformProductIdNotEqualTo
(
String
value
)
{
addCriterion
(
"platform_product_id <>"
,
value
,
"platformProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformProductIdGreaterThan
(
String
value
)
{
addCriterion
(
"platform_product_id >"
,
value
,
"platformProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformProductIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"platform_product_id >="
,
value
,
"platformProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformProductIdLessThan
(
String
value
)
{
addCriterion
(
"platform_product_id <"
,
value
,
"platformProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformProductIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"platform_product_id <="
,
value
,
"platformProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformProductIdLike
(
String
value
)
{
addCriterion
(
"platform_product_id like"
,
value
,
"platformProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformProductIdNotLike
(
String
value
)
{
addCriterion
(
"platform_product_id not like"
,
value
,
"platformProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformProductIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"platform_product_id in"
,
values
,
"platformProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformProductIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"platform_product_id not in"
,
values
,
"platformProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformProductIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"platform_product_id between"
,
value1
,
value2
,
"platformProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPlatformProductIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"platform_product_id not between"
,
value1
,
value2
,
"platformProductId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNetworkKeyIsNull
()
{
addCriterion
(
"network_key is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNetworkKeyIsNotNull
()
{
addCriterion
(
"network_key is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNetworkKeyEqualTo
(
String
value
)
{
addCriterion
(
"network_key ="
,
value
,
"networkKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNetworkKeyNotEqualTo
(
String
value
)
{
addCriterion
(
"network_key <>"
,
value
,
"networkKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNetworkKeyGreaterThan
(
String
value
)
{
addCriterion
(
"network_key >"
,
value
,
"networkKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNetworkKeyGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"network_key >="
,
value
,
"networkKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNetworkKeyLessThan
(
String
value
)
{
addCriterion
(
"network_key <"
,
value
,
"networkKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNetworkKeyLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"network_key <="
,
value
,
"networkKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNetworkKeyLike
(
String
value
)
{
addCriterion
(
"network_key like"
,
value
,
"networkKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNetworkKeyNotLike
(
String
value
)
{
addCriterion
(
"network_key not like"
,
value
,
"networkKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNetworkKeyIn
(
List
<
String
>
values
)
{
addCriterion
(
"network_key in"
,
values
,
"networkKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNetworkKeyNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"network_key not in"
,
values
,
"networkKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNetworkKeyBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"network_key between"
,
value1
,
value2
,
"networkKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNetworkKeyNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"network_key not between"
,
value1
,
value2
,
"networkKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNull
()
{
addCriterion
(
"`status` is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNotNull
()
{
addCriterion
(
"`status` is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` ="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` <>"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThan
(
Byte
value
)
{
addCriterion
(
"`status` >"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` >="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThan
(
Byte
value
)
{
addCriterion
(
"`status` <"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` <="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`status` in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`status` not in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`status` between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`status` not between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNull
()
{
addCriterion
(
"remark is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNotNull
()
{
addCriterion
(
"remark is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkEqualTo
(
String
value
)
{
addCriterion
(
"remark ="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotEqualTo
(
String
value
)
{
addCriterion
(
"remark <>"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThan
(
String
value
)
{
addCriterion
(
"remark >"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remark >="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThan
(
String
value
)
{
addCriterion
(
"remark <"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remark <="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLike
(
String
value
)
{
addCriterion
(
"remark like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotLike
(
String
value
)
{
addCriterion
(
"remark not like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIn
(
List
<
String
>
values
)
{
addCriterion
(
"remark in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"remark not in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remark between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remark not between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"create_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNotNull
()
{
addCriterion
(
"create_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"create_time ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"create_time >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
Date
value
)
{
addCriterion
(
"create_time <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByIsNull
()
{
addCriterion
(
"create_by is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByIsNotNull
()
{
addCriterion
(
"create_by is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByEqualTo
(
Long
value
)
{
addCriterion
(
"create_by ="
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotEqualTo
(
Long
value
)
{
addCriterion
(
"create_by <>"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByGreaterThan
(
Long
value
)
{
addCriterion
(
"create_by >"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"create_by >="
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByLessThan
(
Long
value
)
{
addCriterion
(
"create_by <"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"create_by <="
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByIn
(
List
<
Long
>
values
)
{
addCriterion
(
"create_by in"
,
values
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"create_by not in"
,
values
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"create_by between"
,
value1
,
value2
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"create_by not between"
,
value1
,
value2
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNull
()
{
addCriterion
(
"update_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNotNull
()
{
addCriterion
(
"update_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"update_time ="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"update_time <>"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"update_time >"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"update_time >="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThan
(
Date
value
)
{
addCriterion
(
"update_time <"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"update_time <="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"update_time in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"update_time not in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"update_time between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"update_time not between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByIsNull
()
{
addCriterion
(
"update_by is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByIsNotNull
()
{
addCriterion
(
"update_by is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByEqualTo
(
Long
value
)
{
addCriterion
(
"update_by ="
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotEqualTo
(
Long
value
)
{
addCriterion
(
"update_by <>"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByGreaterThan
(
Long
value
)
{
addCriterion
(
"update_by >"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"update_by >="
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByLessThan
(
Long
value
)
{
addCriterion
(
"update_by <"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"update_by <="
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByIn
(
List
<
Long
>
values
)
{
addCriterion
(
"update_by in"
,
values
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"update_by not in"
,
values
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"update_by between"
,
value1
,
value2
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"update_by not between"
,
value1
,
value2
,
"updateBy"
);
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
;
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
);
}
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
;
}
}
}
src/main/java/com/glsx/smart/entity/SmartProductTypeExample.java
deleted
100644 → 0
View file @
dccb03f
package
com
.
glsx
.
smart
.
entity
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-15
*/
public
class
SmartProductTypeExample
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
SmartProductTypeExample
()
{
oredCriteria
=
new
ArrayList
<>();
}
public
String
getOrderByClause
()
{
return
orderByClause
;
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
public
boolean
isDistinct
()
{
return
distinct
;
}
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
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
<>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNameIsNull
()
{
addCriterion
(
"type_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNameIsNotNull
()
{
addCriterion
(
"type_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNameEqualTo
(
String
value
)
{
addCriterion
(
"type_name ="
,
value
,
"typeName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNameNotEqualTo
(
String
value
)
{
addCriterion
(
"type_name <>"
,
value
,
"typeName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNameGreaterThan
(
String
value
)
{
addCriterion
(
"type_name >"
,
value
,
"typeName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"type_name >="
,
value
,
"typeName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNameLessThan
(
String
value
)
{
addCriterion
(
"type_name <"
,
value
,
"typeName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"type_name <="
,
value
,
"typeName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNameLike
(
String
value
)
{
addCriterion
(
"type_name like"
,
value
,
"typeName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNameNotLike
(
String
value
)
{
addCriterion
(
"type_name not like"
,
value
,
"typeName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"type_name in"
,
values
,
"typeName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"type_name not in"
,
values
,
"typeName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"type_name between"
,
value1
,
value2
,
"typeName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"type_name not between"
,
value1
,
value2
,
"typeName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategoryKeyIsNull
()
{
addCriterion
(
"category_key is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategoryKeyIsNotNull
()
{
addCriterion
(
"category_key is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategoryKeyEqualTo
(
String
value
)
{
addCriterion
(
"category_key ="
,
value
,
"categoryKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategoryKeyNotEqualTo
(
String
value
)
{
addCriterion
(
"category_key <>"
,
value
,
"categoryKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategoryKeyGreaterThan
(
String
value
)
{
addCriterion
(
"category_key >"
,
value
,
"categoryKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategoryKeyGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"category_key >="
,
value
,
"categoryKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategoryKeyLessThan
(
String
value
)
{
addCriterion
(
"category_key <"
,
value
,
"categoryKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategoryKeyLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"category_key <="
,
value
,
"categoryKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategoryKeyLike
(
String
value
)
{
addCriterion
(
"category_key like"
,
value
,
"categoryKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategoryKeyNotLike
(
String
value
)
{
addCriterion
(
"category_key not like"
,
value
,
"categoryKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategoryKeyIn
(
List
<
String
>
values
)
{
addCriterion
(
"category_key in"
,
values
,
"categoryKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategoryKeyNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"category_key not in"
,
values
,
"categoryKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategoryKeyBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"category_key between"
,
value1
,
value2
,
"categoryKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategoryKeyNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"category_key not between"
,
value1
,
value2
,
"categoryKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopTagIsNull
()
{
addCriterion
(
"shop_tag is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopTagIsNotNull
()
{
addCriterion
(
"shop_tag is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopTagEqualTo
(
String
value
)
{
addCriterion
(
"shop_tag ="
,
value
,
"shopTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopTagNotEqualTo
(
String
value
)
{
addCriterion
(
"shop_tag <>"
,
value
,
"shopTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopTagGreaterThan
(
String
value
)
{
addCriterion
(
"shop_tag >"
,
value
,
"shopTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopTagGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"shop_tag >="
,
value
,
"shopTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopTagLessThan
(
String
value
)
{
addCriterion
(
"shop_tag <"
,
value
,
"shopTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopTagLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"shop_tag <="
,
value
,
"shopTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopTagLike
(
String
value
)
{
addCriterion
(
"shop_tag like"
,
value
,
"shopTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopTagNotLike
(
String
value
)
{
addCriterion
(
"shop_tag not like"
,
value
,
"shopTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopTagIn
(
List
<
String
>
values
)
{
addCriterion
(
"shop_tag in"
,
values
,
"shopTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopTagNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"shop_tag not in"
,
values
,
"shopTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopTagBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"shop_tag between"
,
value1
,
value2
,
"shopTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShopTagNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"shop_tag not between"
,
value1
,
value2
,
"shopTag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNull
()
{
addCriterion
(
"remark is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNotNull
()
{
addCriterion
(
"remark is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkEqualTo
(
String
value
)
{
addCriterion
(
"remark ="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotEqualTo
(
String
value
)
{
addCriterion
(
"remark <>"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThan
(
String
value
)
{
addCriterion
(
"remark >"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remark >="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThan
(
String
value
)
{
addCriterion
(
"remark <"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remark <="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLike
(
String
value
)
{
addCriterion
(
"remark like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotLike
(
String
value
)
{
addCriterion
(
"remark not like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIn
(
List
<
String
>
values
)
{
addCriterion
(
"remark in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"remark not in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remark between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remark not between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"create_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNotNull
()
{
addCriterion
(
"create_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"create_time ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"create_time >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
Date
value
)
{
addCriterion
(
"create_time <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByIsNull
()
{
addCriterion
(
"create_by is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByIsNotNull
()
{
addCriterion
(
"create_by is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByEqualTo
(
Long
value
)
{
addCriterion
(
"create_by ="
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotEqualTo
(
Long
value
)
{
addCriterion
(
"create_by <>"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByGreaterThan
(
Long
value
)
{
addCriterion
(
"create_by >"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"create_by >="
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByLessThan
(
Long
value
)
{
addCriterion
(
"create_by <"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"create_by <="
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByIn
(
List
<
Long
>
values
)
{
addCriterion
(
"create_by in"
,
values
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"create_by not in"
,
values
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"create_by between"
,
value1
,
value2
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"create_by not between"
,
value1
,
value2
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNull
()
{
addCriterion
(
"update_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNotNull
()
{
addCriterion
(
"update_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"update_time ="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"update_time <>"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"update_time >"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"update_time >="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThan
(
Date
value
)
{
addCriterion
(
"update_time <"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"update_time <="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"update_time in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"update_time not in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"update_time between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"update_time not between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByIsNull
()
{
addCriterion
(
"update_by is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByIsNotNull
()
{
addCriterion
(
"update_by is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByEqualTo
(
Long
value
)
{
addCriterion
(
"update_by ="
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotEqualTo
(
Long
value
)
{
addCriterion
(
"update_by <>"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByGreaterThan
(
Long
value
)
{
addCriterion
(
"update_by >"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"update_by >="
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByLessThan
(
Long
value
)
{
addCriterion
(
"update_by <"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"update_by <="
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByIn
(
List
<
Long
>
values
)
{
addCriterion
(
"update_by in"
,
values
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"update_by not in"
,
values
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"update_by between"
,
value1
,
value2
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"update_by not between"
,
value1
,
value2
,
"updateBy"
);
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
;
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
);
}
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
;
}
}
}
src/main/java/com/glsx/smart/entity/SmartProductTypeParamExample.java
deleted
100644 → 0
View file @
dccb03f
package
com
.
glsx
.
smart
.
entity
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-15
*/
public
class
SmartProductTypeParamExample
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
SmartProductTypeParamExample
()
{
oredCriteria
=
new
ArrayList
<>();
}
public
String
getOrderByClause
()
{
return
orderByClause
;
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
public
boolean
isDistinct
()
{
return
distinct
;
}
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
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
<>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdIsNull
()
{
addCriterion
(
"type_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdIsNotNull
()
{
addCriterion
(
"type_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdEqualTo
(
Long
value
)
{
addCriterion
(
"type_id ="
,
value
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"type_id <>"
,
value
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdGreaterThan
(
Long
value
)
{
addCriterion
(
"type_id >"
,
value
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"type_id >="
,
value
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdLessThan
(
Long
value
)
{
addCriterion
(
"type_id <"
,
value
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"type_id <="
,
value
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"type_id in"
,
values
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"type_id not in"
,
values
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"type_id between"
,
value1
,
value2
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"type_id not between"
,
value1
,
value2
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderCodeIsNull
()
{
addCriterion
(
"devide_order_code is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderCodeIsNotNull
()
{
addCriterion
(
"devide_order_code is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderCodeEqualTo
(
String
value
)
{
addCriterion
(
"devide_order_code ="
,
value
,
"devideOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderCodeNotEqualTo
(
String
value
)
{
addCriterion
(
"devide_order_code <>"
,
value
,
"devideOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderCodeGreaterThan
(
String
value
)
{
addCriterion
(
"devide_order_code >"
,
value
,
"devideOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderCodeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"devide_order_code >="
,
value
,
"devideOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderCodeLessThan
(
String
value
)
{
addCriterion
(
"devide_order_code <"
,
value
,
"devideOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderCodeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"devide_order_code <="
,
value
,
"devideOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderCodeLike
(
String
value
)
{
addCriterion
(
"devide_order_code like"
,
value
,
"devideOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderCodeNotLike
(
String
value
)
{
addCriterion
(
"devide_order_code not like"
,
value
,
"devideOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderCodeIn
(
List
<
String
>
values
)
{
addCriterion
(
"devide_order_code in"
,
values
,
"devideOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderCodeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"devide_order_code not in"
,
values
,
"devideOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderCodeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"devide_order_code between"
,
value1
,
value2
,
"devideOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderCodeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"devide_order_code not between"
,
value1
,
value2
,
"devideOrderCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderNameIsNull
()
{
addCriterion
(
"devide_order_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderNameIsNotNull
()
{
addCriterion
(
"devide_order_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderNameEqualTo
(
String
value
)
{
addCriterion
(
"devide_order_name ="
,
value
,
"devideOrderName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderNameNotEqualTo
(
String
value
)
{
addCriterion
(
"devide_order_name <>"
,
value
,
"devideOrderName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderNameGreaterThan
(
String
value
)
{
addCriterion
(
"devide_order_name >"
,
value
,
"devideOrderName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"devide_order_name >="
,
value
,
"devideOrderName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderNameLessThan
(
String
value
)
{
addCriterion
(
"devide_order_name <"
,
value
,
"devideOrderName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"devide_order_name <="
,
value
,
"devideOrderName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderNameLike
(
String
value
)
{
addCriterion
(
"devide_order_name like"
,
value
,
"devideOrderName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderNameNotLike
(
String
value
)
{
addCriterion
(
"devide_order_name not like"
,
value
,
"devideOrderName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"devide_order_name in"
,
values
,
"devideOrderName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"devide_order_name not in"
,
values
,
"devideOrderName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"devide_order_name between"
,
value1
,
value2
,
"devideOrderName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"devide_order_name not between"
,
value1
,
value2
,
"devideOrderName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNull
()
{
addCriterion
(
"`status` is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNotNull
()
{
addCriterion
(
"`status` is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusEqualTo
(
String
value
)
{
addCriterion
(
"`status` ="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotEqualTo
(
String
value
)
{
addCriterion
(
"`status` <>"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThan
(
String
value
)
{
addCriterion
(
"`status` >"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"`status` >="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThan
(
String
value
)
{
addCriterion
(
"`status` <"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"`status` <="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLike
(
String
value
)
{
addCriterion
(
"`status` like"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotLike
(
String
value
)
{
addCriterion
(
"`status` not like"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIn
(
List
<
String
>
values
)
{
addCriterion
(
"`status` in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"`status` not in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"`status` between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"`status` not between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderValuetypeIsNull
()
{
addCriterion
(
"devide_order_valuetype is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderValuetypeIsNotNull
()
{
addCriterion
(
"devide_order_valuetype is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderValuetypeEqualTo
(
String
value
)
{
addCriterion
(
"devide_order_valuetype ="
,
value
,
"devideOrderValuetype"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderValuetypeNotEqualTo
(
String
value
)
{
addCriterion
(
"devide_order_valuetype <>"
,
value
,
"devideOrderValuetype"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderValuetypeGreaterThan
(
String
value
)
{
addCriterion
(
"devide_order_valuetype >"
,
value
,
"devideOrderValuetype"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderValuetypeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"devide_order_valuetype >="
,
value
,
"devideOrderValuetype"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderValuetypeLessThan
(
String
value
)
{
addCriterion
(
"devide_order_valuetype <"
,
value
,
"devideOrderValuetype"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderValuetypeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"devide_order_valuetype <="
,
value
,
"devideOrderValuetype"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderValuetypeLike
(
String
value
)
{
addCriterion
(
"devide_order_valuetype like"
,
value
,
"devideOrderValuetype"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderValuetypeNotLike
(
String
value
)
{
addCriterion
(
"devide_order_valuetype not like"
,
value
,
"devideOrderValuetype"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderValuetypeIn
(
List
<
String
>
values
)
{
addCriterion
(
"devide_order_valuetype in"
,
values
,
"devideOrderValuetype"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderValuetypeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"devide_order_valuetype not in"
,
values
,
"devideOrderValuetype"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderValuetypeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"devide_order_valuetype between"
,
value1
,
value2
,
"devideOrderValuetype"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDevideOrderValuetypeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"devide_order_valuetype not between"
,
value1
,
value2
,
"devideOrderValuetype"
);
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
;
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
);
}
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
;
}
}
}
src/main/java/com/glsx/smart/entity/SmartScenseDataExample.java
deleted
100644 → 0
View file @
dccb03f
package
com
.
glsx
.
smart
.
entity
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-15
*/
public
class
SmartScenseDataExample
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
SmartScenseDataExample
()
{
oredCriteria
=
new
ArrayList
<>();
}
public
String
getOrderByClause
()
{
return
orderByClause
;
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
public
boolean
isDistinct
()
{
return
distinct
;
}
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
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
<>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdIsNull
()
{
addCriterion
(
"template_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdIsNotNull
()
{
addCriterion
(
"template_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdEqualTo
(
Long
value
)
{
addCriterion
(
"template_id ="
,
value
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"template_id <>"
,
value
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdGreaterThan
(
Long
value
)
{
addCriterion
(
"template_id >"
,
value
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"template_id >="
,
value
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdLessThan
(
Long
value
)
{
addCriterion
(
"template_id <"
,
value
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"template_id <="
,
value
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"template_id in"
,
values
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"template_id not in"
,
values
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"template_id between"
,
value1
,
value2
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"template_id not between"
,
value1
,
value2
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNull
()
{
addCriterion
(
"`type` is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNotNull
()
{
addCriterion
(
"`type` is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeEqualTo
(
Byte
value
)
{
addCriterion
(
"`type` ="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotEqualTo
(
Byte
value
)
{
addCriterion
(
"`type` <>"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThan
(
Byte
value
)
{
addCriterion
(
"`type` >"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`type` >="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThan
(
Byte
value
)
{
addCriterion
(
"`type` <"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`type` <="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`type` in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`type` not in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`type` between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`type` not between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortIsNull
()
{
addCriterion
(
"sort is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortIsNotNull
()
{
addCriterion
(
"sort is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortEqualTo
(
Byte
value
)
{
addCriterion
(
"sort ="
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortNotEqualTo
(
Byte
value
)
{
addCriterion
(
"sort <>"
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortGreaterThan
(
Byte
value
)
{
addCriterion
(
"sort >"
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"sort >="
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortLessThan
(
Byte
value
)
{
addCriterion
(
"sort <"
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"sort <="
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"sort in"
,
values
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"sort not in"
,
values
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"sort between"
,
value1
,
value2
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"sort not between"
,
value1
,
value2
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyIsNull
()
{
addCriterion
(
"param_key is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyIsNotNull
()
{
addCriterion
(
"param_key is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyEqualTo
(
String
value
)
{
addCriterion
(
"param_key ="
,
value
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyNotEqualTo
(
String
value
)
{
addCriterion
(
"param_key <>"
,
value
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyGreaterThan
(
String
value
)
{
addCriterion
(
"param_key >"
,
value
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"param_key >="
,
value
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyLessThan
(
String
value
)
{
addCriterion
(
"param_key <"
,
value
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"param_key <="
,
value
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyLike
(
String
value
)
{
addCriterion
(
"param_key like"
,
value
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyNotLike
(
String
value
)
{
addCriterion
(
"param_key not like"
,
value
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyIn
(
List
<
String
>
values
)
{
addCriterion
(
"param_key in"
,
values
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"param_key not in"
,
values
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"param_key between"
,
value1
,
value2
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"param_key not between"
,
value1
,
value2
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueIsNull
()
{
addCriterion
(
"param_value is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueIsNotNull
()
{
addCriterion
(
"param_value is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueEqualTo
(
String
value
)
{
addCriterion
(
"param_value ="
,
value
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueNotEqualTo
(
String
value
)
{
addCriterion
(
"param_value <>"
,
value
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueGreaterThan
(
String
value
)
{
addCriterion
(
"param_value >"
,
value
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"param_value >="
,
value
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueLessThan
(
String
value
)
{
addCriterion
(
"param_value <"
,
value
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"param_value <="
,
value
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueLike
(
String
value
)
{
addCriterion
(
"param_value like"
,
value
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueNotLike
(
String
value
)
{
addCriterion
(
"param_value not like"
,
value
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueIn
(
List
<
String
>
values
)
{
addCriterion
(
"param_value in"
,
values
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"param_value not in"
,
values
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"param_value between"
,
value1
,
value2
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"param_value not between"
,
value1
,
value2
,
"paramValue"
);
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
;
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
);
}
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
;
}
}
}
src/main/java/com/glsx/smart/entity/SmartScenseExample.java
deleted
100644 → 0
View file @
dccb03f
package
com
.
glsx
.
smart
.
entity
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-15
*/
public
class
SmartScenseExample
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
SmartScenseExample
()
{
oredCriteria
=
new
ArrayList
<>();
}
public
String
getOrderByClause
()
{
return
orderByClause
;
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
public
boolean
isDistinct
()
{
return
distinct
;
}
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
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
<>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdIsNull
()
{
addCriterion
(
"user_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdIsNotNull
()
{
addCriterion
(
"user_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdEqualTo
(
Long
value
)
{
addCriterion
(
"user_id ="
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"user_id <>"
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdGreaterThan
(
Long
value
)
{
addCriterion
(
"user_id >"
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"user_id >="
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdLessThan
(
Long
value
)
{
addCriterion
(
"user_id <"
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"user_id <="
,
value
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"user_id in"
,
values
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"user_id not in"
,
values
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"user_id between"
,
value1
,
value2
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"user_id not between"
,
value1
,
value2
,
"userId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameIsNull
()
{
addCriterion
(
"scenes_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameIsNotNull
()
{
addCriterion
(
"scenes_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameEqualTo
(
String
value
)
{
addCriterion
(
"scenes_name ="
,
value
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameNotEqualTo
(
String
value
)
{
addCriterion
(
"scenes_name <>"
,
value
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameGreaterThan
(
String
value
)
{
addCriterion
(
"scenes_name >"
,
value
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"scenes_name >="
,
value
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameLessThan
(
String
value
)
{
addCriterion
(
"scenes_name <"
,
value
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"scenes_name <="
,
value
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameLike
(
String
value
)
{
addCriterion
(
"scenes_name like"
,
value
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameNotLike
(
String
value
)
{
addCriterion
(
"scenes_name not like"
,
value
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"scenes_name in"
,
values
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"scenes_name not in"
,
values
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"scenes_name between"
,
value1
,
value2
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"scenes_name not between"
,
value1
,
value2
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyIsNull
()
{
addCriterion
(
"type_key is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyIsNotNull
()
{
addCriterion
(
"type_key is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyEqualTo
(
String
value
)
{
addCriterion
(
"type_key ="
,
value
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyNotEqualTo
(
String
value
)
{
addCriterion
(
"type_key <>"
,
value
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyGreaterThan
(
String
value
)
{
addCriterion
(
"type_key >"
,
value
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"type_key >="
,
value
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyLessThan
(
String
value
)
{
addCriterion
(
"type_key <"
,
value
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"type_key <="
,
value
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyLike
(
String
value
)
{
addCriterion
(
"type_key like"
,
value
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyNotLike
(
String
value
)
{
addCriterion
(
"type_key not like"
,
value
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyIn
(
List
<
String
>
values
)
{
addCriterion
(
"type_key in"
,
values
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"type_key not in"
,
values
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"type_key between"
,
value1
,
value2
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"type_key not between"
,
value1
,
value2
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconIsNull
()
{
addCriterion
(
"icon is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconIsNotNull
()
{
addCriterion
(
"icon is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconEqualTo
(
Long
value
)
{
addCriterion
(
"icon ="
,
value
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconNotEqualTo
(
Long
value
)
{
addCriterion
(
"icon <>"
,
value
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconGreaterThan
(
Long
value
)
{
addCriterion
(
"icon >"
,
value
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"icon >="
,
value
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconLessThan
(
Long
value
)
{
addCriterion
(
"icon <"
,
value
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"icon <="
,
value
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconIn
(
List
<
Long
>
values
)
{
addCriterion
(
"icon in"
,
values
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"icon not in"
,
values
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"icon between"
,
value1
,
value2
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"icon not between"
,
value1
,
value2
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicIsNull
()
{
addCriterion
(
"back_pic is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicIsNotNull
()
{
addCriterion
(
"back_pic is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicEqualTo
(
Long
value
)
{
addCriterion
(
"back_pic ="
,
value
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicNotEqualTo
(
Long
value
)
{
addCriterion
(
"back_pic <>"
,
value
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicGreaterThan
(
Long
value
)
{
addCriterion
(
"back_pic >"
,
value
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"back_pic >="
,
value
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicLessThan
(
Long
value
)
{
addCriterion
(
"back_pic <"
,
value
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"back_pic <="
,
value
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicIn
(
List
<
Long
>
values
)
{
addCriterion
(
"back_pic in"
,
values
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"back_pic not in"
,
values
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"back_pic between"
,
value1
,
value2
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"back_pic not between"
,
value1
,
value2
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesIsNull
()
{
addCriterion
(
"view_times is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesIsNotNull
()
{
addCriterion
(
"view_times is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesEqualTo
(
Long
value
)
{
addCriterion
(
"view_times ="
,
value
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesNotEqualTo
(
Long
value
)
{
addCriterion
(
"view_times <>"
,
value
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesGreaterThan
(
Long
value
)
{
addCriterion
(
"view_times >"
,
value
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"view_times >="
,
value
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesLessThan
(
Long
value
)
{
addCriterion
(
"view_times <"
,
value
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"view_times <="
,
value
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesIn
(
List
<
Long
>
values
)
{
addCriterion
(
"view_times in"
,
values
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"view_times not in"
,
values
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"view_times between"
,
value1
,
value2
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"view_times not between"
,
value1
,
value2
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIsNull
()
{
addCriterion
(
"description is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIsNotNull
()
{
addCriterion
(
"description is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionEqualTo
(
String
value
)
{
addCriterion
(
"description ="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotEqualTo
(
String
value
)
{
addCriterion
(
"description <>"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionGreaterThan
(
String
value
)
{
addCriterion
(
"description >"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"description >="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLessThan
(
String
value
)
{
addCriterion
(
"description <"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"description <="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLike
(
String
value
)
{
addCriterion
(
"description like"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotLike
(
String
value
)
{
addCriterion
(
"description not like"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIn
(
List
<
String
>
values
)
{
addCriterion
(
"description in"
,
values
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"description not in"
,
values
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"description between"
,
value1
,
value2
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"description not between"
,
value1
,
value2
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleIsNull
()
{
addCriterion
(
"condition_rule is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleIsNotNull
()
{
addCriterion
(
"condition_rule is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleEqualTo
(
Byte
value
)
{
addCriterion
(
"condition_rule ="
,
value
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleNotEqualTo
(
Byte
value
)
{
addCriterion
(
"condition_rule <>"
,
value
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleGreaterThan
(
Byte
value
)
{
addCriterion
(
"condition_rule >"
,
value
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"condition_rule >="
,
value
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleLessThan
(
Byte
value
)
{
addCriterion
(
"condition_rule <"
,
value
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"condition_rule <="
,
value
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"condition_rule in"
,
values
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"condition_rule not in"
,
values
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"condition_rule between"
,
value1
,
value2
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"condition_rule not between"
,
value1
,
value2
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleIsNull
()
{
addCriterion
(
"execute_cycle is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleIsNotNull
()
{
addCriterion
(
"execute_cycle is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleEqualTo
(
Byte
value
)
{
addCriterion
(
"execute_cycle ="
,
value
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleNotEqualTo
(
Byte
value
)
{
addCriterion
(
"execute_cycle <>"
,
value
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleGreaterThan
(
Byte
value
)
{
addCriterion
(
"execute_cycle >"
,
value
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"execute_cycle >="
,
value
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleLessThan
(
Byte
value
)
{
addCriterion
(
"execute_cycle <"
,
value
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"execute_cycle <="
,
value
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"execute_cycle in"
,
values
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"execute_cycle not in"
,
values
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"execute_cycle between"
,
value1
,
value2
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"execute_cycle not between"
,
value1
,
value2
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNull
()
{
addCriterion
(
"`status` is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNotNull
()
{
addCriterion
(
"`status` is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` ="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` <>"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThan
(
Byte
value
)
{
addCriterion
(
"`status` >"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` >="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThan
(
Byte
value
)
{
addCriterion
(
"`status` <"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` <="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`status` in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`status` not in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`status` between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`status` not between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNull
()
{
addCriterion
(
"remark is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNotNull
()
{
addCriterion
(
"remark is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkEqualTo
(
String
value
)
{
addCriterion
(
"remark ="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotEqualTo
(
String
value
)
{
addCriterion
(
"remark <>"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThan
(
String
value
)
{
addCriterion
(
"remark >"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remark >="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThan
(
String
value
)
{
addCriterion
(
"remark <"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remark <="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLike
(
String
value
)
{
addCriterion
(
"remark like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotLike
(
String
value
)
{
addCriterion
(
"remark not like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIn
(
List
<
String
>
values
)
{
addCriterion
(
"remark in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"remark not in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remark between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remark not between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"create_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNotNull
()
{
addCriterion
(
"create_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"create_time ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"create_time >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
Date
value
)
{
addCriterion
(
"create_time <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNull
()
{
addCriterion
(
"update_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNotNull
()
{
addCriterion
(
"update_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"update_time ="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"update_time <>"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"update_time >"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"update_time >="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThan
(
Date
value
)
{
addCriterion
(
"update_time <"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"update_time <="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"update_time in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"update_time not in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"update_time between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"update_time not between"
,
value1
,
value2
,
"updateTime"
);
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
;
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
);
}
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
;
}
}
}
src/main/java/com/glsx/smart/entity/SmartScenseTemplateExample.java
deleted
100644 → 0
View file @
dccb03f
package
com
.
glsx
.
smart
.
entity
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-15
*/
public
class
SmartScenseTemplateExample
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
SmartScenseTemplateExample
()
{
oredCriteria
=
new
ArrayList
<>();
}
public
String
getOrderByClause
()
{
return
orderByClause
;
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
public
boolean
isDistinct
()
{
return
distinct
;
}
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
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
<>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameIsNull
()
{
addCriterion
(
"scenes_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameIsNotNull
()
{
addCriterion
(
"scenes_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameEqualTo
(
String
value
)
{
addCriterion
(
"scenes_name ="
,
value
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameNotEqualTo
(
String
value
)
{
addCriterion
(
"scenes_name <>"
,
value
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameGreaterThan
(
String
value
)
{
addCriterion
(
"scenes_name >"
,
value
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"scenes_name >="
,
value
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameLessThan
(
String
value
)
{
addCriterion
(
"scenes_name <"
,
value
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"scenes_name <="
,
value
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameLike
(
String
value
)
{
addCriterion
(
"scenes_name like"
,
value
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameNotLike
(
String
value
)
{
addCriterion
(
"scenes_name not like"
,
value
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"scenes_name in"
,
values
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"scenes_name not in"
,
values
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"scenes_name between"
,
value1
,
value2
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andScenesNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"scenes_name not between"
,
value1
,
value2
,
"scenesName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyIsNull
()
{
addCriterion
(
"type_key is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyIsNotNull
()
{
addCriterion
(
"type_key is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyEqualTo
(
String
value
)
{
addCriterion
(
"type_key ="
,
value
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyNotEqualTo
(
String
value
)
{
addCriterion
(
"type_key <>"
,
value
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyGreaterThan
(
String
value
)
{
addCriterion
(
"type_key >"
,
value
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"type_key >="
,
value
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyLessThan
(
String
value
)
{
addCriterion
(
"type_key <"
,
value
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"type_key <="
,
value
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyLike
(
String
value
)
{
addCriterion
(
"type_key like"
,
value
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyNotLike
(
String
value
)
{
addCriterion
(
"type_key not like"
,
value
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyIn
(
List
<
String
>
values
)
{
addCriterion
(
"type_key in"
,
values
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"type_key not in"
,
values
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"type_key between"
,
value1
,
value2
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeKeyNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"type_key not between"
,
value1
,
value2
,
"typeKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconIsNull
()
{
addCriterion
(
"icon is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconIsNotNull
()
{
addCriterion
(
"icon is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconEqualTo
(
Long
value
)
{
addCriterion
(
"icon ="
,
value
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconNotEqualTo
(
Long
value
)
{
addCriterion
(
"icon <>"
,
value
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconGreaterThan
(
Long
value
)
{
addCriterion
(
"icon >"
,
value
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"icon >="
,
value
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconLessThan
(
Long
value
)
{
addCriterion
(
"icon <"
,
value
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"icon <="
,
value
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconIn
(
List
<
Long
>
values
)
{
addCriterion
(
"icon in"
,
values
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"icon not in"
,
values
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"icon between"
,
value1
,
value2
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIconNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"icon not between"
,
value1
,
value2
,
"icon"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicIsNull
()
{
addCriterion
(
"back_pic is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicIsNotNull
()
{
addCriterion
(
"back_pic is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicEqualTo
(
Long
value
)
{
addCriterion
(
"back_pic ="
,
value
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicNotEqualTo
(
Long
value
)
{
addCriterion
(
"back_pic <>"
,
value
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicGreaterThan
(
Long
value
)
{
addCriterion
(
"back_pic >"
,
value
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"back_pic >="
,
value
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicLessThan
(
Long
value
)
{
addCriterion
(
"back_pic <"
,
value
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"back_pic <="
,
value
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicIn
(
List
<
Long
>
values
)
{
addCriterion
(
"back_pic in"
,
values
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"back_pic not in"
,
values
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"back_pic between"
,
value1
,
value2
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBackPicNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"back_pic not between"
,
value1
,
value2
,
"backPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesIsNull
()
{
addCriterion
(
"view_times is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesIsNotNull
()
{
addCriterion
(
"view_times is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesEqualTo
(
Long
value
)
{
addCriterion
(
"view_times ="
,
value
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesNotEqualTo
(
Long
value
)
{
addCriterion
(
"view_times <>"
,
value
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesGreaterThan
(
Long
value
)
{
addCriterion
(
"view_times >"
,
value
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"view_times >="
,
value
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesLessThan
(
Long
value
)
{
addCriterion
(
"view_times <"
,
value
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"view_times <="
,
value
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesIn
(
List
<
Long
>
values
)
{
addCriterion
(
"view_times in"
,
values
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"view_times not in"
,
values
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"view_times between"
,
value1
,
value2
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andViewTimesNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"view_times not between"
,
value1
,
value2
,
"viewTimes"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIsNull
()
{
addCriterion
(
"description is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIsNotNull
()
{
addCriterion
(
"description is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionEqualTo
(
String
value
)
{
addCriterion
(
"description ="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotEqualTo
(
String
value
)
{
addCriterion
(
"description <>"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionGreaterThan
(
String
value
)
{
addCriterion
(
"description >"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"description >="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLessThan
(
String
value
)
{
addCriterion
(
"description <"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"description <="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLike
(
String
value
)
{
addCriterion
(
"description like"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotLike
(
String
value
)
{
addCriterion
(
"description not like"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIn
(
List
<
String
>
values
)
{
addCriterion
(
"description in"
,
values
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"description not in"
,
values
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"description between"
,
value1
,
value2
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"description not between"
,
value1
,
value2
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleIsNull
()
{
addCriterion
(
"condition_rule is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleIsNotNull
()
{
addCriterion
(
"condition_rule is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleEqualTo
(
Byte
value
)
{
addCriterion
(
"condition_rule ="
,
value
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleNotEqualTo
(
Byte
value
)
{
addCriterion
(
"condition_rule <>"
,
value
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleGreaterThan
(
Byte
value
)
{
addCriterion
(
"condition_rule >"
,
value
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"condition_rule >="
,
value
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleLessThan
(
Byte
value
)
{
addCriterion
(
"condition_rule <"
,
value
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"condition_rule <="
,
value
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"condition_rule in"
,
values
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"condition_rule not in"
,
values
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"condition_rule between"
,
value1
,
value2
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andConditionRuleNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"condition_rule not between"
,
value1
,
value2
,
"conditionRule"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleIsNull
()
{
addCriterion
(
"execute_cycle is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleIsNotNull
()
{
addCriterion
(
"execute_cycle is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleEqualTo
(
Byte
value
)
{
addCriterion
(
"execute_cycle ="
,
value
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleNotEqualTo
(
Byte
value
)
{
addCriterion
(
"execute_cycle <>"
,
value
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleGreaterThan
(
Byte
value
)
{
addCriterion
(
"execute_cycle >"
,
value
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"execute_cycle >="
,
value
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleLessThan
(
Byte
value
)
{
addCriterion
(
"execute_cycle <"
,
value
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"execute_cycle <="
,
value
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"execute_cycle in"
,
values
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"execute_cycle not in"
,
values
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"execute_cycle between"
,
value1
,
value2
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExecuteCycleNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"execute_cycle not between"
,
value1
,
value2
,
"executeCycle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNull
()
{
addCriterion
(
"`status` is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNotNull
()
{
addCriterion
(
"`status` is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` ="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` <>"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThan
(
Byte
value
)
{
addCriterion
(
"`status` >"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` >="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThan
(
Byte
value
)
{
addCriterion
(
"`status` <"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` <="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`status` in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`status` not in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`status` between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`status` not between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNull
()
{
addCriterion
(
"remark is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNotNull
()
{
addCriterion
(
"remark is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkEqualTo
(
String
value
)
{
addCriterion
(
"remark ="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotEqualTo
(
String
value
)
{
addCriterion
(
"remark <>"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThan
(
String
value
)
{
addCriterion
(
"remark >"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remark >="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThan
(
String
value
)
{
addCriterion
(
"remark <"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remark <="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLike
(
String
value
)
{
addCriterion
(
"remark like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotLike
(
String
value
)
{
addCriterion
(
"remark not like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIn
(
List
<
String
>
values
)
{
addCriterion
(
"remark in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"remark not in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remark between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remark not between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"create_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNotNull
()
{
addCriterion
(
"create_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"create_time ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"create_time >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
Date
value
)
{
addCriterion
(
"create_time <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByIsNull
()
{
addCriterion
(
"create_by is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByIsNotNull
()
{
addCriterion
(
"create_by is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByEqualTo
(
Long
value
)
{
addCriterion
(
"create_by ="
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotEqualTo
(
Long
value
)
{
addCriterion
(
"create_by <>"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByGreaterThan
(
Long
value
)
{
addCriterion
(
"create_by >"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"create_by >="
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByLessThan
(
Long
value
)
{
addCriterion
(
"create_by <"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"create_by <="
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByIn
(
List
<
Long
>
values
)
{
addCriterion
(
"create_by in"
,
values
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"create_by not in"
,
values
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"create_by between"
,
value1
,
value2
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"create_by not between"
,
value1
,
value2
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNull
()
{
addCriterion
(
"update_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNotNull
()
{
addCriterion
(
"update_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"update_time ="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"update_time <>"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"update_time >"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"update_time >="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThan
(
Date
value
)
{
addCriterion
(
"update_time <"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"update_time <="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"update_time in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"update_time not in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"update_time between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"update_time not between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByIsNull
()
{
addCriterion
(
"update_by is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByIsNotNull
()
{
addCriterion
(
"update_by is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByEqualTo
(
Long
value
)
{
addCriterion
(
"update_by ="
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotEqualTo
(
Long
value
)
{
addCriterion
(
"update_by <>"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByGreaterThan
(
Long
value
)
{
addCriterion
(
"update_by >"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"update_by >="
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByLessThan
(
Long
value
)
{
addCriterion
(
"update_by <"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"update_by <="
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByIn
(
List
<
Long
>
values
)
{
addCriterion
(
"update_by in"
,
values
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"update_by not in"
,
values
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"update_by between"
,
value1
,
value2
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"update_by not between"
,
value1
,
value2
,
"updateBy"
);
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
;
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
);
}
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
;
}
}
}
src/main/java/com/glsx/smart/entity/SmartSysCodeExample.java
deleted
100644 → 0
View file @
dccb03f
package
com
.
glsx
.
smart
.
entity
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-15
*/
public
class
SmartSysCodeExample
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
SmartSysCodeExample
()
{
oredCriteria
=
new
ArrayList
<>();
}
public
String
getOrderByClause
()
{
return
orderByClause
;
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
public
boolean
isDistinct
()
{
return
distinct
;
}
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
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
<>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictTypeIsNull
()
{
addCriterion
(
"dict_type is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictTypeIsNotNull
()
{
addCriterion
(
"dict_type is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictTypeEqualTo
(
String
value
)
{
addCriterion
(
"dict_type ="
,
value
,
"dictType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictTypeNotEqualTo
(
String
value
)
{
addCriterion
(
"dict_type <>"
,
value
,
"dictType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictTypeGreaterThan
(
String
value
)
{
addCriterion
(
"dict_type >"
,
value
,
"dictType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictTypeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"dict_type >="
,
value
,
"dictType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictTypeLessThan
(
String
value
)
{
addCriterion
(
"dict_type <"
,
value
,
"dictType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictTypeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"dict_type <="
,
value
,
"dictType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictTypeLike
(
String
value
)
{
addCriterion
(
"dict_type like"
,
value
,
"dictType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictTypeNotLike
(
String
value
)
{
addCriterion
(
"dict_type not like"
,
value
,
"dictType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictTypeIn
(
List
<
String
>
values
)
{
addCriterion
(
"dict_type in"
,
values
,
"dictType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictTypeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"dict_type not in"
,
values
,
"dictType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictTypeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"dict_type between"
,
value1
,
value2
,
"dictType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictTypeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"dict_type not between"
,
value1
,
value2
,
"dictType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictKeyIsNull
()
{
addCriterion
(
"dict_key is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictKeyIsNotNull
()
{
addCriterion
(
"dict_key is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictKeyEqualTo
(
String
value
)
{
addCriterion
(
"dict_key ="
,
value
,
"dictKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictKeyNotEqualTo
(
String
value
)
{
addCriterion
(
"dict_key <>"
,
value
,
"dictKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictKeyGreaterThan
(
String
value
)
{
addCriterion
(
"dict_key >"
,
value
,
"dictKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictKeyGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"dict_key >="
,
value
,
"dictKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictKeyLessThan
(
String
value
)
{
addCriterion
(
"dict_key <"
,
value
,
"dictKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictKeyLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"dict_key <="
,
value
,
"dictKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictKeyLike
(
String
value
)
{
addCriterion
(
"dict_key like"
,
value
,
"dictKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictKeyNotLike
(
String
value
)
{
addCriterion
(
"dict_key not like"
,
value
,
"dictKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictKeyIn
(
List
<
String
>
values
)
{
addCriterion
(
"dict_key in"
,
values
,
"dictKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictKeyNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"dict_key not in"
,
values
,
"dictKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictKeyBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"dict_key between"
,
value1
,
value2
,
"dictKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictKeyNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"dict_key not between"
,
value1
,
value2
,
"dictKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictValueIsNull
()
{
addCriterion
(
"dict_value is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictValueIsNotNull
()
{
addCriterion
(
"dict_value is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictValueEqualTo
(
String
value
)
{
addCriterion
(
"dict_value ="
,
value
,
"dictValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictValueNotEqualTo
(
String
value
)
{
addCriterion
(
"dict_value <>"
,
value
,
"dictValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictValueGreaterThan
(
String
value
)
{
addCriterion
(
"dict_value >"
,
value
,
"dictValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictValueGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"dict_value >="
,
value
,
"dictValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictValueLessThan
(
String
value
)
{
addCriterion
(
"dict_value <"
,
value
,
"dictValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictValueLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"dict_value <="
,
value
,
"dictValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictValueLike
(
String
value
)
{
addCriterion
(
"dict_value like"
,
value
,
"dictValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictValueNotLike
(
String
value
)
{
addCriterion
(
"dict_value not like"
,
value
,
"dictValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictValueIn
(
List
<
String
>
values
)
{
addCriterion
(
"dict_value in"
,
values
,
"dictValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictValueNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"dict_value not in"
,
values
,
"dictValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictValueBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"dict_value between"
,
value1
,
value2
,
"dictValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDictValueNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"dict_value not between"
,
value1
,
value2
,
"dictValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParentKeyIsNull
()
{
addCriterion
(
"parent_key is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParentKeyIsNotNull
()
{
addCriterion
(
"parent_key is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParentKeyEqualTo
(
String
value
)
{
addCriterion
(
"parent_key ="
,
value
,
"parentKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParentKeyNotEqualTo
(
String
value
)
{
addCriterion
(
"parent_key <>"
,
value
,
"parentKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParentKeyGreaterThan
(
String
value
)
{
addCriterion
(
"parent_key >"
,
value
,
"parentKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParentKeyGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"parent_key >="
,
value
,
"parentKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParentKeyLessThan
(
String
value
)
{
addCriterion
(
"parent_key <"
,
value
,
"parentKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParentKeyLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"parent_key <="
,
value
,
"parentKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParentKeyLike
(
String
value
)
{
addCriterion
(
"parent_key like"
,
value
,
"parentKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParentKeyNotLike
(
String
value
)
{
addCriterion
(
"parent_key not like"
,
value
,
"parentKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParentKeyIn
(
List
<
String
>
values
)
{
addCriterion
(
"parent_key in"
,
values
,
"parentKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParentKeyNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"parent_key not in"
,
values
,
"parentKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParentKeyBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"parent_key between"
,
value1
,
value2
,
"parentKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParentKeyNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"parent_key not between"
,
value1
,
value2
,
"parentKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortIsNull
()
{
addCriterion
(
"sort is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortIsNotNull
()
{
addCriterion
(
"sort is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortEqualTo
(
Byte
value
)
{
addCriterion
(
"sort ="
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortNotEqualTo
(
Byte
value
)
{
addCriterion
(
"sort <>"
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortGreaterThan
(
Byte
value
)
{
addCriterion
(
"sort >"
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"sort >="
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortLessThan
(
Byte
value
)
{
addCriterion
(
"sort <"
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"sort <="
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"sort in"
,
values
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"sort not in"
,
values
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"sort between"
,
value1
,
value2
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"sort not between"
,
value1
,
value2
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNull
()
{
addCriterion
(
"`status` is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNotNull
()
{
addCriterion
(
"`status` is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` ="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` <>"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThan
(
Byte
value
)
{
addCriterion
(
"`status` >"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` >="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThan
(
Byte
value
)
{
addCriterion
(
"`status` <"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` <="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`status` in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`status` not in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`status` between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`status` not between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLevelIsNull
()
{
addCriterion
(
"`level` is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLevelIsNotNull
()
{
addCriterion
(
"`level` is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLevelEqualTo
(
Byte
value
)
{
addCriterion
(
"`level` ="
,
value
,
"level"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLevelNotEqualTo
(
Byte
value
)
{
addCriterion
(
"`level` <>"
,
value
,
"level"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLevelGreaterThan
(
Byte
value
)
{
addCriterion
(
"`level` >"
,
value
,
"level"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLevelGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`level` >="
,
value
,
"level"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLevelLessThan
(
Byte
value
)
{
addCriterion
(
"`level` <"
,
value
,
"level"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLevelLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`level` <="
,
value
,
"level"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLevelIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`level` in"
,
values
,
"level"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLevelNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`level` not in"
,
values
,
"level"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLevelBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`level` between"
,
value1
,
value2
,
"level"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLevelNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`level` not between"
,
value1
,
value2
,
"level"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNull
()
{
addCriterion
(
"remark is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNotNull
()
{
addCriterion
(
"remark is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkEqualTo
(
String
value
)
{
addCriterion
(
"remark ="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotEqualTo
(
String
value
)
{
addCriterion
(
"remark <>"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThan
(
String
value
)
{
addCriterion
(
"remark >"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remark >="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThan
(
String
value
)
{
addCriterion
(
"remark <"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remark <="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLike
(
String
value
)
{
addCriterion
(
"remark like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotLike
(
String
value
)
{
addCriterion
(
"remark not like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIn
(
List
<
String
>
values
)
{
addCriterion
(
"remark in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"remark not in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remark between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remark not between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"create_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNotNull
()
{
addCriterion
(
"create_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"create_time ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"create_time >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
Date
value
)
{
addCriterion
(
"create_time <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByIsNull
()
{
addCriterion
(
"create_by is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByIsNotNull
()
{
addCriterion
(
"create_by is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByEqualTo
(
Long
value
)
{
addCriterion
(
"create_by ="
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotEqualTo
(
Long
value
)
{
addCriterion
(
"create_by <>"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByGreaterThan
(
Long
value
)
{
addCriterion
(
"create_by >"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"create_by >="
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByLessThan
(
Long
value
)
{
addCriterion
(
"create_by <"
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"create_by <="
,
value
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByIn
(
List
<
Long
>
values
)
{
addCriterion
(
"create_by in"
,
values
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"create_by not in"
,
values
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"create_by between"
,
value1
,
value2
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateByNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"create_by not between"
,
value1
,
value2
,
"createBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNull
()
{
addCriterion
(
"update_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNotNull
()
{
addCriterion
(
"update_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"update_time ="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"update_time <>"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"update_time >"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"update_time >="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThan
(
Date
value
)
{
addCriterion
(
"update_time <"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"update_time <="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"update_time in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"update_time not in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"update_time between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"update_time not between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByIsNull
()
{
addCriterion
(
"update_by is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByIsNotNull
()
{
addCriterion
(
"update_by is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByEqualTo
(
Long
value
)
{
addCriterion
(
"update_by ="
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotEqualTo
(
Long
value
)
{
addCriterion
(
"update_by <>"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByGreaterThan
(
Long
value
)
{
addCriterion
(
"update_by >"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"update_by >="
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByLessThan
(
Long
value
)
{
addCriterion
(
"update_by <"
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"update_by <="
,
value
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByIn
(
List
<
Long
>
values
)
{
addCriterion
(
"update_by in"
,
values
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"update_by not in"
,
values
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"update_by between"
,
value1
,
value2
,
"updateBy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateByNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"update_by not between"
,
value1
,
value2
,
"updateBy"
);
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
;
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
);
}
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
;
}
}
}
src/main/java/com/glsx/smart/entity/SmartSysFileExample.java
deleted
100644 → 0
View file @
dccb03f
package
com
.
glsx
.
smart
.
entity
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-15
*/
public
class
SmartSysFileExample
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
SmartSysFileExample
()
{
oredCriteria
=
new
ArrayList
<>();
}
public
String
getOrderByClause
()
{
return
orderByClause
;
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
public
boolean
isDistinct
()
{
return
distinct
;
}
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
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
<>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNull
()
{
addCriterion
(
"`name` is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNotNull
()
{
addCriterion
(
"`name` is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameEqualTo
(
String
value
)
{
addCriterion
(
"`name` ="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotEqualTo
(
String
value
)
{
addCriterion
(
"`name` <>"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThan
(
String
value
)
{
addCriterion
(
"`name` >"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"`name` >="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThan
(
String
value
)
{
addCriterion
(
"`name` <"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"`name` <="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLike
(
String
value
)
{
addCriterion
(
"`name` like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotLike
(
String
value
)
{
addCriterion
(
"`name` not like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"`name` in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"`name` not in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"`name` between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"`name` not between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlIsNull
()
{
addCriterion
(
"url is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlIsNotNull
()
{
addCriterion
(
"url is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlEqualTo
(
String
value
)
{
addCriterion
(
"url ="
,
value
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlNotEqualTo
(
String
value
)
{
addCriterion
(
"url <>"
,
value
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlGreaterThan
(
String
value
)
{
addCriterion
(
"url >"
,
value
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"url >="
,
value
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlLessThan
(
String
value
)
{
addCriterion
(
"url <"
,
value
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"url <="
,
value
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlLike
(
String
value
)
{
addCriterion
(
"url like"
,
value
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlNotLike
(
String
value
)
{
addCriterion
(
"url not like"
,
value
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlIn
(
List
<
String
>
values
)
{
addCriterion
(
"url in"
,
values
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"url not in"
,
values
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"url between"
,
value1
,
value2
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"url not between"
,
value1
,
value2
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNull
()
{
addCriterion
(
"`type` is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNotNull
()
{
addCriterion
(
"`type` is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeEqualTo
(
Byte
value
)
{
addCriterion
(
"`type` ="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotEqualTo
(
Byte
value
)
{
addCriterion
(
"`type` <>"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThan
(
Byte
value
)
{
addCriterion
(
"`type` >"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`type` >="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThan
(
Byte
value
)
{
addCriterion
(
"`type` <"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`type` <="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`type` in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`type` not in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`type` between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`type` not between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"create_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNotNull
()
{
addCriterion
(
"create_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"create_time ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"create_time >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
Date
value
)
{
addCriterion
(
"create_time <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
}
public
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
;
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
);
}
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
;
}
}
}
src/main/java/com/glsx/smart/entity/SmartTemplateParamExample.java
deleted
100644 → 0
View file @
dccb03f
package
com
.
glsx
.
smart
.
entity
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-15
*/
public
class
SmartTemplateParamExample
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
SmartTemplateParamExample
()
{
oredCriteria
=
new
ArrayList
<>();
}
public
String
getOrderByClause
()
{
return
orderByClause
;
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
public
boolean
isDistinct
()
{
return
distinct
;
}
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
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
<>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdIsNull
()
{
addCriterion
(
"template_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdIsNotNull
()
{
addCriterion
(
"template_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdEqualTo
(
Long
value
)
{
addCriterion
(
"template_id ="
,
value
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"template_id <>"
,
value
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdGreaterThan
(
Long
value
)
{
addCriterion
(
"template_id >"
,
value
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"template_id >="
,
value
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdLessThan
(
Long
value
)
{
addCriterion
(
"template_id <"
,
value
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"template_id <="
,
value
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"template_id in"
,
values
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"template_id not in"
,
values
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"template_id between"
,
value1
,
value2
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTemplateIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"template_id not between"
,
value1
,
value2
,
"templateId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNull
()
{
addCriterion
(
"`type` is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNotNull
()
{
addCriterion
(
"`type` is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeEqualTo
(
Byte
value
)
{
addCriterion
(
"`type` ="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotEqualTo
(
Byte
value
)
{
addCriterion
(
"`type` <>"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThan
(
Byte
value
)
{
addCriterion
(
"`type` >"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`type` >="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThan
(
Byte
value
)
{
addCriterion
(
"`type` <"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`type` <="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`type` in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`type` not in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`type` between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`type` not between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortIsNull
()
{
addCriterion
(
"sort is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortIsNotNull
()
{
addCriterion
(
"sort is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortEqualTo
(
Byte
value
)
{
addCriterion
(
"sort ="
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortNotEqualTo
(
Byte
value
)
{
addCriterion
(
"sort <>"
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortGreaterThan
(
Byte
value
)
{
addCriterion
(
"sort >"
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"sort >="
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortLessThan
(
Byte
value
)
{
addCriterion
(
"sort <"
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"sort <="
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"sort in"
,
values
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"sort not in"
,
values
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"sort between"
,
value1
,
value2
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"sort not between"
,
value1
,
value2
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyIsNull
()
{
addCriterion
(
"param_key is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyIsNotNull
()
{
addCriterion
(
"param_key is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyEqualTo
(
String
value
)
{
addCriterion
(
"param_key ="
,
value
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyNotEqualTo
(
String
value
)
{
addCriterion
(
"param_key <>"
,
value
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyGreaterThan
(
String
value
)
{
addCriterion
(
"param_key >"
,
value
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"param_key >="
,
value
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyLessThan
(
String
value
)
{
addCriterion
(
"param_key <"
,
value
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"param_key <="
,
value
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyLike
(
String
value
)
{
addCriterion
(
"param_key like"
,
value
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyNotLike
(
String
value
)
{
addCriterion
(
"param_key not like"
,
value
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyIn
(
List
<
String
>
values
)
{
addCriterion
(
"param_key in"
,
values
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"param_key not in"
,
values
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"param_key between"
,
value1
,
value2
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamKeyNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"param_key not between"
,
value1
,
value2
,
"paramKey"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueIsNull
()
{
addCriterion
(
"param_value is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueIsNotNull
()
{
addCriterion
(
"param_value is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueEqualTo
(
String
value
)
{
addCriterion
(
"param_value ="
,
value
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueNotEqualTo
(
String
value
)
{
addCriterion
(
"param_value <>"
,
value
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueGreaterThan
(
String
value
)
{
addCriterion
(
"param_value >"
,
value
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"param_value >="
,
value
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueLessThan
(
String
value
)
{
addCriterion
(
"param_value <"
,
value
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"param_value <="
,
value
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueLike
(
String
value
)
{
addCriterion
(
"param_value like"
,
value
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueNotLike
(
String
value
)
{
addCriterion
(
"param_value not like"
,
value
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueIn
(
List
<
String
>
values
)
{
addCriterion
(
"param_value in"
,
values
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"param_value not in"
,
values
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"param_value between"
,
value1
,
value2
,
"paramValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParamValueNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"param_value not between"
,
value1
,
value2
,
"paramValue"
);
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
;
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
);
}
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
;
}
}
}
src/main/java/com/glsx/smart/entity/SmartUserRelationExample.java
deleted
100644 → 0
View file @
dccb03f
package
com
.
glsx
.
smart
.
entity
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-15
*/
public
class
SmartUserRelationExample
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
SmartUserRelationExample
()
{
oredCriteria
=
new
ArrayList
<>();
}
public
String
getOrderByClause
()
{
return
orderByClause
;
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
public
boolean
isDistinct
()
{
return
distinct
;
}
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
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
<>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNull
()
{
addCriterion
(
"`name` is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNotNull
()
{
addCriterion
(
"`name` is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameEqualTo
(
String
value
)
{
addCriterion
(
"`name` ="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotEqualTo
(
String
value
)
{
addCriterion
(
"`name` <>"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThan
(
String
value
)
{
addCriterion
(
"`name` >"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"`name` >="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThan
(
String
value
)
{
addCriterion
(
"`name` <"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"`name` <="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLike
(
String
value
)
{
addCriterion
(
"`name` like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotLike
(
String
value
)
{
addCriterion
(
"`name` not like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"`name` in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"`name` not in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"`name` between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"`name` not between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneIsNull
()
{
addCriterion
(
"phone is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneIsNotNull
()
{
addCriterion
(
"phone is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneEqualTo
(
String
value
)
{
addCriterion
(
"phone ="
,
value
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneNotEqualTo
(
String
value
)
{
addCriterion
(
"phone <>"
,
value
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneGreaterThan
(
String
value
)
{
addCriterion
(
"phone >"
,
value
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"phone >="
,
value
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneLessThan
(
String
value
)
{
addCriterion
(
"phone <"
,
value
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"phone <="
,
value
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneLike
(
String
value
)
{
addCriterion
(
"phone like"
,
value
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneNotLike
(
String
value
)
{
addCriterion
(
"phone not like"
,
value
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneIn
(
List
<
String
>
values
)
{
addCriterion
(
"phone in"
,
values
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"phone not in"
,
values
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"phone between"
,
value1
,
value2
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"phone not between"
,
value1
,
value2
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordIsNull
()
{
addCriterion
(
"`password` is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordIsNotNull
()
{
addCriterion
(
"`password` is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordEqualTo
(
String
value
)
{
addCriterion
(
"`password` ="
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordNotEqualTo
(
String
value
)
{
addCriterion
(
"`password` <>"
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordGreaterThan
(
String
value
)
{
addCriterion
(
"`password` >"
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"`password` >="
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordLessThan
(
String
value
)
{
addCriterion
(
"`password` <"
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"`password` <="
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordLike
(
String
value
)
{
addCriterion
(
"`password` like"
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordNotLike
(
String
value
)
{
addCriterion
(
"`password` not like"
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordIn
(
List
<
String
>
values
)
{
addCriterion
(
"`password` in"
,
values
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"`password` not in"
,
values
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"`password` between"
,
value1
,
value2
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"`password` not between"
,
value1
,
value2
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelIsNull
()
{
addCriterion
(
"channel is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelIsNotNull
()
{
addCriterion
(
"channel is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelEqualTo
(
Byte
value
)
{
addCriterion
(
"channel ="
,
value
,
"channel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelNotEqualTo
(
Byte
value
)
{
addCriterion
(
"channel <>"
,
value
,
"channel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelGreaterThan
(
Byte
value
)
{
addCriterion
(
"channel >"
,
value
,
"channel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"channel >="
,
value
,
"channel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelLessThan
(
Byte
value
)
{
addCriterion
(
"channel <"
,
value
,
"channel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"channel <="
,
value
,
"channel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"channel in"
,
values
,
"channel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"channel not in"
,
values
,
"channel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"channel between"
,
value1
,
value2
,
"channel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"channel not between"
,
value1
,
value2
,
"channel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdIdIsNull
()
{
addCriterion
(
"third_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdIdIsNotNull
()
{
addCriterion
(
"third_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdIdEqualTo
(
String
value
)
{
addCriterion
(
"third_id ="
,
value
,
"thirdId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdIdNotEqualTo
(
String
value
)
{
addCriterion
(
"third_id <>"
,
value
,
"thirdId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdIdGreaterThan
(
String
value
)
{
addCriterion
(
"third_id >"
,
value
,
"thirdId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"third_id >="
,
value
,
"thirdId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdIdLessThan
(
String
value
)
{
addCriterion
(
"third_id <"
,
value
,
"thirdId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"third_id <="
,
value
,
"thirdId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdIdLike
(
String
value
)
{
addCriterion
(
"third_id like"
,
value
,
"thirdId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdIdNotLike
(
String
value
)
{
addCriterion
(
"third_id not like"
,
value
,
"thirdId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"third_id in"
,
values
,
"thirdId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"third_id not in"
,
values
,
"thirdId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"third_id between"
,
value1
,
value2
,
"thirdId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andThirdIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"third_id not between"
,
value1
,
value2
,
"thirdId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNull
()
{
addCriterion
(
"`status` is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNotNull
()
{
addCriterion
(
"`status` is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` ="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` <>"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThan
(
Byte
value
)
{
addCriterion
(
"`status` >"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` >="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThan
(
Byte
value
)
{
addCriterion
(
"`status` <"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`status` <="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`status` in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`status` not in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`status` between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`status` not between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNull
()
{
addCriterion
(
"remark is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNotNull
()
{
addCriterion
(
"remark is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkEqualTo
(
String
value
)
{
addCriterion
(
"remark ="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotEqualTo
(
String
value
)
{
addCriterion
(
"remark <>"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThan
(
String
value
)
{
addCriterion
(
"remark >"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remark >="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThan
(
String
value
)
{
addCriterion
(
"remark <"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remark <="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLike
(
String
value
)
{
addCriterion
(
"remark like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotLike
(
String
value
)
{
addCriterion
(
"remark not like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIn
(
List
<
String
>
values
)
{
addCriterion
(
"remark in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"remark not in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remark between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remark not between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"create_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNotNull
()
{
addCriterion
(
"create_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"create_time ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"create_time >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
Date
value
)
{
addCriterion
(
"create_time <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create_time <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create_time not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create_time not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
}
public
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
;
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
);
}
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
;
}
}
}
src/main/java/com/glsx/smart/mapper/SmartDevideStatusMapper.java
View file @
e5c0959
...
@@ -14,35 +14,12 @@ import org.apache.ibatis.annotations.Param;
...
@@ -14,35 +14,12 @@ import org.apache.ibatis.annotations.Param;
*/
*/
@Mapper
@Mapper
public
interface
SmartDevideStatusMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartDevideStatus
>
{
public
interface
SmartDevideStatusMapper
//long countByExample(SmartDevideStatusExample example);
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartDevideStatus
>
{
//
//int deleteByExample(SmartDevideStatusExample example);
//
//int deleteByPrimaryKey(Integer id);
//
//int insert(SmartDevideStatus record);
int
insertOrUpdate
(
SmartDevideStatus
record
);
int
insertOrUpdate
(
SmartDevideStatus
record
);
int
insertOrUpdateSelective
(
SmartDevideStatus
record
);
int
insertOrUpdateSelective
(
SmartDevideStatus
record
);
//int insertSelective(SmartDevideStatus record);
//
//List<SmartDevideStatus> selectByExample(SmartDevideStatusExample example);
//
//SmartDevideStatus selectByPrimaryKey(Integer id);
//
//int updateByExampleSelective(@Param("record") SmartDevideStatus record,
// @Param("example") SmartDevideStatusExample example);
//
//int updateByExample(@Param("record") SmartDevideStatus record,
// @Param("example") SmartDevideStatusExample example);
//
//int updateByPrimaryKeySelective(SmartDevideStatus record);
//
//int updateByPrimaryKey(SmartDevideStatus record);
int
updateBatch
(
List
<
SmartDevideStatus
>
list
);
int
updateBatch
(
List
<
SmartDevideStatus
>
list
);
int
updateBatchSelective
(
List
<
SmartDevideStatus
>
list
);
int
updateBatchSelective
(
List
<
SmartDevideStatus
>
list
);
...
...
src/main/java/com/glsx/smart/mapper/SmartProductMapper.java
View file @
e5c0959
...
@@ -15,38 +15,10 @@ import org.apache.ibatis.annotations.Param;
...
@@ -15,38 +15,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper
@Mapper
public
interface
SmartProductMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartProduct
>
{
public
interface
SmartProductMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartProduct
>
{
//long countByExample(SmartProductExample example);
//
//int deleteByExample(SmartProductExample example);
//
//int deleteByPrimaryKey(Long id);
//
//@Override
//int insert(SmartProduct record);
int
insertOrUpdate
(
SmartProduct
record
);
int
insertOrUpdate
(
SmartProduct
record
);
int
insertOrUpdateSelective
(
SmartProduct
record
);
int
insertOrUpdateSelective
(
SmartProduct
record
);
//@Override
//int insertSelective(SmartProduct record);
//
//List<SmartProduct> selectByExample(SmartProductExample example);
//
//SmartProduct selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartProduct record,
// @Param("example") SmartProductExample example);
//
//int updateByExample(@Param("record") SmartProduct record,
// @Param("example") SmartProductExample example);
//
//@Override
//int updateByPrimaryKeySelective(SmartProduct record);
//
//@Override
//int updateByPrimaryKey(SmartProduct record);
int
updateBatch
(
List
<
SmartProduct
>
list
);
int
updateBatch
(
List
<
SmartProduct
>
list
);
int
updateBatchSelective
(
List
<
SmartProduct
>
list
);
int
updateBatchSelective
(
List
<
SmartProduct
>
list
);
...
...
src/main/java/com/glsx/smart/mapper/SmartProductTypeMapper.java
View file @
e5c0959
...
@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param;
...
@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper
@Mapper
public
interface
SmartProductTypeMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartProductType
>
{
public
interface
SmartProductTypeMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartProductType
>
{
//long countByExample(SmartProductTypeExample example);
//
//int deleteByExample(SmartProductTypeExample example);
//
//int deleteByPrimaryKey(Long id);
//
//int insert(SmartProductType record);
int
insertOrUpdate
(
SmartProductType
record
);
int
insertOrUpdate
(
SmartProductType
record
);
int
insertOrUpdateSelective
(
SmartProductType
record
);
int
insertOrUpdateSelective
(
SmartProductType
record
);
//int insertSelective(SmartProductType record);
//
//List<SmartProductType> selectByExample(SmartProductTypeExample example);
//
//SmartProductType selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartProductType record,
// @Param("example") SmartProductTypeExample example);
//
//int updateByExample(@Param("record") SmartProductType record,
// @Param("example") SmartProductTypeExample example);
//
//int updateByPrimaryKeySelective(SmartProductType record);
//
//int updateByPrimaryKey(SmartProductType record);
int
updateBatch
(
List
<
SmartProductType
>
list
);
int
updateBatch
(
List
<
SmartProductType
>
list
);
int
updateBatchSelective
(
List
<
SmartProductType
>
list
);
int
updateBatchSelective
(
List
<
SmartProductType
>
list
);
...
...
src/main/java/com/glsx/smart/mapper/SmartProductTypeParamMapper.java
View file @
e5c0959
...
@@ -16,34 +16,10 @@ import org.apache.ibatis.annotations.Param;
...
@@ -16,34 +16,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper
@Mapper
public
interface
SmartProductTypeParamMapper
public
interface
SmartProductTypeParamMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartProductTypeParam
>
{
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartProductTypeParam
>
{
//long countByExample(SmartProductTypeParamExample example);
//
//int deleteByExample(SmartProductTypeParamExample example);
//
//int deleteByPrimaryKey(Long id);
//
//int insert(SmartProductTypeParam record);
int
insertOrUpdate
(
SmartProductTypeParam
record
);
int
insertOrUpdate
(
SmartProductTypeParam
record
);
int
insertOrUpdateSelective
(
SmartProductTypeParam
record
);
int
insertOrUpdateSelective
(
SmartProductTypeParam
record
);
//int insertSelective(SmartProductTypeParam record);
//
//List<SmartProductTypeParam> selectByExample(SmartProductTypeParamExample example);
//
//SmartProductTypeParam selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartProductTypeParam record,
// @Param("example") SmartProductTypeParamExample example);
//
//int updateByExample(@Param("record") SmartProductTypeParam record,
// @Param("example") SmartProductTypeParamExample example);
//
//int updateByPrimaryKeySelective(SmartProductTypeParam record);
//
//int updateByPrimaryKey(SmartProductTypeParam record);
int
updateBatch
(
List
<
SmartProductTypeParam
>
list
);
int
updateBatch
(
List
<
SmartProductTypeParam
>
list
);
int
updateBatchSelective
(
List
<
SmartProductTypeParam
>
list
);
int
updateBatchSelective
(
List
<
SmartProductTypeParam
>
list
);
...
...
src/main/java/com/glsx/smart/mapper/SmartScenseDataMapper.java
View file @
e5c0959
...
@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param;
...
@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper
@Mapper
public
interface
SmartScenseDataMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartScenseData
>
{
public
interface
SmartScenseDataMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartScenseData
>
{
//long countByExample(SmartScenseDataExample example);
//
//int deleteByExample(SmartScenseDataExample example);
//
//int deleteByPrimaryKey(Long id);
//
//int insert(SmartScenseData record);
int
insertOrUpdate
(
SmartScenseData
record
);
int
insertOrUpdate
(
SmartScenseData
record
);
int
insertOrUpdateSelective
(
SmartScenseData
record
);
int
insertOrUpdateSelective
(
SmartScenseData
record
);
//int insertSelective(SmartScenseData record);
//
//List<SmartScenseData> selectByExample(SmartScenseDataExample example);
//
//SmartScenseData selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartScenseData record,
// @Param("example") SmartScenseDataExample example);
//
//int updateByExample(@Param("record") SmartScenseData record,
// @Param("example") SmartScenseDataExample example);
//
//int updateByPrimaryKeySelective(SmartScenseData record);
//
//int updateByPrimaryKey(SmartScenseData record);
int
updateBatch
(
List
<
SmartScenseData
>
list
);
int
updateBatch
(
List
<
SmartScenseData
>
list
);
int
updateBatchSelective
(
List
<
SmartScenseData
>
list
);
int
updateBatchSelective
(
List
<
SmartScenseData
>
list
);
...
...
src/main/java/com/glsx/smart/mapper/SmartScenseMapper.java
View file @
e5c0959
...
@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param;
...
@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper
@Mapper
public
interface
SmartScenseMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartScense
>
{
public
interface
SmartScenseMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartScense
>
{
//long countByExample(SmartScenseExample example);
//
//int deleteByExample(SmartScenseExample example);
//
//int deleteByPrimaryKey(Long id);
//
//int insert(SmartScense record);
int
insertOrUpdate
(
SmartScense
record
);
int
insertOrUpdate
(
SmartScense
record
);
int
insertOrUpdateSelective
(
SmartScense
record
);
int
insertOrUpdateSelective
(
SmartScense
record
);
//int insertSelective(SmartScense record);
//
//List<SmartScense> selectByExample(SmartScenseExample example);
//
//SmartScense selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartScense record,
// @Param("example") SmartScenseExample example);
//
//int updateByExample(@Param("record") SmartScense record,
// @Param("example") SmartScenseExample example);
//
//int updateByPrimaryKeySelective(SmartScense record);
//
//int updateByPrimaryKey(SmartScense record);
int
updateBatch
(
List
<
SmartScense
>
list
);
int
updateBatch
(
List
<
SmartScense
>
list
);
int
updateBatchSelective
(
List
<
SmartScense
>
list
);
int
updateBatchSelective
(
List
<
SmartScense
>
list
);
...
...
src/main/java/com/glsx/smart/mapper/SmartScenseTemplateMapper.java
View file @
e5c0959
...
@@ -16,34 +16,10 @@ import org.apache.ibatis.annotations.Param;
...
@@ -16,34 +16,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper
@Mapper
public
interface
SmartScenseTemplateMapper
public
interface
SmartScenseTemplateMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartScenseTemplate
>
{
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartScenseTemplate
>
{
//long countByExample(SmartScenseTemplateExample example);
//
//int deleteByExample(SmartScenseTemplateExample example);
//
//int deleteByPrimaryKey(Long id);
//
//int insert(SmartScenseTemplate record);
int
insertOrUpdate
(
SmartScenseTemplate
record
);
int
insertOrUpdate
(
SmartScenseTemplate
record
);
int
insertOrUpdateSelective
(
SmartScenseTemplate
record
);
int
insertOrUpdateSelective
(
SmartScenseTemplate
record
);
//int insertSelective(SmartScenseTemplate record);
//
//List<SmartScenseTemplate> selectByExample(SmartScenseTemplateExample example);
//
//SmartScenseTemplate selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartScenseTemplate record,
// @Param("example") SmartScenseTemplateExample example);
//
//int updateByExample(@Param("record") SmartScenseTemplate record,
// @Param("example") SmartScenseTemplateExample example);
//
//int updateByPrimaryKeySelective(SmartScenseTemplate record);
//
//int updateByPrimaryKey(SmartScenseTemplate record);
int
updateBatch
(
List
<
SmartScenseTemplate
>
list
);
int
updateBatch
(
List
<
SmartScenseTemplate
>
list
);
int
updateBatchSelective
(
List
<
SmartScenseTemplate
>
list
);
int
updateBatchSelective
(
List
<
SmartScenseTemplate
>
list
);
...
...
src/main/java/com/glsx/smart/mapper/SmartSysCodeMapper.java
View file @
e5c0959
...
@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param;
...
@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper
@Mapper
public
interface
SmartSysCodeMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartSysCode
>
{
public
interface
SmartSysCodeMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartSysCode
>
{
//long countByExample(SmartSysCodeExample example);
//
//int deleteByExample(SmartSysCodeExample example);
//
//int deleteByPrimaryKey(Long id);
//
//int insert(SmartSysCode record);
int
insertOrUpdate
(
SmartSysCode
record
);
int
insertOrUpdate
(
SmartSysCode
record
);
int
insertOrUpdateSelective
(
SmartSysCode
record
);
int
insertOrUpdateSelective
(
SmartSysCode
record
);
//int insertSelective(SmartSysCode record);
//
//List<SmartSysCode> selectByExample(SmartSysCodeExample example);
//
//SmartSysCode selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartSysCode record,
// @Param("example") SmartSysCodeExample example);
//
//int updateByExample(@Param("record") SmartSysCode record,
// @Param("example") SmartSysCodeExample example);
//
//int updateByPrimaryKeySelective(SmartSysCode record);
//
//int updateByPrimaryKey(SmartSysCode record);
int
updateBatch
(
List
<
SmartSysCode
>
list
);
int
updateBatch
(
List
<
SmartSysCode
>
list
);
int
updateBatchSelective
(
List
<
SmartSysCode
>
list
);
int
updateBatchSelective
(
List
<
SmartSysCode
>
list
);
...
...
src/main/java/com/glsx/smart/mapper/SmartSysFileMapper.java
View file @
e5c0959
...
@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param;
...
@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper
@Mapper
public
interface
SmartSysFileMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartSysFile
>
{
public
interface
SmartSysFileMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartSysFile
>
{
//long countByExample(SmartSysFileExample example);
//
//int deleteByExample(SmartSysFileExample example);
//
//int deleteByPrimaryKey(Long id);
//
//int insert(SmartSysFile record);
int
insertOrUpdate
(
SmartSysFile
record
);
int
insertOrUpdate
(
SmartSysFile
record
);
int
insertOrUpdateSelective
(
SmartSysFile
record
);
int
insertOrUpdateSelective
(
SmartSysFile
record
);
//int insertSelective(SmartSysFile record);
//
//List<SmartSysFile> selectByExample(SmartSysFileExample example);
//
//SmartSysFile selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartSysFile record,
// @Param("example") SmartSysFileExample example);
//
//int updateByExample(@Param("record") SmartSysFile record,
// @Param("example") SmartSysFileExample example);
//
//int updateByPrimaryKeySelective(SmartSysFile record);
//
//int updateByPrimaryKey(SmartSysFile record);
int
updateBatch
(
List
<
SmartSysFile
>
list
);
int
updateBatch
(
List
<
SmartSysFile
>
list
);
int
updateBatchSelective
(
List
<
SmartSysFile
>
list
);
int
updateBatchSelective
(
List
<
SmartSysFile
>
list
);
...
...
src/main/java/com/glsx/smart/mapper/SmartTemplateParamMapper.java
View file @
e5c0959
...
@@ -16,34 +16,10 @@ import org.apache.ibatis.annotations.Param;
...
@@ -16,34 +16,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper
@Mapper
public
interface
SmartTemplateParamMapper
public
interface
SmartTemplateParamMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartTemplateParam
>
{
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartTemplateParam
>
{
//long countByExample(SmartTemplateParamExample example);
//
//int deleteByExample(SmartTemplateParamExample example);
//
//int deleteByPrimaryKey(Long id);
//
//int insert(SmartTemplateParam record);
int
insertOrUpdate
(
SmartTemplateParam
record
);
int
insertOrUpdate
(
SmartTemplateParam
record
);
int
insertOrUpdateSelective
(
SmartTemplateParam
record
);
int
insertOrUpdateSelective
(
SmartTemplateParam
record
);
//int insertSelective(SmartTemplateParam record);
//
//List<SmartTemplateParam> selectByExample(SmartTemplateParamExample example);
//
//SmartTemplateParam selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartTemplateParam record,
// @Param("example") SmartTemplateParamExample example);
//
//int updateByExample(@Param("record") SmartTemplateParam record,
// @Param("example") SmartTemplateParamExample example);
//
//int updateByPrimaryKeySelective(SmartTemplateParam record);
//
//int updateByPrimaryKey(SmartTemplateParam record);
int
updateBatch
(
List
<
SmartTemplateParam
>
list
);
int
updateBatch
(
List
<
SmartTemplateParam
>
list
);
int
updateBatchSelective
(
List
<
SmartTemplateParam
>
list
);
int
updateBatchSelective
(
List
<
SmartTemplateParam
>
list
);
...
...
src/main/java/com/glsx/smart/mapper/SmartUserRelationMapper.java
View file @
e5c0959
...
@@ -16,34 +16,10 @@ import org.apache.ibatis.annotations.Param;
...
@@ -16,34 +16,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper
@Mapper
public
interface
SmartUserRelationMapper
public
interface
SmartUserRelationMapper
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartUserRelation
>
{
extends
tk
.
mybatis
.
mapper
.
common
.
Mapper
<
SmartUserRelation
>
{
//long countByExample(SmartUserRelationExample example);
//
//int deleteByExample(SmartUserRelationExample example);
//
//int deleteByPrimaryKey(Long id);
//
//int insert(SmartUserRelation record);
int
insertOrUpdate
(
SmartUserRelation
record
);
int
insertOrUpdate
(
SmartUserRelation
record
);
int
insertOrUpdateSelective
(
SmartUserRelation
record
);
int
insertOrUpdateSelective
(
SmartUserRelation
record
);
//int insertSelective(SmartUserRelation record);
//
//List<SmartUserRelation> selectByExample(SmartUserRelationExample example);
//
//SmartUserRelation selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartUserRelation record,
// @Param("example") SmartUserRelationExample example);
//
//int updateByExample(@Param("record") SmartUserRelation record,
// @Param("example") SmartUserRelationExample example);
//
//int updateByPrimaryKeySelective(SmartUserRelation record);
//
//int updateByPrimaryKey(SmartUserRelation record);
int
updateBatch
(
List
<
SmartUserRelation
>
list
);
int
updateBatch
(
List
<
SmartUserRelation
>
list
);
int
updateBatchSelective
(
List
<
SmartUserRelation
>
list
);
int
updateBatchSelective
(
List
<
SmartUserRelation
>
list
);
...
...
src/main/java/com/glsx/smart/service/DemoService.java
View file @
e5c0959
...
@@ -3,14 +3,14 @@ package com.glsx.smart.service;
...
@@ -3,14 +3,14 @@ package com.glsx.smart.service;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
/**
/**
* @author deployer name
* @version V1.0
* @Title: DemoService.java
* @Title: DemoService.java
* @Description:
* @Description:
* @author deployer name
* @version V1.0
* @Company: Didihu.com.cn
* @Company: Didihu.com.cn
* @Copyright Copyright (c) 2017
* @Copyright Copyright (c) 2017
*/
*/
@Service
@Service
public
class
DemoService
{
public
class
DemoService
{
}
}
src/main/java/com/glsx/smart/service/SmartDevideStatusService.java
View file @
e5c0959
...
@@ -2,8 +2,8 @@ package com.glsx.smart.service;
...
@@ -2,8 +2,8 @@ package com.glsx.smart.service;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartDevideStatus
;
import
com.glsx.smart.entity.SmartDevideStatus
;
import
com.glsx.smart.entity.SmartDevideStatusExample
;
/**
/**
* <p>Description:
* <p>Description:
* <p>Project: chejia-smart
* <p>Project: chejia-smart
*
*
...
@@ -11,9 +11,8 @@ import com.glsx.smart.entity.SmartDevideStatusExample;
...
@@ -11,9 +11,8 @@ import com.glsx.smart.entity.SmartDevideStatusExample;
* @date 2021-03-15
* @date 2021-03-15
*/
*/
public
interface
SmartDevideStatusService
{
public
interface
SmartDevideStatusService
{
int
deleteByExample
(
SmartDevideStatus
example
);
int
deleteByExample
(
SmartDevideStatusExample
example
);
int
deleteByPrimaryKey
(
Integer
id
);
int
deleteByPrimaryKey
(
Integer
id
);
...
@@ -25,13 +24,13 @@ public interface SmartDevideStatusService{
...
@@ -25,13 +24,13 @@ public interface SmartDevideStatusService{
int
insertSelective
(
SmartDevideStatus
record
);
int
insertSelective
(
SmartDevideStatus
record
);
List
<
SmartDevideStatus
>
selectByExample
(
SmartDevideStatus
Example
example
);
List
<
SmartDevideStatus
>
selectByExample
(
SmartDevideStatus
example
);
SmartDevideStatus
selectByPrimaryKey
(
Integer
id
);
SmartDevideStatus
selectByPrimaryKey
(
Integer
id
);
int
updateByExampleSelective
(
SmartDevideStatus
record
,
SmartDevideStatusExample
example
);
int
updateByExampleSelective
(
SmartDevideStatus
record
,
SmartDevideStatus
example
);
int
updateByExample
(
SmartDevideStatus
record
,
SmartDevideStatusExample
example
);
int
updateByExample
(
SmartDevideStatus
record
,
SmartDevideStatus
example
);
int
updateByPrimaryKeySelective
(
SmartDevideStatus
record
);
int
updateByPrimaryKeySelective
(
SmartDevideStatus
record
);
...
...
src/main/java/com/glsx/smart/service/SmartProductService.java
View file @
e5c0959
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartProduct
;
import
com.glsx.smart.entity.SmartProduct
;
import
com.glsx.smart.entity.SmartProductExample
;
/**
/**
* <p>Description:
* <p>Description:
...
@@ -28,9 +27,9 @@ public interface SmartProductService {
...
@@ -28,9 +27,9 @@ public interface SmartProductService {
void
putOff
(
Long
id
);
void
putOff
(
Long
id
);
long
countByExample
(
SmartProduct
Example
example
);
long
countByExample
(
SmartProduct
example
);
int
deleteByExample
(
SmartProduct
Example
example
);
int
deleteByExample
(
SmartProduct
example
);
int
deleteByPrimaryKey
(
Long
id
);
int
deleteByPrimaryKey
(
Long
id
);
...
@@ -42,13 +41,13 @@ public interface SmartProductService {
...
@@ -42,13 +41,13 @@ public interface SmartProductService {
int
insertSelective
(
SmartProduct
record
);
int
insertSelective
(
SmartProduct
record
);
List
<
SmartProduct
>
selectByExample
(
SmartProduct
Example
example
);
List
<
SmartProduct
>
selectByExample
(
SmartProduct
example
);
SmartProduct
selectByPrimaryKey
(
Long
id
);
SmartProduct
selectByPrimaryKey
(
Long
id
);
int
updateByExampleSelective
(
SmartProduct
record
,
SmartProduct
Example
example
);
int
updateByExampleSelective
(
SmartProduct
record
,
SmartProduct
example
);
int
updateByExample
(
SmartProduct
record
,
SmartProduct
Example
example
);
int
updateByExample
(
SmartProduct
record
,
SmartProduct
example
);
int
updateByPrimaryKeySelective
(
SmartProduct
record
);
int
updateByPrimaryKeySelective
(
SmartProduct
record
);
...
...
src/main/java/com/glsx/smart/service/SmartProductTypeParamService.java
View file @
e5c0959
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartProductTypeParam
;
import
com.glsx.smart.entity.SmartProductTypeParam
;
import
com.glsx.smart.entity.SmartProductTypeParamExample
;
/**
/**
* <p>Description:
* <p>Description:
...
@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartProductTypeParamExample;
...
@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartProductTypeParamExample;
*/
*/
public
interface
SmartProductTypeParamService
{
public
interface
SmartProductTypeParamService
{
int
deleteByExample
(
SmartProductTypeParam
Example
example
);
int
deleteByExample
(
SmartProductTypeParam
example
);
int
deleteByPrimaryKey
(
Long
id
);
int
deleteByPrimaryKey
(
Long
id
);
...
@@ -25,14 +24,14 @@ public interface SmartProductTypeParamService {
...
@@ -25,14 +24,14 @@ public interface SmartProductTypeParamService {
int
insertSelective
(
SmartProductTypeParam
record
);
int
insertSelective
(
SmartProductTypeParam
record
);
List
<
SmartProductTypeParam
>
selectByExample
(
SmartProductTypeParam
Example
example
);
List
<
SmartProductTypeParam
>
selectByExample
(
SmartProductTypeParam
example
);
SmartProductTypeParam
selectByPrimaryKey
(
Long
id
);
SmartProductTypeParam
selectByPrimaryKey
(
Long
id
);
int
updateByExampleSelective
(
SmartProductTypeParam
record
,
int
updateByExampleSelective
(
SmartProductTypeParam
record
,
SmartProductTypeParam
Example
example
);
SmartProductTypeParam
example
);
int
updateByExample
(
SmartProductTypeParam
record
,
SmartProductTypeParam
Example
example
);
int
updateByExample
(
SmartProductTypeParam
record
,
SmartProductTypeParam
example
);
int
updateByPrimaryKeySelective
(
SmartProductTypeParam
record
);
int
updateByPrimaryKeySelective
(
SmartProductTypeParam
record
);
...
...
src/main/java/com/glsx/smart/service/SmartProductTypeService.java
View file @
e5c0959
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartProductType
;
import
com.glsx.smart.entity.SmartProductType
;
import
com.glsx.smart.entity.SmartProductTypeExample
;
/**
/**
* <p>Description:
* <p>Description:
...
@@ -22,7 +21,7 @@ public interface SmartProductTypeService {
...
@@ -22,7 +21,7 @@ public interface SmartProductTypeService {
List
<
String
>
getShopTagList
();
List
<
String
>
getShopTagList
();
int
deleteByExample
(
SmartProductType
Example
example
);
int
deleteByExample
(
SmartProductType
example
);
int
deleteByPrimaryKey
(
Long
id
);
int
deleteByPrimaryKey
(
Long
id
);
...
@@ -34,13 +33,13 @@ public interface SmartProductTypeService {
...
@@ -34,13 +33,13 @@ public interface SmartProductTypeService {
int
insertSelective
(
SmartProductType
record
);
int
insertSelective
(
SmartProductType
record
);
List
<
SmartProductType
>
selectByExample
(
SmartProductType
Example
example
);
List
<
SmartProductType
>
selectByExample
(
SmartProductType
example
);
SmartProductType
selectByPrimaryKey
(
Long
id
);
SmartProductType
selectByPrimaryKey
(
Long
id
);
int
updateByExampleSelective
(
SmartProductType
record
,
SmartProductType
Example
example
);
int
updateByExampleSelective
(
SmartProductType
record
,
SmartProductType
example
);
int
updateByExample
(
SmartProductType
record
,
SmartProductType
Example
example
);
int
updateByExample
(
SmartProductType
record
,
SmartProductType
example
);
int
updateByPrimaryKeySelective
(
SmartProductType
record
);
int
updateByPrimaryKeySelective
(
SmartProductType
record
);
...
...
src/main/java/com/glsx/smart/service/SmartScenseDataService.java
View file @
e5c0959
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartScenseData
;
import
com.glsx.smart.entity.SmartScenseData
;
import
com.glsx.smart.entity.SmartScenseDataExample
;
/**
/**
* <p>Description:
* <p>Description:
...
@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartScenseDataExample;
...
@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartScenseDataExample;
*/
*/
public
interface
SmartScenseDataService
{
public
interface
SmartScenseDataService
{
int
deleteByExample
(
SmartScenseData
Example
example
);
int
deleteByExample
(
SmartScenseData
example
);
int
deleteByPrimaryKey
(
Long
id
);
int
deleteByPrimaryKey
(
Long
id
);
...
@@ -25,13 +24,13 @@ public interface SmartScenseDataService {
...
@@ -25,13 +24,13 @@ public interface SmartScenseDataService {
int
insertSelective
(
SmartScenseData
record
);
int
insertSelective
(
SmartScenseData
record
);
List
<
SmartScenseData
>
selectByExample
(
SmartScenseData
Example
example
);
List
<
SmartScenseData
>
selectByExample
(
SmartScenseData
example
);
SmartScenseData
selectByPrimaryKey
(
Long
id
);
SmartScenseData
selectByPrimaryKey
(
Long
id
);
int
updateByExampleSelective
(
SmartScenseData
record
,
SmartScenseData
Example
example
);
int
updateByExampleSelective
(
SmartScenseData
record
,
SmartScenseData
example
);
int
updateByExample
(
SmartScenseData
record
,
SmartScenseData
Example
example
);
int
updateByExample
(
SmartScenseData
record
,
SmartScenseData
example
);
int
updateByPrimaryKeySelective
(
SmartScenseData
record
);
int
updateByPrimaryKeySelective
(
SmartScenseData
record
);
...
...
src/main/java/com/glsx/smart/service/SmartScenseService.java
View file @
e5c0959
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartScense
;
import
com.glsx.smart.entity.SmartScense
;
import
com.glsx.smart.entity.SmartScenseExample
;
/**
/**
* <p>Description:
* <p>Description:
...
@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartScenseExample;
...
@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartScenseExample;
*/
*/
public
interface
SmartScenseService
{
public
interface
SmartScenseService
{
int
deleteByExample
(
SmartScense
Example
example
);
int
deleteByExample
(
SmartScense
example
);
int
deleteByPrimaryKey
(
Long
id
);
int
deleteByPrimaryKey
(
Long
id
);
...
@@ -25,13 +24,13 @@ public interface SmartScenseService {
...
@@ -25,13 +24,13 @@ public interface SmartScenseService {
int
insertSelective
(
SmartScense
record
);
int
insertSelective
(
SmartScense
record
);
List
<
SmartScense
>
selectByExample
(
SmartScense
Example
example
);
List
<
SmartScense
>
selectByExample
(
SmartScense
example
);
SmartScense
selectByPrimaryKey
(
Long
id
);
SmartScense
selectByPrimaryKey
(
Long
id
);
int
updateByExampleSelective
(
SmartScense
record
,
SmartScense
Example
example
);
int
updateByExampleSelective
(
SmartScense
record
,
SmartScense
example
);
int
updateByExample
(
SmartScense
record
,
SmartScense
Example
example
);
int
updateByExample
(
SmartScense
record
,
SmartScense
example
);
int
updateByPrimaryKeySelective
(
SmartScense
record
);
int
updateByPrimaryKeySelective
(
SmartScense
record
);
...
...
src/main/java/com/glsx/smart/service/SmartScenseTemplateService.java
View file @
e5c0959
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartScenseTemplate
;
import
com.glsx.smart.entity.SmartScenseTemplate
;
import
com.glsx.smart.entity.SmartScenseTemplateExample
;
/**
/**
* <p>Description:
* <p>Description:
...
@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartScenseTemplateExample;
...
@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartScenseTemplateExample;
*/
*/
public
interface
SmartScenseTemplateService
{
public
interface
SmartScenseTemplateService
{
int
deleteByExample
(
SmartScenseTemplate
Example
example
);
int
deleteByExample
(
SmartScenseTemplate
example
);
int
deleteByPrimaryKey
(
Long
id
);
int
deleteByPrimaryKey
(
Long
id
);
...
@@ -25,13 +24,13 @@ public interface SmartScenseTemplateService {
...
@@ -25,13 +24,13 @@ public interface SmartScenseTemplateService {
int
insertSelective
(
SmartScenseTemplate
record
);
int
insertSelective
(
SmartScenseTemplate
record
);
List
<
SmartScenseTemplate
>
selectByExample
(
SmartScenseTemplate
Example
example
);
List
<
SmartScenseTemplate
>
selectByExample
(
SmartScenseTemplate
example
);
SmartScenseTemplate
selectByPrimaryKey
(
Long
id
);
SmartScenseTemplate
selectByPrimaryKey
(
Long
id
);
int
updateByExampleSelective
(
SmartScenseTemplate
record
,
SmartScenseTemplate
Example
example
);
int
updateByExampleSelective
(
SmartScenseTemplate
record
,
SmartScenseTemplate
example
);
int
updateByExample
(
SmartScenseTemplate
record
,
SmartScenseTemplate
Example
example
);
int
updateByExample
(
SmartScenseTemplate
record
,
SmartScenseTemplate
example
);
int
updateByPrimaryKeySelective
(
SmartScenseTemplate
record
);
int
updateByPrimaryKeySelective
(
SmartScenseTemplate
record
);
...
...
src/main/java/com/glsx/smart/service/SmartSysCodeService.java
View file @
e5c0959
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartSysCode
;
import
com.glsx.smart.entity.SmartSysCode
;
import
com.glsx.smart.entity.SmartSysCodeExample
;
/**
/**
* <p>Description:
* <p>Description:
...
@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartSysCodeExample;
...
@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartSysCodeExample;
*/
*/
public
interface
SmartSysCodeService
{
public
interface
SmartSysCodeService
{
int
deleteByExample
(
SmartSysCode
Example
example
);
int
deleteByExample
(
SmartSysCode
example
);
int
deleteByPrimaryKey
(
Long
id
);
int
deleteByPrimaryKey
(
Long
id
);
...
@@ -25,13 +24,13 @@ public interface SmartSysCodeService {
...
@@ -25,13 +24,13 @@ public interface SmartSysCodeService {
int
insertSelective
(
SmartSysCode
record
);
int
insertSelective
(
SmartSysCode
record
);
List
<
SmartSysCode
>
selectByExample
(
SmartSysCode
Example
example
);
List
<
SmartSysCode
>
selectByExample
(
SmartSysCode
example
);
SmartSysCode
selectByPrimaryKey
(
Long
id
);
SmartSysCode
selectByPrimaryKey
(
Long
id
);
int
updateByExampleSelective
(
SmartSysCode
record
,
SmartSysCode
Example
example
);
int
updateByExampleSelective
(
SmartSysCode
record
,
SmartSysCode
example
);
int
updateByExample
(
SmartSysCode
record
,
SmartSysCode
Example
example
);
int
updateByExample
(
SmartSysCode
record
,
SmartSysCode
example
);
int
updateByPrimaryKeySelective
(
SmartSysCode
record
);
int
updateByPrimaryKeySelective
(
SmartSysCode
record
);
...
...
src/main/java/com/glsx/smart/service/SmartSysFileService.java
View file @
e5c0959
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartSysFile
;
import
com.glsx.smart.entity.SmartSysFile
;
import
com.glsx.smart.entity.SmartSysFileExample
;
/**
/**
* <p>Description:
* <p>Description:
...
@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartSysFileExample;
...
@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartSysFileExample;
*/
*/
public
interface
SmartSysFileService
{
public
interface
SmartSysFileService
{
int
deleteByExample
(
SmartSysFile
Example
example
);
int
deleteByExample
(
SmartSysFile
example
);
int
deleteByPrimaryKey
(
Long
id
);
int
deleteByPrimaryKey
(
Long
id
);
...
@@ -25,13 +24,13 @@ public interface SmartSysFileService {
...
@@ -25,13 +24,13 @@ public interface SmartSysFileService {
int
insertSelective
(
SmartSysFile
record
);
int
insertSelective
(
SmartSysFile
record
);
List
<
SmartSysFile
>
selectByExample
(
SmartSysFile
Example
example
);
List
<
SmartSysFile
>
selectByExample
(
SmartSysFile
example
);
SmartSysFile
selectByPrimaryKey
(
Long
id
);
SmartSysFile
selectByPrimaryKey
(
Long
id
);
int
updateByExampleSelective
(
SmartSysFile
record
,
SmartSysFile
Example
example
);
int
updateByExampleSelective
(
SmartSysFile
record
,
SmartSysFile
example
);
int
updateByExample
(
SmartSysFile
record
,
SmartSysFile
Example
example
);
int
updateByExample
(
SmartSysFile
record
,
SmartSysFile
example
);
int
updateByPrimaryKeySelective
(
SmartSysFile
record
);
int
updateByPrimaryKeySelective
(
SmartSysFile
record
);
...
...
src/main/java/com/glsx/smart/service/SmartTemplateParamService.java
View file @
e5c0959
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartTemplateParam
;
import
com.glsx.smart.entity.SmartTemplateParam
;
import
com.glsx.smart.entity.SmartTemplateParamExample
;
/**
/**
* <p>Description:
* <p>Description:
...
@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartTemplateParamExample;
...
@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartTemplateParamExample;
*/
*/
public
interface
SmartTemplateParamService
{
public
interface
SmartTemplateParamService
{
int
deleteByExample
(
SmartTemplateParam
Example
example
);
int
deleteByExample
(
SmartTemplateParam
example
);
int
deleteByPrimaryKey
(
Long
id
);
int
deleteByPrimaryKey
(
Long
id
);
...
@@ -25,13 +24,13 @@ public interface SmartTemplateParamService {
...
@@ -25,13 +24,13 @@ public interface SmartTemplateParamService {
int
insertSelective
(
SmartTemplateParam
record
);
int
insertSelective
(
SmartTemplateParam
record
);
List
<
SmartTemplateParam
>
selectByExample
(
SmartTemplateParam
Example
example
);
List
<
SmartTemplateParam
>
selectByExample
(
SmartTemplateParam
example
);
SmartTemplateParam
selectByPrimaryKey
(
Long
id
);
SmartTemplateParam
selectByPrimaryKey
(
Long
id
);
int
updateByExampleSelective
(
SmartTemplateParam
record
,
SmartTemplateParam
Example
example
);
int
updateByExampleSelective
(
SmartTemplateParam
record
,
SmartTemplateParam
example
);
int
updateByExample
(
SmartTemplateParam
record
,
SmartTemplateParam
Example
example
);
int
updateByExample
(
SmartTemplateParam
record
,
SmartTemplateParam
example
);
int
updateByPrimaryKeySelective
(
SmartTemplateParam
record
);
int
updateByPrimaryKeySelective
(
SmartTemplateParam
record
);
...
...
src/main/java/com/glsx/smart/service/SmartUserRelationService.java
View file @
e5c0959
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
...
@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartUserRelation
;
import
com.glsx.smart.entity.SmartUserRelation
;
import
com.glsx.smart.entity.SmartUserRelationExample
;
/**
/**
* <p>Description:
* <p>Description:
...
@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartUserRelationExample;
...
@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartUserRelationExample;
*/
*/
public
interface
SmartUserRelationService
{
public
interface
SmartUserRelationService
{
int
deleteByExample
(
SmartUserRelation
Example
example
);
int
deleteByExample
(
SmartUserRelation
example
);
int
deleteByPrimaryKey
(
Long
id
);
int
deleteByPrimaryKey
(
Long
id
);
...
@@ -25,13 +24,13 @@ public interface SmartUserRelationService {
...
@@ -25,13 +24,13 @@ public interface SmartUserRelationService {
int
insertSelective
(
SmartUserRelation
record
);
int
insertSelective
(
SmartUserRelation
record
);
List
<
SmartUserRelation
>
selectByExample
(
SmartUserRelation
Example
example
);
List
<
SmartUserRelation
>
selectByExample
(
SmartUserRelation
example
);
SmartUserRelation
selectByPrimaryKey
(
Long
id
);
SmartUserRelation
selectByPrimaryKey
(
Long
id
);
int
updateByExampleSelective
(
SmartUserRelation
record
,
SmartUserRelation
Example
example
);
int
updateByExampleSelective
(
SmartUserRelation
record
,
SmartUserRelation
example
);
int
updateByExample
(
SmartUserRelation
record
,
SmartUserRelation
Example
example
);
int
updateByExample
(
SmartUserRelation
record
,
SmartUserRelation
example
);
int
updateByPrimaryKeySelective
(
SmartUserRelation
record
);
int
updateByPrimaryKeySelective
(
SmartUserRelation
record
);
...
...
src/main/java/com/glsx/smart/service/impl/SmartDevideStatusServiceImpl.java
View file @
e5c0959
...
@@ -3,10 +3,10 @@ package com.glsx.smart.service.impl;
...
@@ -3,10 +3,10 @@ package com.glsx.smart.service.impl;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartDevideStatus
;
import
com.glsx.smart.entity.SmartDevideStatus
;
import
com.glsx.smart.entity.SmartDevideStatusExample
;
import
com.glsx.smart.mapper.SmartDevideStatusMapper
;
import
com.glsx.smart.mapper.SmartDevideStatusMapper
;
import
com.glsx.smart.service.SmartDevideStatusService
;
import
com.glsx.smart.service.SmartDevideStatusService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
/**
/**
* <p>Description:
* <p>Description:
* <p>Project: chejia-smart
* <p>Project: chejia-smart
...
@@ -16,13 +16,13 @@ import org.springframework.stereotype.Service;
...
@@ -16,13 +16,13 @@ import org.springframework.stereotype.Service;
*/
*/
@Service
@Service
public
class
SmartDevideStatusServiceImpl
implements
SmartDevideStatusService
{
public
class
SmartDevideStatusServiceImpl
implements
SmartDevideStatusService
{
@Resource
@Resource
private
SmartDevideStatusMapper
smartDevideStatusMapper
;
private
SmartDevideStatusMapper
smartDevideStatusMapper
;
@Override
@Override
public
int
deleteByExample
(
SmartDevideStatus
Example
example
)
{
public
int
deleteByExample
(
SmartDevideStatus
example
)
{
return
smartDevideStatusMapper
.
deleteByExample
(
example
);
return
smartDevideStatusMapper
.
deleteByExample
(
example
);
}
}
...
@@ -52,7 +52,7 @@ public class SmartDevideStatusServiceImpl implements SmartDevideStatusService{
...
@@ -52,7 +52,7 @@ public class SmartDevideStatusServiceImpl implements SmartDevideStatusService{
}
}
@Override
@Override
public
List
<
SmartDevideStatus
>
selectByExample
(
SmartDevideStatus
Example
example
)
{
public
List
<
SmartDevideStatus
>
selectByExample
(
SmartDevideStatus
example
)
{
return
smartDevideStatusMapper
.
selectByExample
(
example
);
return
smartDevideStatusMapper
.
selectByExample
(
example
);
}
}
...
@@ -62,13 +62,13 @@ public class SmartDevideStatusServiceImpl implements SmartDevideStatusService{
...
@@ -62,13 +62,13 @@ public class SmartDevideStatusServiceImpl implements SmartDevideStatusService{
}
}
@Override
@Override
public
int
updateByExampleSelective
(
SmartDevideStatus
record
,
SmartDevideStatusExample
example
)
{
public
int
updateByExampleSelective
(
SmartDevideStatus
record
,
SmartDevideStatus
example
)
{
return
smartDevideStatusMapper
.
updateByExampleSelective
(
record
,
example
);
return
smartDevideStatusMapper
.
updateByExampleSelective
(
record
,
example
);
}
}
@Override
@Override
public
int
updateByExample
(
SmartDevideStatus
record
,
SmartDevideStatusExample
example
)
{
public
int
updateByExample
(
SmartDevideStatus
record
,
SmartDevideStatus
example
)
{
return
smartDevideStatusMapper
.
updateByExample
(
record
,
example
);
return
smartDevideStatusMapper
.
updateByExample
(
record
,
example
);
}
}
@Override
@Override
...
...
src/main/java/com/glsx/smart/service/impl/SmartProductServiceImpl.java
View file @
e5c0959
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartProduct
;
import
com.glsx.smart.entity.SmartProduct
;
import
com.glsx.smart.entity.SmartProductExample
;
import
com.glsx.smart.mapper.SmartProductMapper
;
import
com.glsx.smart.mapper.SmartProductMapper
;
import
com.glsx.smart.service.SmartProductService
;
import
com.glsx.smart.service.SmartProductService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -65,12 +64,12 @@ public class SmartProductServiceImpl implements SmartProductService {
...
@@ -65,12 +64,12 @@ public class SmartProductServiceImpl implements SmartProductService {
@Override
@Override
public
long
countByExample
(
SmartProduct
Example
example
)
{
public
long
countByExample
(
SmartProduct
example
)
{
return
productMapper
.
selectCount
(
new
SmartProduct
());
return
productMapper
.
selectCount
(
new
SmartProduct
());
}
}
@Override
@Override
public
int
deleteByExample
(
SmartProduct
Example
example
)
{
public
int
deleteByExample
(
SmartProduct
example
)
{
return
productMapper
.
deleteByExample
(
example
);
return
productMapper
.
deleteByExample
(
example
);
}
}
...
@@ -100,7 +99,7 @@ public class SmartProductServiceImpl implements SmartProductService {
...
@@ -100,7 +99,7 @@ public class SmartProductServiceImpl implements SmartProductService {
}
}
@Override
@Override
public
List
<
SmartProduct
>
selectByExample
(
SmartProduct
Example
example
)
{
public
List
<
SmartProduct
>
selectByExample
(
SmartProduct
example
)
{
return
productMapper
.
selectByExample
(
example
);
return
productMapper
.
selectByExample
(
example
);
}
}
...
@@ -110,12 +109,12 @@ public class SmartProductServiceImpl implements SmartProductService {
...
@@ -110,12 +109,12 @@ public class SmartProductServiceImpl implements SmartProductService {
}
}
@Override
@Override
public
int
updateByExampleSelective
(
SmartProduct
record
,
SmartProduct
Example
example
)
{
public
int
updateByExampleSelective
(
SmartProduct
record
,
SmartProduct
example
)
{
return
productMapper
.
updateByExampleSelective
(
record
,
example
);
return
productMapper
.
updateByExampleSelective
(
record
,
example
);
}
}
@Override
@Override
public
int
updateByExample
(
SmartProduct
record
,
SmartProduct
Example
example
)
{
public
int
updateByExample
(
SmartProduct
record
,
SmartProduct
example
)
{
return
productMapper
.
updateByExample
(
record
,
example
);
return
productMapper
.
updateByExample
(
record
,
example
);
}
}
...
...
src/main/java/com/glsx/smart/service/impl/SmartProductTypeParamServiceImpl.java
View file @
e5c0959
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartProductTypeParam
;
import
com.glsx.smart.entity.SmartProductTypeParam
;
import
com.glsx.smart.entity.SmartProductTypeParamExample
;
import
com.glsx.smart.mapper.SmartProductTypeParamMapper
;
import
com.glsx.smart.mapper.SmartProductTypeParamMapper
;
import
com.glsx.smart.service.SmartProductTypeParamService
;
import
com.glsx.smart.service.SmartProductTypeParamService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -23,7 +22,7 @@ public class SmartProductTypeParamServiceImpl implements SmartProductTypeParamSe
...
@@ -23,7 +22,7 @@ public class SmartProductTypeParamServiceImpl implements SmartProductTypeParamSe
private
SmartProductTypeParamMapper
smartProductTypeParamMapper
;
private
SmartProductTypeParamMapper
smartProductTypeParamMapper
;
@Override
@Override
public
int
deleteByExample
(
SmartProductTypeParam
Example
example
)
{
public
int
deleteByExample
(
SmartProductTypeParam
example
)
{
return
smartProductTypeParamMapper
.
deleteByExample
(
example
);
return
smartProductTypeParamMapper
.
deleteByExample
(
example
);
}
}
...
@@ -53,7 +52,7 @@ public class SmartProductTypeParamServiceImpl implements SmartProductTypeParamSe
...
@@ -53,7 +52,7 @@ public class SmartProductTypeParamServiceImpl implements SmartProductTypeParamSe
}
}
@Override
@Override
public
List
<
SmartProductTypeParam
>
selectByExample
(
SmartProductTypeParam
Example
example
)
{
public
List
<
SmartProductTypeParam
>
selectByExample
(
SmartProductTypeParam
example
)
{
return
smartProductTypeParamMapper
.
selectByExample
(
example
);
return
smartProductTypeParamMapper
.
selectByExample
(
example
);
}
}
...
@@ -64,12 +63,12 @@ public class SmartProductTypeParamServiceImpl implements SmartProductTypeParamSe
...
@@ -64,12 +63,12 @@ public class SmartProductTypeParamServiceImpl implements SmartProductTypeParamSe
@Override
@Override
public
int
updateByExampleSelective
(
SmartProductTypeParam
record
,
public
int
updateByExampleSelective
(
SmartProductTypeParam
record
,
SmartProductTypeParam
Example
example
)
{
SmartProductTypeParam
example
)
{
return
smartProductTypeParamMapper
.
updateByExampleSelective
(
record
,
example
);
return
smartProductTypeParamMapper
.
updateByExampleSelective
(
record
,
example
);
}
}
@Override
@Override
public
int
updateByExample
(
SmartProductTypeParam
record
,
SmartProductTypeParam
Example
example
)
{
public
int
updateByExample
(
SmartProductTypeParam
record
,
SmartProductTypeParam
example
)
{
return
smartProductTypeParamMapper
.
updateByExample
(
record
,
example
);
return
smartProductTypeParamMapper
.
updateByExample
(
record
,
example
);
}
}
...
...
src/main/java/com/glsx/smart/service/impl/SmartProductTypeServiceImpl.java
View file @
e5c0959
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartProductType
;
import
com.glsx.smart.entity.SmartProductType
;
import
com.glsx.smart.entity.SmartProductTypeExample
;
import
com.glsx.smart.mapper.SmartProductTypeMapper
;
import
com.glsx.smart.mapper.SmartProductTypeMapper
;
import
com.glsx.smart.service.SmartProductTypeService
;
import
com.glsx.smart.service.SmartProductTypeService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -24,7 +23,7 @@ public class SmartProductTypeServiceImpl implements SmartProductTypeService {
...
@@ -24,7 +23,7 @@ public class SmartProductTypeServiceImpl implements SmartProductTypeService {
@Override
@Override
public
List
<
SmartProductType
>
getList
(
SmartProductType
productType
)
{
public
List
<
SmartProductType
>
getList
(
SmartProductType
productType
)
{
return
productTypeMapper
.
selectByExample
(
new
SmartProductTypeExample
()
);
return
productTypeMapper
.
selectByExample
(
productType
);
}
}
@Override
@Override
...
@@ -50,7 +49,7 @@ public class SmartProductTypeServiceImpl implements SmartProductTypeService {
...
@@ -50,7 +49,7 @@ public class SmartProductTypeServiceImpl implements SmartProductTypeService {
@Override
@Override
public
int
deleteByExample
(
SmartProductType
Example
example
)
{
public
int
deleteByExample
(
SmartProductType
example
)
{
return
productTypeMapper
.
deleteByExample
(
example
);
return
productTypeMapper
.
deleteByExample
(
example
);
}
}
...
@@ -80,7 +79,7 @@ public class SmartProductTypeServiceImpl implements SmartProductTypeService {
...
@@ -80,7 +79,7 @@ public class SmartProductTypeServiceImpl implements SmartProductTypeService {
}
}
@Override
@Override
public
List
<
SmartProductType
>
selectByExample
(
SmartProductType
Example
example
)
{
public
List
<
SmartProductType
>
selectByExample
(
SmartProductType
example
)
{
return
productTypeMapper
.
selectByExample
(
example
);
return
productTypeMapper
.
selectByExample
(
example
);
}
}
...
@@ -90,12 +89,12 @@ public class SmartProductTypeServiceImpl implements SmartProductTypeService {
...
@@ -90,12 +89,12 @@ public class SmartProductTypeServiceImpl implements SmartProductTypeService {
}
}
@Override
@Override
public
int
updateByExampleSelective
(
SmartProductType
record
,
SmartProductType
Example
example
)
{
public
int
updateByExampleSelective
(
SmartProductType
record
,
SmartProductType
example
)
{
return
productTypeMapper
.
updateByExampleSelective
(
record
,
example
);
return
productTypeMapper
.
updateByExampleSelective
(
record
,
example
);
}
}
@Override
@Override
public
int
updateByExample
(
SmartProductType
record
,
SmartProductType
Example
example
)
{
public
int
updateByExample
(
SmartProductType
record
,
SmartProductType
example
)
{
return
productTypeMapper
.
updateByExample
(
record
,
example
);
return
productTypeMapper
.
updateByExample
(
record
,
example
);
}
}
...
...
src/main/java/com/glsx/smart/service/impl/SmartScenseDataServiceImpl.java
View file @
e5c0959
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartScenseData
;
import
com.glsx.smart.entity.SmartScenseData
;
import
com.glsx.smart.entity.SmartScenseDataExample
;
import
com.glsx.smart.mapper.SmartScenseDataMapper
;
import
com.glsx.smart.mapper.SmartScenseDataMapper
;
import
com.glsx.smart.service.SmartScenseDataService
;
import
com.glsx.smart.service.SmartScenseDataService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -23,7 +22,7 @@ public class SmartScenseDataServiceImpl implements SmartScenseDataService {
...
@@ -23,7 +22,7 @@ public class SmartScenseDataServiceImpl implements SmartScenseDataService {
private
SmartScenseDataMapper
smartScenseDataMapper
;
private
SmartScenseDataMapper
smartScenseDataMapper
;
@Override
@Override
public
int
deleteByExample
(
SmartScenseData
Example
example
)
{
public
int
deleteByExample
(
SmartScenseData
example
)
{
return
smartScenseDataMapper
.
deleteByExample
(
example
);
return
smartScenseDataMapper
.
deleteByExample
(
example
);
}
}
...
@@ -53,7 +52,7 @@ public class SmartScenseDataServiceImpl implements SmartScenseDataService {
...
@@ -53,7 +52,7 @@ public class SmartScenseDataServiceImpl implements SmartScenseDataService {
}
}
@Override
@Override
public
List
<
SmartScenseData
>
selectByExample
(
SmartScenseData
Example
example
)
{
public
List
<
SmartScenseData
>
selectByExample
(
SmartScenseData
example
)
{
return
smartScenseDataMapper
.
selectByExample
(
example
);
return
smartScenseDataMapper
.
selectByExample
(
example
);
}
}
...
@@ -63,12 +62,12 @@ public class SmartScenseDataServiceImpl implements SmartScenseDataService {
...
@@ -63,12 +62,12 @@ public class SmartScenseDataServiceImpl implements SmartScenseDataService {
}
}
@Override
@Override
public
int
updateByExampleSelective
(
SmartScenseData
record
,
SmartScenseData
Example
example
)
{
public
int
updateByExampleSelective
(
SmartScenseData
record
,
SmartScenseData
example
)
{
return
smartScenseDataMapper
.
updateByExampleSelective
(
record
,
example
);
return
smartScenseDataMapper
.
updateByExampleSelective
(
record
,
example
);
}
}
@Override
@Override
public
int
updateByExample
(
SmartScenseData
record
,
SmartScenseData
Example
example
)
{
public
int
updateByExample
(
SmartScenseData
record
,
SmartScenseData
example
)
{
return
smartScenseDataMapper
.
updateByExample
(
record
,
example
);
return
smartScenseDataMapper
.
updateByExample
(
record
,
example
);
}
}
...
...
src/main/java/com/glsx/smart/service/impl/SmartScenseServiceImpl.java
View file @
e5c0959
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartScense
;
import
com.glsx.smart.entity.SmartScense
;
import
com.glsx.smart.entity.SmartScenseExample
;
import
com.glsx.smart.mapper.SmartScenseMapper
;
import
com.glsx.smart.mapper.SmartScenseMapper
;
import
com.glsx.smart.service.SmartScenseService
;
import
com.glsx.smart.service.SmartScenseService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -23,7 +22,7 @@ public class SmartScenseServiceImpl implements SmartScenseService {
...
@@ -23,7 +22,7 @@ public class SmartScenseServiceImpl implements SmartScenseService {
private
SmartScenseMapper
smartScenseMapper
;
private
SmartScenseMapper
smartScenseMapper
;
@Override
@Override
public
int
deleteByExample
(
SmartScense
Example
example
)
{
public
int
deleteByExample
(
SmartScense
example
)
{
return
smartScenseMapper
.
deleteByExample
(
example
);
return
smartScenseMapper
.
deleteByExample
(
example
);
}
}
...
@@ -53,7 +52,7 @@ public class SmartScenseServiceImpl implements SmartScenseService {
...
@@ -53,7 +52,7 @@ public class SmartScenseServiceImpl implements SmartScenseService {
}
}
@Override
@Override
public
List
<
SmartScense
>
selectByExample
(
SmartScense
Example
example
)
{
public
List
<
SmartScense
>
selectByExample
(
SmartScense
example
)
{
return
smartScenseMapper
.
selectByExample
(
example
);
return
smartScenseMapper
.
selectByExample
(
example
);
}
}
...
@@ -63,12 +62,12 @@ public class SmartScenseServiceImpl implements SmartScenseService {
...
@@ -63,12 +62,12 @@ public class SmartScenseServiceImpl implements SmartScenseService {
}
}
@Override
@Override
public
int
updateByExampleSelective
(
SmartScense
record
,
SmartScense
Example
example
)
{
public
int
updateByExampleSelective
(
SmartScense
record
,
SmartScense
example
)
{
return
smartScenseMapper
.
updateByExampleSelective
(
record
,
example
);
return
smartScenseMapper
.
updateByExampleSelective
(
record
,
example
);
}
}
@Override
@Override
public
int
updateByExample
(
SmartScense
record
,
SmartScense
Example
example
)
{
public
int
updateByExample
(
SmartScense
record
,
SmartScense
example
)
{
return
smartScenseMapper
.
updateByExample
(
record
,
example
);
return
smartScenseMapper
.
updateByExample
(
record
,
example
);
}
}
...
...
src/main/java/com/glsx/smart/service/impl/SmartScenseTemplateServiceImpl.java
View file @
e5c0959
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartScenseTemplate
;
import
com.glsx.smart.entity.SmartScenseTemplate
;
import
com.glsx.smart.entity.SmartScenseTemplateExample
;
import
com.glsx.smart.mapper.SmartScenseTemplateMapper
;
import
com.glsx.smart.mapper.SmartScenseTemplateMapper
;
import
com.glsx.smart.service.SmartScenseTemplateService
;
import
com.glsx.smart.service.SmartScenseTemplateService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -23,7 +22,7 @@ public class SmartScenseTemplateServiceImpl implements SmartScenseTemplateServic
...
@@ -23,7 +22,7 @@ public class SmartScenseTemplateServiceImpl implements SmartScenseTemplateServic
private
SmartScenseTemplateMapper
smartScenseTemplateMapper
;
private
SmartScenseTemplateMapper
smartScenseTemplateMapper
;
@Override
@Override
public
int
deleteByExample
(
SmartScenseTemplate
Example
example
)
{
public
int
deleteByExample
(
SmartScenseTemplate
example
)
{
return
smartScenseTemplateMapper
.
deleteByExample
(
example
);
return
smartScenseTemplateMapper
.
deleteByExample
(
example
);
}
}
...
@@ -53,7 +52,7 @@ public class SmartScenseTemplateServiceImpl implements SmartScenseTemplateServic
...
@@ -53,7 +52,7 @@ public class SmartScenseTemplateServiceImpl implements SmartScenseTemplateServic
}
}
@Override
@Override
public
List
<
SmartScenseTemplate
>
selectByExample
(
SmartScenseTemplate
Example
example
)
{
public
List
<
SmartScenseTemplate
>
selectByExample
(
SmartScenseTemplate
example
)
{
return
smartScenseTemplateMapper
.
selectByExample
(
example
);
return
smartScenseTemplateMapper
.
selectByExample
(
example
);
}
}
...
@@ -64,12 +63,12 @@ public class SmartScenseTemplateServiceImpl implements SmartScenseTemplateServic
...
@@ -64,12 +63,12 @@ public class SmartScenseTemplateServiceImpl implements SmartScenseTemplateServic
@Override
@Override
public
int
updateByExampleSelective
(
SmartScenseTemplate
record
,
public
int
updateByExampleSelective
(
SmartScenseTemplate
record
,
SmartScenseTemplate
Example
example
)
{
SmartScenseTemplate
example
)
{
return
smartScenseTemplateMapper
.
updateByExampleSelective
(
record
,
example
);
return
smartScenseTemplateMapper
.
updateByExampleSelective
(
record
,
example
);
}
}
@Override
@Override
public
int
updateByExample
(
SmartScenseTemplate
record
,
SmartScenseTemplate
Example
example
)
{
public
int
updateByExample
(
SmartScenseTemplate
record
,
SmartScenseTemplate
example
)
{
return
smartScenseTemplateMapper
.
updateByExample
(
record
,
example
);
return
smartScenseTemplateMapper
.
updateByExample
(
record
,
example
);
}
}
...
...
src/main/java/com/glsx/smart/service/impl/SmartSysCodeServiceImpl.java
View file @
e5c0959
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartSysCode
;
import
com.glsx.smart.entity.SmartSysCode
;
import
com.glsx.smart.entity.SmartSysCodeExample
;
import
com.glsx.smart.mapper.SmartSysCodeMapper
;
import
com.glsx.smart.mapper.SmartSysCodeMapper
;
import
com.glsx.smart.service.SmartSysCodeService
;
import
com.glsx.smart.service.SmartSysCodeService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -23,7 +22,7 @@ public class SmartSysCodeServiceImpl implements SmartSysCodeService {
...
@@ -23,7 +22,7 @@ public class SmartSysCodeServiceImpl implements SmartSysCodeService {
private
SmartSysCodeMapper
smartSysCodeMapper
;
private
SmartSysCodeMapper
smartSysCodeMapper
;
@Override
@Override
public
int
deleteByExample
(
SmartSysCode
Example
example
)
{
public
int
deleteByExample
(
SmartSysCode
example
)
{
return
smartSysCodeMapper
.
deleteByExample
(
example
);
return
smartSysCodeMapper
.
deleteByExample
(
example
);
}
}
...
@@ -53,7 +52,7 @@ public class SmartSysCodeServiceImpl implements SmartSysCodeService {
...
@@ -53,7 +52,7 @@ public class SmartSysCodeServiceImpl implements SmartSysCodeService {
}
}
@Override
@Override
public
List
<
SmartSysCode
>
selectByExample
(
SmartSysCode
Example
example
)
{
public
List
<
SmartSysCode
>
selectByExample
(
SmartSysCode
example
)
{
return
smartSysCodeMapper
.
selectByExample
(
example
);
return
smartSysCodeMapper
.
selectByExample
(
example
);
}
}
...
@@ -63,12 +62,12 @@ public class SmartSysCodeServiceImpl implements SmartSysCodeService {
...
@@ -63,12 +62,12 @@ public class SmartSysCodeServiceImpl implements SmartSysCodeService {
}
}
@Override
@Override
public
int
updateByExampleSelective
(
SmartSysCode
record
,
SmartSysCode
Example
example
)
{
public
int
updateByExampleSelective
(
SmartSysCode
record
,
SmartSysCode
example
)
{
return
smartSysCodeMapper
.
updateByExampleSelective
(
record
,
example
);
return
smartSysCodeMapper
.
updateByExampleSelective
(
record
,
example
);
}
}
@Override
@Override
public
int
updateByExample
(
SmartSysCode
record
,
SmartSysCode
Example
example
)
{
public
int
updateByExample
(
SmartSysCode
record
,
SmartSysCode
example
)
{
return
smartSysCodeMapper
.
updateByExample
(
record
,
example
);
return
smartSysCodeMapper
.
updateByExample
(
record
,
example
);
}
}
...
...
src/main/java/com/glsx/smart/service/impl/SmartSysFileServiceImpl.java
View file @
e5c0959
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartSysFile
;
import
com.glsx.smart.entity.SmartSysFile
;
import
com.glsx.smart.entity.SmartSysFileExample
;
import
com.glsx.smart.mapper.SmartSysFileMapper
;
import
com.glsx.smart.mapper.SmartSysFileMapper
;
import
com.glsx.smart.service.SmartSysFileService
;
import
com.glsx.smart.service.SmartSysFileService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -23,7 +22,7 @@ public class SmartSysFileServiceImpl implements SmartSysFileService {
...
@@ -23,7 +22,7 @@ public class SmartSysFileServiceImpl implements SmartSysFileService {
private
SmartSysFileMapper
smartSysFileMapper
;
private
SmartSysFileMapper
smartSysFileMapper
;
@Override
@Override
public
int
deleteByExample
(
SmartSysFile
Example
example
)
{
public
int
deleteByExample
(
SmartSysFile
example
)
{
return
smartSysFileMapper
.
deleteByExample
(
example
);
return
smartSysFileMapper
.
deleteByExample
(
example
);
}
}
...
@@ -53,7 +52,7 @@ public class SmartSysFileServiceImpl implements SmartSysFileService {
...
@@ -53,7 +52,7 @@ public class SmartSysFileServiceImpl implements SmartSysFileService {
}
}
@Override
@Override
public
List
<
SmartSysFile
>
selectByExample
(
SmartSysFile
Example
example
)
{
public
List
<
SmartSysFile
>
selectByExample
(
SmartSysFile
example
)
{
return
smartSysFileMapper
.
selectByExample
(
example
);
return
smartSysFileMapper
.
selectByExample
(
example
);
}
}
...
@@ -63,12 +62,12 @@ public class SmartSysFileServiceImpl implements SmartSysFileService {
...
@@ -63,12 +62,12 @@ public class SmartSysFileServiceImpl implements SmartSysFileService {
}
}
@Override
@Override
public
int
updateByExampleSelective
(
SmartSysFile
record
,
SmartSysFile
Example
example
)
{
public
int
updateByExampleSelective
(
SmartSysFile
record
,
SmartSysFile
example
)
{
return
smartSysFileMapper
.
updateByExampleSelective
(
record
,
example
);
return
smartSysFileMapper
.
updateByExampleSelective
(
record
,
example
);
}
}
@Override
@Override
public
int
updateByExample
(
SmartSysFile
record
,
SmartSysFile
Example
example
)
{
public
int
updateByExample
(
SmartSysFile
record
,
SmartSysFile
example
)
{
return
smartSysFileMapper
.
updateByExample
(
record
,
example
);
return
smartSysFileMapper
.
updateByExample
(
record
,
example
);
}
}
...
...
src/main/java/com/glsx/smart/service/impl/SmartTemplateParamServiceImpl.java
View file @
e5c0959
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartTemplateParam
;
import
com.glsx.smart.entity.SmartTemplateParam
;
import
com.glsx.smart.entity.SmartTemplateParamExample
;
import
com.glsx.smart.mapper.SmartTemplateParamMapper
;
import
com.glsx.smart.mapper.SmartTemplateParamMapper
;
import
com.glsx.smart.service.SmartTemplateParamService
;
import
com.glsx.smart.service.SmartTemplateParamService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -23,7 +22,7 @@ public class SmartTemplateParamServiceImpl implements SmartTemplateParamService
...
@@ -23,7 +22,7 @@ public class SmartTemplateParamServiceImpl implements SmartTemplateParamService
private
SmartTemplateParamMapper
smartTemplateParamMapper
;
private
SmartTemplateParamMapper
smartTemplateParamMapper
;
@Override
@Override
public
int
deleteByExample
(
SmartTemplateParam
Example
example
)
{
public
int
deleteByExample
(
SmartTemplateParam
example
)
{
return
smartTemplateParamMapper
.
deleteByExample
(
example
);
return
smartTemplateParamMapper
.
deleteByExample
(
example
);
}
}
...
@@ -53,7 +52,7 @@ public class SmartTemplateParamServiceImpl implements SmartTemplateParamService
...
@@ -53,7 +52,7 @@ public class SmartTemplateParamServiceImpl implements SmartTemplateParamService
}
}
@Override
@Override
public
List
<
SmartTemplateParam
>
selectByExample
(
SmartTemplateParam
Example
example
)
{
public
List
<
SmartTemplateParam
>
selectByExample
(
SmartTemplateParam
example
)
{
return
smartTemplateParamMapper
.
selectByExample
(
example
);
return
smartTemplateParamMapper
.
selectByExample
(
example
);
}
}
...
@@ -64,12 +63,12 @@ public class SmartTemplateParamServiceImpl implements SmartTemplateParamService
...
@@ -64,12 +63,12 @@ public class SmartTemplateParamServiceImpl implements SmartTemplateParamService
@Override
@Override
public
int
updateByExampleSelective
(
SmartTemplateParam
record
,
public
int
updateByExampleSelective
(
SmartTemplateParam
record
,
SmartTemplateParam
Example
example
)
{
SmartTemplateParam
example
)
{
return
smartTemplateParamMapper
.
updateByExampleSelective
(
record
,
example
);
return
smartTemplateParamMapper
.
updateByExampleSelective
(
record
,
example
);
}
}
@Override
@Override
public
int
updateByExample
(
SmartTemplateParam
record
,
SmartTemplateParam
Example
example
)
{
public
int
updateByExample
(
SmartTemplateParam
record
,
SmartTemplateParam
example
)
{
return
smartTemplateParamMapper
.
updateByExample
(
record
,
example
);
return
smartTemplateParamMapper
.
updateByExample
(
record
,
example
);
}
}
...
...
src/main/java/com/glsx/smart/service/impl/SmartUserRelationServiceImpl.java
View file @
e5c0959
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
...
@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.List
;
import
com.glsx.smart.entity.SmartUserRelation
;
import
com.glsx.smart.entity.SmartUserRelation
;
import
com.glsx.smart.entity.SmartUserRelationExample
;
import
com.glsx.smart.mapper.SmartUserRelationMapper
;
import
com.glsx.smart.mapper.SmartUserRelationMapper
;
import
com.glsx.smart.service.SmartUserRelationService
;
import
com.glsx.smart.service.SmartUserRelationService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -23,7 +22,7 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService {
...
@@ -23,7 +22,7 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService {
private
SmartUserRelationMapper
smartUserRelationMapper
;
private
SmartUserRelationMapper
smartUserRelationMapper
;
@Override
@Override
public
int
deleteByExample
(
SmartUserRelation
Example
example
)
{
public
int
deleteByExample
(
SmartUserRelation
example
)
{
return
smartUserRelationMapper
.
deleteByExample
(
example
);
return
smartUserRelationMapper
.
deleteByExample
(
example
);
}
}
...
@@ -53,7 +52,7 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService {
...
@@ -53,7 +52,7 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService {
}
}
@Override
@Override
public
List
<
SmartUserRelation
>
selectByExample
(
SmartUserRelation
Example
example
)
{
public
List
<
SmartUserRelation
>
selectByExample
(
SmartUserRelation
example
)
{
return
smartUserRelationMapper
.
selectByExample
(
example
);
return
smartUserRelationMapper
.
selectByExample
(
example
);
}
}
...
@@ -64,12 +63,12 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService {
...
@@ -64,12 +63,12 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService {
@Override
@Override
public
int
updateByExampleSelective
(
SmartUserRelation
record
,
public
int
updateByExampleSelective
(
SmartUserRelation
record
,
SmartUserRelation
Example
example
)
{
SmartUserRelation
example
)
{
return
smartUserRelationMapper
.
updateByExampleSelective
(
record
,
example
);
return
smartUserRelationMapper
.
updateByExampleSelective
(
record
,
example
);
}
}
@Override
@Override
public
int
updateByExample
(
SmartUserRelation
record
,
SmartUserRelation
Example
example
)
{
public
int
updateByExample
(
SmartUserRelation
record
,
SmartUserRelation
example
)
{
return
smartUserRelationMapper
.
updateByExample
(
record
,
example
);
return
smartUserRelationMapper
.
updateByExample
(
record
,
example
);
}
}
...
...
src/main/resources/mapper/SmartDevideStatusMapper.xml
View file @
e5c0959
...
@@ -14,270 +14,11 @@
...
@@ -14,270 +14,11 @@
<result
column=
"updatetime"
jdbcType=
"TIMESTAMP"
property=
"updatetime"
/>
<result
column=
"updatetime"
jdbcType=
"TIMESTAMP"
property=
"updatetime"
/>
<result
column=
"product_key"
jdbcType=
"VARCHAR"
property=
"productKey"
/>
<result
column=
"product_key"
jdbcType=
"VARCHAR"
property=
"productKey"
/>
</resultMap>
</resultMap>
<!--<sql id="Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<!--<sql id="Update_By_Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="example.oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
id, device_id, `uid`, device_order_code, device_order_value, createtime, updatetime,
id, device_id, `uid`, device_order_code, device_order_value, createtime, updatetime,
product_key
product_key
</sql>
</sql>
<!--<select id="selectByExample" parameterType="com.glsx.smart.entity.SmartDevideStatusExample"-->
<!-- resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <if test="distinct">-->
<!-- distinct-->
<!-- </if>-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_devide_status-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!-- <if test="orderByClause != null">-->
<!-- order by ${orderByClause}-->
<!-- </if>-->
<!--</select>-->
<!--<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_devide_status-->
<!-- where id = #{id,jdbcType=INTEGER}-->
<!--</select>-->
<!--<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_devide_status-->
<!-- where id = #{id,jdbcType=INTEGER}-->
<!--</delete>-->
<!--<delete id="deleteByExample" parameterType="com.glsx.smart.entity.SmartDevideStatusExample">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_devide_status-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</delete>-->
<!--<insert id="insert" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartDevideStatus" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_devide_status (device_id, `uid`, device_order_code,-->
<!-- device_order_value, createtime, updatetime,-->
<!-- product_key)-->
<!-- values (#{deviceId,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR},-->
<!-- #{deviceOrderCode,jdbcType=VARCHAR},-->
<!-- #{deviceOrderValue,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP},-->
<!-- #{updatetime,jdbcType=TIMESTAMP},-->
<!-- #{productKey,jdbcType=VARCHAR})-->
<!--</insert>-->
<!--<insert id="insertSelective" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartDevideStatus" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_devide_status-->
<!-- <trim prefix="(" suffix=")" suffixOverrides=",">-->
<!-- <if test="deviceId != null and deviceId != ''">-->
<!-- device_id,-->
<!-- </if>-->
<!-- <if test="uid != null and uid != ''">-->
<!-- `uid`,-->
<!-- </if>-->
<!-- <if test="deviceOrderCode != null and deviceOrderCode != ''">-->
<!-- device_order_code,-->
<!-- </if>-->
<!-- <if test="deviceOrderValue != null and deviceOrderValue != ''">-->
<!-- device_order_value,-->
<!-- </if>-->
<!-- <if test="createtime != null">-->
<!-- createtime,-->
<!-- </if>-->
<!-- <if test="updatetime != null">-->
<!-- updatetime,-->
<!-- </if>-->
<!-- <if test="productKey != null and productKey != ''">-->
<!-- product_key,-->
<!-- </if>-->
<!-- </trim>-->
<!-- <trim prefix="values (" suffix=")" suffixOverrides=",">-->
<!-- <if test="deviceId != null and deviceId != ''">-->
<!-- #{deviceId,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="uid != null and uid != ''">-->
<!-- #{uid,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="deviceOrderCode != null and deviceOrderCode != ''">-->
<!-- #{deviceOrderCode,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="deviceOrderValue != null and deviceOrderValue != ''">-->
<!-- #{deviceOrderValue,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="createtime != null">-->
<!-- #{createtime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="updatetime != null">-->
<!-- #{updatetime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="productKey != null and productKey != ''">-->
<!-- #{productKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- </trim>-->
<!--</insert>-->
<!--<select id="countByExample" parameterType="com.glsx.smart.entity.SmartDevideStatusExample"-->
<!-- resultType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- select count(*) from smart_devide_status-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</select>-->
<!--<update id="updateByExampleSelective" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_devide_status-->
<!-- <set>-->
<!-- <if test="record.id != null">-->
<!-- id = #{record.id,jdbcType=INTEGER},-->
<!-- </if>-->
<!-- <if test="record.deviceId != null">-->
<!-- device_id = #{record.deviceId,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.uid != null">-->
<!-- `uid` = #{record.uid,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.deviceOrderCode != null">-->
<!-- device_order_code = #{record.deviceOrderCode,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.deviceOrderValue != null">-->
<!-- device_order_value = #{record.deviceOrderValue,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.createtime != null">-->
<!-- createtime = #{record.createtime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="record.updatetime != null">-->
<!-- updatetime = #{record.updatetime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="record.productKey != null">-->
<!-- product_key = #{record.productKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- </set>-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByExample" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_devide_status-->
<!-- set id = #{record.id,jdbcType=INTEGER},-->
<!-- device_id = #{record.deviceId,jdbcType=VARCHAR},-->
<!-- `uid` = #{record.uid,jdbcType=VARCHAR},-->
<!-- device_order_code = #{record.deviceOrderCode,jdbcType=VARCHAR},-->
<!-- device_order_value = #{record.deviceOrderValue,jdbcType=VARCHAR},-->
<!-- createtime = #{record.createtime,jdbcType=TIMESTAMP},-->
<!-- updatetime = #{record.updatetime,jdbcType=TIMESTAMP},-->
<!-- product_key = #{record.productKey,jdbcType=VARCHAR}-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByPrimaryKeySelective"-->
<!-- parameterType="com.glsx.smart.entity.SmartDevideStatus">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_devide_status-->
<!-- <set>-->
<!-- <if test="deviceId != null and deviceId != ''">-->
<!-- device_id = #{deviceId,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="uid != null and uid != ''">-->
<!-- `uid` = #{uid,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="deviceOrderCode != null and deviceOrderCode != ''">-->
<!-- device_order_code = #{deviceOrderCode,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="deviceOrderValue != null and deviceOrderValue != ''">-->
<!-- device_order_value = #{deviceOrderValue,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="createtime != null">-->
<!-- createtime = #{createtime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="updatetime != null">-->
<!-- updatetime = #{updatetime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="productKey != null and productKey != ''">-->
<!-- product_key = #{productKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- </set>-->
<!-- where id = #{id,jdbcType=INTEGER}-->
<!--</update>-->
<!--<update id="updateByPrimaryKey" parameterType="com.glsx.smart.entity.SmartDevideStatus">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_devide_status-->
<!-- set device_id = #{deviceId,jdbcType=VARCHAR},-->
<!-- `uid` = #{uid,jdbcType=VARCHAR},-->
<!-- device_order_code = #{deviceOrderCode,jdbcType=VARCHAR},-->
<!-- device_order_value = #{deviceOrderValue,jdbcType=VARCHAR},-->
<!-- createtime = #{createtime,jdbcType=TIMESTAMP},-->
<!-- updatetime = #{updatetime,jdbcType=TIMESTAMP},-->
<!-- product_key = #{productKey,jdbcType=VARCHAR}-->
<!-- where id = #{id,jdbcType=INTEGER}-->
<!--</update>-->
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_devide_status
update smart_devide_status
...
...
src/main/resources/mapper/SmartProductMapper.xml
View file @
e5c0959
...
@@ -20,357 +20,11 @@
...
@@ -20,357 +20,11 @@
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_by"
jdbcType=
"BIGINT"
property=
"updateBy"
/>
<result
column=
"update_by"
jdbcType=
"BIGINT"
property=
"updateBy"
/>
</resultMap>
</resultMap>
<!--<sql id="Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<!--<sql id="Update_By_Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="example.oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
id, product_name, icon, type_id, shop_product_id, platform_key, platform_product_id,
id, product_name, icon, type_id, shop_product_id, platform_key, platform_product_id,
network_key, `status`, remark, create_time, create_by, update_time, update_by
network_key, `status`, remark, create_time, create_by, update_time, update_by
</sql>
</sql>
<!--<select id="selectByExample" parameterType="com.glsx.smart.entity.SmartProductExample"-->
<!-- resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <if test="distinct">-->
<!-- distinct-->
<!-- </if>-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_product-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!-- <if test="orderByClause != null">-->
<!-- order by ${orderByClause}-->
<!-- </if>-->
<!--</select>-->
<!--<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_product-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</select>-->
<!--<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_product-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</delete>-->
<!--<delete id="deleteByExample" parameterType="com.glsx.smart.entity.SmartProductExample">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_product-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</delete>-->
<!--<insert id="insert" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartProduct" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_product (product_name, icon, type_id,-->
<!-- shop_product_id, platform_key, platform_product_id,-->
<!-- network_key, `status`, remark,-->
<!-- create_time, create_by, update_time,-->
<!-- update_by)-->
<!-- values (#{productName,jdbcType=VARCHAR}, #{icon,jdbcType=BIGINT}, #{typeId,jdbcType=BIGINT},-->
<!-- #{shopProductId,jdbcType=VARCHAR}, #{platformKey,jdbcType=VARCHAR},-->
<!-- #{platformProductId,jdbcType=VARCHAR},-->
<!-- #{networkKey,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT}, #{remark,jdbcType=VARCHAR},-->
<!-- #{createTime,jdbcType=TIMESTAMP}, #{createBy,jdbcType=BIGINT},-->
<!-- #{updateTime,jdbcType=TIMESTAMP},-->
<!-- #{updateBy,jdbcType=BIGINT})-->
<!--</insert>-->
<!--<insert id="insertSelective" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartProduct" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_product-->
<!-- <trim prefix="(" suffix=")" suffixOverrides=",">-->
<!-- <if test="productName != null and productName != ''">-->
<!-- product_name,-->
<!-- </if>-->
<!-- <if test="icon != null">-->
<!-- icon,-->
<!-- </if>-->
<!-- <if test="typeId != null">-->
<!-- type_id,-->
<!-- </if>-->
<!-- <if test="shopProductId != null and shopProductId != ''">-->
<!-- shop_product_id,-->
<!-- </if>-->
<!-- <if test="platformKey != null and platformKey != ''">-->
<!-- platform_key,-->
<!-- </if>-->
<!-- <if test="platformProductId != null and platformProductId != ''">-->
<!-- platform_product_id,-->
<!-- </if>-->
<!-- <if test="networkKey != null and networkKey != ''">-->
<!-- network_key,-->
<!-- </if>-->
<!-- <if test="status != null">-->
<!-- `status`,-->
<!-- </if>-->
<!-- <if test="remark != null and remark != ''">-->
<!-- remark,-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- create_time,-->
<!-- </if>-->
<!-- <if test="createBy != null">-->
<!-- create_by,-->
<!-- </if>-->
<!-- <if test="updateTime != null">-->
<!-- update_time,-->
<!-- </if>-->
<!-- <if test="updateBy != null">-->
<!-- update_by,-->
<!-- </if>-->
<!-- </trim>-->
<!-- <trim prefix="values (" suffix=")" suffixOverrides=",">-->
<!-- <if test="productName != null and productName != ''">-->
<!-- #{productName,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="icon != null">-->
<!-- #{icon,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="typeId != null">-->
<!-- #{typeId,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="shopProductId != null and shopProductId != ''">-->
<!-- #{shopProductId,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="platformKey != null and platformKey != ''">-->
<!-- #{platformKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="platformProductId != null and platformProductId != ''">-->
<!-- #{platformProductId,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="networkKey != null and networkKey != ''">-->
<!-- #{networkKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="status != null">-->
<!-- #{status,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="remark != null and remark != ''">-->
<!-- #{remark,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- #{createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="createBy != null">-->
<!-- #{createBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="updateTime != null">-->
<!-- #{updateTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="updateBy != null">-->
<!-- #{updateBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- </trim>-->
<!--</insert>-->
<!--<select id="countByExample" parameterType="com.glsx.smart.entity.SmartProductExample"-->
<!-- resultType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- select count(*) from smart_product-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</select>-->
<!--<update id="updateByExampleSelective" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_product-->
<!-- <set>-->
<!-- <if test="record.id != null">-->
<!-- id = #{record.id,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.productName != null">-->
<!-- product_name = #{record.productName,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.icon != null">-->
<!-- icon = #{record.icon,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.typeId != null">-->
<!-- type_id = #{record.typeId,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.shopProductId != null">-->
<!-- shop_product_id = #{record.shopProductId,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.platformKey != null">-->
<!-- platform_key = #{record.platformKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.platformProductId != null">-->
<!-- platform_product_id = #{record.platformProductId,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.networkKey != null">-->
<!-- network_key = #{record.networkKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.status != null">-->
<!-- `status` = #{record.status,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="record.remark != null">-->
<!-- remark = #{record.remark,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.createTime != null">-->
<!-- create_time = #{record.createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="record.createBy != null">-->
<!-- create_by = #{record.createBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.updateTime != null">-->
<!-- update_time = #{record.updateTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="record.updateBy != null">-->
<!-- update_by = #{record.updateBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- </set>-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByExample" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_product-->
<!-- set id = #{record.id,jdbcType=BIGINT},-->
<!-- product_name = #{record.productName,jdbcType=VARCHAR},-->
<!-- icon = #{record.icon,jdbcType=BIGINT},-->
<!-- type_id = #{record.typeId,jdbcType=BIGINT},-->
<!-- shop_product_id = #{record.shopProductId,jdbcType=VARCHAR},-->
<!-- platform_key = #{record.platformKey,jdbcType=VARCHAR},-->
<!-- platform_product_id = #{record.platformProductId,jdbcType=VARCHAR},-->
<!-- network_key = #{record.networkKey,jdbcType=VARCHAR},-->
<!-- `status` = #{record.status,jdbcType=TINYINT},-->
<!-- remark = #{record.remark,jdbcType=VARCHAR},-->
<!-- create_time = #{record.createTime,jdbcType=TIMESTAMP},-->
<!-- create_by = #{record.createBy,jdbcType=BIGINT},-->
<!-- update_time = #{record.updateTime,jdbcType=TIMESTAMP},-->
<!-- update_by = #{record.updateBy,jdbcType=BIGINT}-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByPrimaryKeySelective" parameterType="com.glsx.smart.entity.SmartProduct">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_product-->
<!-- <set>-->
<!-- <if test="productName != null and productName != ''">-->
<!-- product_name = #{productName,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="icon != null">-->
<!-- icon = #{icon,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="typeId != null">-->
<!-- type_id = #{typeId,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="shopProductId != null and shopProductId != ''">-->
<!-- shop_product_id = #{shopProductId,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="platformKey != null and platformKey != ''">-->
<!-- platform_key = #{platformKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="platformProductId != null and platformProductId != ''">-->
<!-- platform_product_id = #{platformProductId,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="networkKey != null and networkKey != ''">-->
<!-- network_key = #{networkKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="status != null">-->
<!-- `status` = #{status,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="remark != null and remark != ''">-->
<!-- remark = #{remark,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- create_time = #{createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="createBy != null">-->
<!-- create_by = #{createBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="updateTime != null">-->
<!-- update_time = #{updateTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="updateBy != null">-->
<!-- update_by = #{updateBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- </set>-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<!--<update id="updateByPrimaryKey" parameterType="com.glsx.smart.entity.SmartProduct">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_product-->
<!-- set product_name = #{productName,jdbcType=VARCHAR},-->
<!-- icon = #{icon,jdbcType=BIGINT},-->
<!-- type_id = #{typeId,jdbcType=BIGINT},-->
<!-- shop_product_id = #{shopProductId,jdbcType=VARCHAR},-->
<!-- platform_key = #{platformKey,jdbcType=VARCHAR},-->
<!-- platform_product_id = #{platformProductId,jdbcType=VARCHAR},-->
<!-- network_key = #{networkKey,jdbcType=VARCHAR},-->
<!-- `status` = #{status,jdbcType=TINYINT},-->
<!-- remark = #{remark,jdbcType=VARCHAR},-->
<!-- create_time = #{createTime,jdbcType=TIMESTAMP},-->
<!-- create_by = #{createBy,jdbcType=BIGINT},-->
<!-- update_time = #{updateTime,jdbcType=TIMESTAMP},-->
<!-- update_by = #{updateBy,jdbcType=BIGINT}-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_product
update smart_product
...
...
src/main/resources/mapper/SmartProductTypeMapper.xml
View file @
e5c0959
...
@@ -15,282 +15,11 @@
...
@@ -15,282 +15,11 @@
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_by"
jdbcType=
"BIGINT"
property=
"updateBy"
/>
<result
column=
"update_by"
jdbcType=
"BIGINT"
property=
"updateBy"
/>
</resultMap>
</resultMap>
<!--<sql id="Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<!--<sql id="Update_By_Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="example.oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
id, type_name, category_key, shop_tag, remark, create_time, create_by, update_time,
id, type_name, category_key, shop_tag, remark, create_time, create_by, update_time,
update_by
update_by
</sql>
</sql>
<!--<select id="selectByExample" parameterType="com.glsx.smart.entity.SmartProductTypeExample"-->
<!-- resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <if test="distinct">-->
<!-- distinct-->
<!-- </if>-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_product_type-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!-- <if test="orderByClause != null">-->
<!-- order by ${orderByClause}-->
<!-- </if>-->
<!--</select>-->
<!--<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_product_type-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</select>-->
<!--<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_product_type-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</delete>-->
<!--<delete id="deleteByExample" parameterType="com.glsx.smart.entity.SmartProductTypeExample">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_product_type-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</delete>-->
<!--<insert id="insert" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartProductType" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_product_type (type_name, category_key, shop_tag,-->
<!-- remark, create_time, create_by,-->
<!-- update_time, update_by)-->
<!-- values (#{typeName,jdbcType=VARCHAR}, #{categoryKey,jdbcType=VARCHAR},-->
<!-- #{shopTag,jdbcType=VARCHAR},-->
<!-- #{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{createBy,jdbcType=BIGINT},-->
<!-- #{updateTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=BIGINT})-->
<!--</insert>-->
<!--<insert id="insertSelective" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartProductType" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_product_type-->
<!-- <trim prefix="(" suffix=")" suffixOverrides=",">-->
<!-- <if test="typeName != null and typeName != ''">-->
<!-- type_name,-->
<!-- </if>-->
<!-- <if test="categoryKey != null and categoryKey != ''">-->
<!-- category_key,-->
<!-- </if>-->
<!-- <if test="shopTag != null and shopTag != ''">-->
<!-- shop_tag,-->
<!-- </if>-->
<!-- <if test="remark != null and remark != ''">-->
<!-- remark,-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- create_time,-->
<!-- </if>-->
<!-- <if test="createBy != null">-->
<!-- create_by,-->
<!-- </if>-->
<!-- <if test="updateTime != null">-->
<!-- update_time,-->
<!-- </if>-->
<!-- <if test="updateBy != null">-->
<!-- update_by,-->
<!-- </if>-->
<!-- </trim>-->
<!-- <trim prefix="values (" suffix=")" suffixOverrides=",">-->
<!-- <if test="typeName != null and typeName != ''">-->
<!-- #{typeName,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="categoryKey != null and categoryKey != ''">-->
<!-- #{categoryKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="shopTag != null and shopTag != ''">-->
<!-- #{shopTag,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="remark != null and remark != ''">-->
<!-- #{remark,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- #{createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="createBy != null">-->
<!-- #{createBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="updateTime != null">-->
<!-- #{updateTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="updateBy != null">-->
<!-- #{updateBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- </trim>-->
<!--</insert>-->
<!--<select id="countByExample" parameterType="com.glsx.smart.entity.SmartProductTypeExample"-->
<!-- resultType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- select count(*) from smart_product_type-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</select>-->
<!--<update id="updateByExampleSelective" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_product_type-->
<!-- <set>-->
<!-- <if test="record.id != null">-->
<!-- id = #{record.id,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.typeName != null">-->
<!-- type_name = #{record.typeName,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.categoryKey != null">-->
<!-- category_key = #{record.categoryKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.shopTag != null">-->
<!-- shop_tag = #{record.shopTag,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.remark != null">-->
<!-- remark = #{record.remark,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.createTime != null">-->
<!-- create_time = #{record.createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="record.createBy != null">-->
<!-- create_by = #{record.createBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.updateTime != null">-->
<!-- update_time = #{record.updateTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="record.updateBy != null">-->
<!-- update_by = #{record.updateBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- </set>-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByExample" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_product_type-->
<!-- set id = #{record.id,jdbcType=BIGINT},-->
<!-- type_name = #{record.typeName,jdbcType=VARCHAR},-->
<!-- category_key = #{record.categoryKey,jdbcType=VARCHAR},-->
<!-- shop_tag = #{record.shopTag,jdbcType=VARCHAR},-->
<!-- remark = #{record.remark,jdbcType=VARCHAR},-->
<!-- create_time = #{record.createTime,jdbcType=TIMESTAMP},-->
<!-- create_by = #{record.createBy,jdbcType=BIGINT},-->
<!-- update_time = #{record.updateTime,jdbcType=TIMESTAMP},-->
<!-- update_by = #{record.updateBy,jdbcType=BIGINT}-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByPrimaryKeySelective" parameterType="com.glsx.smart.entity.SmartProductType">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_product_type-->
<!-- <set>-->
<!-- <if test="typeName != null and typeName != ''">-->
<!-- type_name = #{typeName,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="categoryKey != null and categoryKey != ''">-->
<!-- category_key = #{categoryKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="shopTag != null and shopTag != ''">-->
<!-- shop_tag = #{shopTag,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="remark != null and remark != ''">-->
<!-- remark = #{remark,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- create_time = #{createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="createBy != null">-->
<!-- create_by = #{createBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="updateTime != null">-->
<!-- update_time = #{updateTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="updateBy != null">-->
<!-- update_by = #{updateBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- </set>-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<!--<update id="updateByPrimaryKey" parameterType="com.glsx.smart.entity.SmartProductType">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_product_type-->
<!-- set type_name = #{typeName,jdbcType=VARCHAR},-->
<!-- category_key = #{categoryKey,jdbcType=VARCHAR},-->
<!-- shop_tag = #{shopTag,jdbcType=VARCHAR},-->
<!-- remark = #{remark,jdbcType=VARCHAR},-->
<!-- create_time = #{createTime,jdbcType=TIMESTAMP},-->
<!-- create_by = #{createBy,jdbcType=BIGINT},-->
<!-- update_time = #{updateTime,jdbcType=TIMESTAMP},-->
<!-- update_by = #{updateBy,jdbcType=BIGINT}-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_product_type
update smart_product_type
...
...
src/main/resources/mapper/SmartProductTypeParamMapper.xml
View file @
e5c0959
...
@@ -12,238 +12,10 @@
...
@@ -12,238 +12,10 @@
<result
column=
"status"
jdbcType=
"VARCHAR"
property=
"status"
/>
<result
column=
"status"
jdbcType=
"VARCHAR"
property=
"status"
/>
<result
column=
"devide_order_valuetype"
jdbcType=
"VARCHAR"
property=
"devideOrderValuetype"
/>
<result
column=
"devide_order_valuetype"
jdbcType=
"VARCHAR"
property=
"devideOrderValuetype"
/>
</resultMap>
</resultMap>
<!--<sql id="Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<!--<sql id="Update_By_Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="example.oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
id, type_id, devide_order_code, devide_order_name, `status`, devide_order_valuetype
id, type_id, devide_order_code, devide_order_name, `status`, devide_order_valuetype
</sql>
</sql>
<!--<select id="selectByExample" parameterType="com.glsx.smart.entity.SmartProductTypeParamExample"-->
<!-- resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <if test="distinct">-->
<!-- distinct-->
<!-- </if>-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_product_type_param-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!-- <if test="orderByClause != null">-->
<!-- order by ${orderByClause}-->
<!-- </if>-->
<!--</select>-->
<!--<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_product_type_param-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</select>-->
<!--<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_product_type_param-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</delete>-->
<!--<delete id="deleteByExample" parameterType="com.glsx.smart.entity.SmartProductTypeParamExample">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_product_type_param-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</delete>-->
<!--<insert id="insert" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartProductTypeParam" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_product_type_param (type_id, devide_order_code, devide_order_name,-->
<!-- `status`, devide_order_valuetype)-->
<!-- values (#{typeId,jdbcType=BIGINT}, #{devideOrderCode,jdbcType=VARCHAR},-->
<!-- #{devideOrderName,jdbcType=VARCHAR},-->
<!-- #{status,jdbcType=VARCHAR}, #{devideOrderValuetype,jdbcType=VARCHAR})-->
<!--</insert>-->
<!--<insert id="insertSelective" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartProductTypeParam" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_product_type_param-->
<!-- <trim prefix="(" suffix=")" suffixOverrides=",">-->
<!-- <if test="typeId != null">-->
<!-- type_id,-->
<!-- </if>-->
<!-- <if test="devideOrderCode != null and devideOrderCode != ''">-->
<!-- devide_order_code,-->
<!-- </if>-->
<!-- <if test="devideOrderName != null and devideOrderName != ''">-->
<!-- devide_order_name,-->
<!-- </if>-->
<!-- <if test="status != null and status != ''">-->
<!-- `status`,-->
<!-- </if>-->
<!-- <if test="devideOrderValuetype != null and devideOrderValuetype != ''">-->
<!-- devide_order_valuetype,-->
<!-- </if>-->
<!-- </trim>-->
<!-- <trim prefix="values (" suffix=")" suffixOverrides=",">-->
<!-- <if test="typeId != null">-->
<!-- #{typeId,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="devideOrderCode != null and devideOrderCode != ''">-->
<!-- #{devideOrderCode,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="devideOrderName != null and devideOrderName != ''">-->
<!-- #{devideOrderName,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="status != null and status != ''">-->
<!-- #{status,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="devideOrderValuetype != null and devideOrderValuetype != ''">-->
<!-- #{devideOrderValuetype,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- </trim>-->
<!--</insert>-->
<!--<select id="countByExample" parameterType="com.glsx.smart.entity.SmartProductTypeParamExample"-->
<!-- resultType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- select count(*) from smart_product_type_param-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</select>-->
<!--<update id="updateByExampleSelective" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_product_type_param-->
<!-- <set>-->
<!-- <if test="record.id != null">-->
<!-- id = #{record.id,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.typeId != null">-->
<!-- type_id = #{record.typeId,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.devideOrderCode != null">-->
<!-- devide_order_code = #{record.devideOrderCode,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.devideOrderName != null">-->
<!-- devide_order_name = #{record.devideOrderName,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.status != null">-->
<!-- `status` = #{record.status,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.devideOrderValuetype != null">-->
<!-- devide_order_valuetype = #{record.devideOrderValuetype,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- </set>-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByExample" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_product_type_param-->
<!-- set id = #{record.id,jdbcType=BIGINT},-->
<!-- type_id = #{record.typeId,jdbcType=BIGINT},-->
<!-- devide_order_code = #{record.devideOrderCode,jdbcType=VARCHAR},-->
<!-- devide_order_name = #{record.devideOrderName,jdbcType=VARCHAR},-->
<!-- `status` = #{record.status,jdbcType=VARCHAR},-->
<!-- devide_order_valuetype = #{record.devideOrderValuetype,jdbcType=VARCHAR}-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByPrimaryKeySelective"-->
<!-- parameterType="com.glsx.smart.entity.SmartProductTypeParam">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_product_type_param-->
<!-- <set>-->
<!-- <if test="typeId != null">-->
<!-- type_id = #{typeId,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="devideOrderCode != null and devideOrderCode != ''">-->
<!-- devide_order_code = #{devideOrderCode,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="devideOrderName != null and devideOrderName != ''">-->
<!-- devide_order_name = #{devideOrderName,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="status != null and status != ''">-->
<!-- `status` = #{status,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="devideOrderValuetype != null and devideOrderValuetype != ''">-->
<!-- devide_order_valuetype = #{devideOrderValuetype,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- </set>-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<!--<update id="updateByPrimaryKey" parameterType="com.glsx.smart.entity.SmartProductTypeParam">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_product_type_param-->
<!-- set type_id = #{typeId,jdbcType=BIGINT},-->
<!-- devide_order_code = #{devideOrderCode,jdbcType=VARCHAR},-->
<!-- devide_order_name = #{devideOrderName,jdbcType=VARCHAR},-->
<!-- `status` = #{status,jdbcType=VARCHAR},-->
<!-- devide_order_valuetype = #{devideOrderValuetype,jdbcType=VARCHAR}-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_product_type_param
update smart_product_type_param
...
...
src/main/resources/mapper/SmartScenseDataMapper.xml
View file @
e5c0959
...
@@ -12,236 +12,10 @@
...
@@ -12,236 +12,10 @@
<result
column=
"param_key"
jdbcType=
"VARCHAR"
property=
"paramKey"
/>
<result
column=
"param_key"
jdbcType=
"VARCHAR"
property=
"paramKey"
/>
<result
column=
"param_value"
jdbcType=
"VARCHAR"
property=
"paramValue"
/>
<result
column=
"param_value"
jdbcType=
"VARCHAR"
property=
"paramValue"
/>
</resultMap>
</resultMap>
<!--<sql id="Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<!--<sql id="Update_By_Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="example.oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
id, template_id, `type`, sort, param_key, param_value
id, template_id, `type`, sort, param_key, param_value
</sql>
</sql>
<!--<select id="selectByExample" parameterType="com.glsx.smart.entity.SmartScenseDataExample"-->
<!-- resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <if test="distinct">-->
<!-- distinct-->
<!-- </if>-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_scense_data-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!-- <if test="orderByClause != null">-->
<!-- order by ${orderByClause}-->
<!-- </if>-->
<!--</select>-->
<!--<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_scense_data-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</select>-->
<!--<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_scense_data-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</delete>-->
<!--<delete id="deleteByExample" parameterType="com.glsx.smart.entity.SmartScenseDataExample">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_scense_data-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</delete>-->
<!--<insert id="insert" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartScenseData" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_scense_data (template_id, `type`, sort,-->
<!-- param_key, param_value)-->
<!-- values (#{templateId,jdbcType=BIGINT}, #{type,jdbcType=TINYINT}, #{sort,jdbcType=TINYINT},-->
<!-- #{paramKey,jdbcType=VARCHAR}, #{paramValue,jdbcType=VARCHAR})-->
<!--</insert>-->
<!--<insert id="insertSelective" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartScenseData" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_scense_data-->
<!-- <trim prefix="(" suffix=")" suffixOverrides=",">-->
<!-- <if test="templateId != null">-->
<!-- template_id,-->
<!-- </if>-->
<!-- <if test="type != null">-->
<!-- `type`,-->
<!-- </if>-->
<!-- <if test="sort != null">-->
<!-- sort,-->
<!-- </if>-->
<!-- <if test="paramKey != null and paramKey != ''">-->
<!-- param_key,-->
<!-- </if>-->
<!-- <if test="paramValue != null and paramValue != ''">-->
<!-- param_value,-->
<!-- </if>-->
<!-- </trim>-->
<!-- <trim prefix="values (" suffix=")" suffixOverrides=",">-->
<!-- <if test="templateId != null">-->
<!-- #{templateId,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="type != null">-->
<!-- #{type,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="sort != null">-->
<!-- #{sort,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="paramKey != null and paramKey != ''">-->
<!-- #{paramKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="paramValue != null and paramValue != ''">-->
<!-- #{paramValue,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- </trim>-->
<!--</insert>-->
<!--<select id="countByExample" parameterType="com.glsx.smart.entity.SmartScenseDataExample"-->
<!-- resultType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- select count(*) from smart_scense_data-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</select>-->
<!--<update id="updateByExampleSelective" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_scense_data-->
<!-- <set>-->
<!-- <if test="record.id != null">-->
<!-- id = #{record.id,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.templateId != null">-->
<!-- template_id = #{record.templateId,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.type != null">-->
<!-- `type` = #{record.type,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="record.sort != null">-->
<!-- sort = #{record.sort,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="record.paramKey != null">-->
<!-- param_key = #{record.paramKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.paramValue != null">-->
<!-- param_value = #{record.paramValue,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- </set>-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByExample" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_scense_data-->
<!-- set id = #{record.id,jdbcType=BIGINT},-->
<!-- template_id = #{record.templateId,jdbcType=BIGINT},-->
<!-- `type` = #{record.type,jdbcType=TINYINT},-->
<!-- sort = #{record.sort,jdbcType=TINYINT},-->
<!-- param_key = #{record.paramKey,jdbcType=VARCHAR},-->
<!-- param_value = #{record.paramValue,jdbcType=VARCHAR}-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByPrimaryKeySelective" parameterType="com.glsx.smart.entity.SmartScenseData">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_scense_data-->
<!-- <set>-->
<!-- <if test="templateId != null">-->
<!-- template_id = #{templateId,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="type != null">-->
<!-- `type` = #{type,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="sort != null">-->
<!-- sort = #{sort,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="paramKey != null and paramKey != ''">-->
<!-- param_key = #{paramKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="paramValue != null and paramValue != ''">-->
<!-- param_value = #{paramValue,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- </set>-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<!--<update id="updateByPrimaryKey" parameterType="com.glsx.smart.entity.SmartScenseData">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_scense_data-->
<!-- set template_id = #{templateId,jdbcType=BIGINT},-->
<!-- `type` = #{type,jdbcType=TINYINT},-->
<!-- sort = #{sort,jdbcType=TINYINT},-->
<!-- param_key = #{paramKey,jdbcType=VARCHAR},-->
<!-- param_value = #{paramValue,jdbcType=VARCHAR}-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_scense_data
update smart_scense_data
...
...
src/main/resources/mapper/SmartScenseMapper.xml
View file @
e5c0959
...
@@ -20,357 +20,11 @@
...
@@ -20,357 +20,11 @@
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
</resultMap>
</resultMap>
<!--<sql id="Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<!--<sql id="Update_By_Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="example.oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
id, user_id, scenes_name, type_key, icon, back_pic, view_times, description, condition_rule,
id, user_id, scenes_name, type_key, icon, back_pic, view_times, description, condition_rule,
execute_cycle, `status`, remark, create_time, update_time
execute_cycle, `status`, remark, create_time, update_time
</sql>
</sql>
<!--<select id="selectByExample" parameterType="com.glsx.smart.entity.SmartScenseExample"-->
<!-- resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <if test="distinct">-->
<!-- distinct-->
<!-- </if>-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_scense-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!-- <if test="orderByClause != null">-->
<!-- order by ${orderByClause}-->
<!-- </if>-->
<!--</select>-->
<!--<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_scense-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</select>-->
<!--<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_scense-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</delete>-->
<!--<delete id="deleteByExample" parameterType="com.glsx.smart.entity.SmartScenseExample">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_scense-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</delete>-->
<!--<insert id="insert" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartScense" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_scense (user_id, scenes_name, type_key,-->
<!-- icon, back_pic, view_times,-->
<!-- description, condition_rule, execute_cycle,-->
<!-- `status`, remark, create_time,-->
<!-- update_time)-->
<!-- values (#{userId,jdbcType=BIGINT}, #{scenesName,jdbcType=VARCHAR},-->
<!-- #{typeKey,jdbcType=VARCHAR},-->
<!-- #{icon,jdbcType=BIGINT}, #{backPic,jdbcType=BIGINT}, #{viewTimes,jdbcType=BIGINT},-->
<!-- #{description,jdbcType=VARCHAR}, #{conditionRule,jdbcType=TINYINT},-->
<!-- #{executeCycle,jdbcType=TINYINT},-->
<!-- #{status,jdbcType=TINYINT}, #{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},-->
<!-- #{updateTime,jdbcType=TIMESTAMP})-->
<!--</insert>-->
<!--<insert id="insertSelective" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartScense" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_scense-->
<!-- <trim prefix="(" suffix=")" suffixOverrides=",">-->
<!-- <if test="userId != null">-->
<!-- user_id,-->
<!-- </if>-->
<!-- <if test="scenesName != null and scenesName != ''">-->
<!-- scenes_name,-->
<!-- </if>-->
<!-- <if test="typeKey != null and typeKey != ''">-->
<!-- type_key,-->
<!-- </if>-->
<!-- <if test="icon != null">-->
<!-- icon,-->
<!-- </if>-->
<!-- <if test="backPic != null">-->
<!-- back_pic,-->
<!-- </if>-->
<!-- <if test="viewTimes != null">-->
<!-- view_times,-->
<!-- </if>-->
<!-- <if test="description != null and description != ''">-->
<!-- description,-->
<!-- </if>-->
<!-- <if test="conditionRule != null">-->
<!-- condition_rule,-->
<!-- </if>-->
<!-- <if test="executeCycle != null">-->
<!-- execute_cycle,-->
<!-- </if>-->
<!-- <if test="status != null">-->
<!-- `status`,-->
<!-- </if>-->
<!-- <if test="remark != null and remark != ''">-->
<!-- remark,-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- create_time,-->
<!-- </if>-->
<!-- <if test="updateTime != null">-->
<!-- update_time,-->
<!-- </if>-->
<!-- </trim>-->
<!-- <trim prefix="values (" suffix=")" suffixOverrides=",">-->
<!-- <if test="userId != null">-->
<!-- #{userId,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="scenesName != null and scenesName != ''">-->
<!-- #{scenesName,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="typeKey != null and typeKey != ''">-->
<!-- #{typeKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="icon != null">-->
<!-- #{icon,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="backPic != null">-->
<!-- #{backPic,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="viewTimes != null">-->
<!-- #{viewTimes,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="description != null and description != ''">-->
<!-- #{description,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="conditionRule != null">-->
<!-- #{conditionRule,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="executeCycle != null">-->
<!-- #{executeCycle,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="status != null">-->
<!-- #{status,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="remark != null and remark != ''">-->
<!-- #{remark,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- #{createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="updateTime != null">-->
<!-- #{updateTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- </trim>-->
<!--</insert>-->
<!--<select id="countByExample" parameterType="com.glsx.smart.entity.SmartScenseExample"-->
<!-- resultType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- select count(*) from smart_scense-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</select>-->
<!--<update id="updateByExampleSelective" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_scense-->
<!-- <set>-->
<!-- <if test="record.id != null">-->
<!-- id = #{record.id,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.userId != null">-->
<!-- user_id = #{record.userId,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.scenesName != null">-->
<!-- scenes_name = #{record.scenesName,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.typeKey != null">-->
<!-- type_key = #{record.typeKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.icon != null">-->
<!-- icon = #{record.icon,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.backPic != null">-->
<!-- back_pic = #{record.backPic,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.viewTimes != null">-->
<!-- view_times = #{record.viewTimes,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.description != null">-->
<!-- description = #{record.description,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.conditionRule != null">-->
<!-- condition_rule = #{record.conditionRule,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="record.executeCycle != null">-->
<!-- execute_cycle = #{record.executeCycle,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="record.status != null">-->
<!-- `status` = #{record.status,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="record.remark != null">-->
<!-- remark = #{record.remark,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.createTime != null">-->
<!-- create_time = #{record.createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="record.updateTime != null">-->
<!-- update_time = #{record.updateTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- </set>-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByExample" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_scense-->
<!-- set id = #{record.id,jdbcType=BIGINT},-->
<!-- user_id = #{record.userId,jdbcType=BIGINT},-->
<!-- scenes_name = #{record.scenesName,jdbcType=VARCHAR},-->
<!-- type_key = #{record.typeKey,jdbcType=VARCHAR},-->
<!-- icon = #{record.icon,jdbcType=BIGINT},-->
<!-- back_pic = #{record.backPic,jdbcType=BIGINT},-->
<!-- view_times = #{record.viewTimes,jdbcType=BIGINT},-->
<!-- description = #{record.description,jdbcType=VARCHAR},-->
<!-- condition_rule = #{record.conditionRule,jdbcType=TINYINT},-->
<!-- execute_cycle = #{record.executeCycle,jdbcType=TINYINT},-->
<!-- `status` = #{record.status,jdbcType=TINYINT},-->
<!-- remark = #{record.remark,jdbcType=VARCHAR},-->
<!-- create_time = #{record.createTime,jdbcType=TIMESTAMP},-->
<!-- update_time = #{record.updateTime,jdbcType=TIMESTAMP}-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByPrimaryKeySelective" parameterType="com.glsx.smart.entity.SmartScense">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_scense-->
<!-- <set>-->
<!-- <if test="userId != null">-->
<!-- user_id = #{userId,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="scenesName != null and scenesName != ''">-->
<!-- scenes_name = #{scenesName,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="typeKey != null and typeKey != ''">-->
<!-- type_key = #{typeKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="icon != null">-->
<!-- icon = #{icon,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="backPic != null">-->
<!-- back_pic = #{backPic,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="viewTimes != null">-->
<!-- view_times = #{viewTimes,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="description != null and description != ''">-->
<!-- description = #{description,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="conditionRule != null">-->
<!-- condition_rule = #{conditionRule,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="executeCycle != null">-->
<!-- execute_cycle = #{executeCycle,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="status != null">-->
<!-- `status` = #{status,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="remark != null and remark != ''">-->
<!-- remark = #{remark,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- create_time = #{createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="updateTime != null">-->
<!-- update_time = #{updateTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- </set>-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<!--<update id="updateByPrimaryKey" parameterType="com.glsx.smart.entity.SmartScense">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_scense-->
<!-- set user_id = #{userId,jdbcType=BIGINT},-->
<!-- scenes_name = #{scenesName,jdbcType=VARCHAR},-->
<!-- type_key = #{typeKey,jdbcType=VARCHAR},-->
<!-- icon = #{icon,jdbcType=BIGINT},-->
<!-- back_pic = #{backPic,jdbcType=BIGINT},-->
<!-- view_times = #{viewTimes,jdbcType=BIGINT},-->
<!-- description = #{description,jdbcType=VARCHAR},-->
<!-- condition_rule = #{conditionRule,jdbcType=TINYINT},-->
<!-- execute_cycle = #{executeCycle,jdbcType=TINYINT},-->
<!-- `status` = #{status,jdbcType=TINYINT},-->
<!-- remark = #{remark,jdbcType=VARCHAR},-->
<!-- create_time = #{createTime,jdbcType=TIMESTAMP},-->
<!-- update_time = #{updateTime,jdbcType=TIMESTAMP}-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_scense
update smart_scense
...
...
src/main/resources/mapper/SmartScenseTemplateMapper.xml
View file @
e5c0959
...
@@ -21,372 +21,11 @@
...
@@ -21,372 +21,11 @@
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_by"
jdbcType=
"BIGINT"
property=
"updateBy"
/>
<result
column=
"update_by"
jdbcType=
"BIGINT"
property=
"updateBy"
/>
</resultMap>
</resultMap>
<!--<sql id="Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<!--<sql id="Update_By_Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="example.oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
id, scenes_name, type_key, icon, back_pic, view_times, description, condition_rule,
id, scenes_name, type_key, icon, back_pic, view_times, description, condition_rule,
execute_cycle, `status`, remark, create_time, create_by, update_time, update_by
execute_cycle, `status`, remark, create_time, create_by, update_time, update_by
</sql>
</sql>
<!--<select id="selectByExample" parameterType="com.glsx.smart.entity.SmartScenseTemplateExample"-->
<!-- resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <if test="distinct">-->
<!-- distinct-->
<!-- </if>-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_scense_template-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!-- <if test="orderByClause != null">-->
<!-- order by ${orderByClause}-->
<!-- </if>-->
<!--</select>-->
<!--<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_scense_template-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</select>-->
<!--<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_scense_template-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</delete>-->
<!--<delete id="deleteByExample" parameterType="com.glsx.smart.entity.SmartScenseTemplateExample">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_scense_template-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</delete>-->
<!--<insert id="insert" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartScenseTemplate" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_scense_template (scenes_name, type_key, icon,-->
<!-- back_pic, view_times, description,-->
<!-- condition_rule, execute_cycle, `status`,-->
<!-- remark, create_time, create_by,-->
<!-- update_time, update_by)-->
<!-- values (#{scenesName,jdbcType=VARCHAR}, #{typeKey,jdbcType=VARCHAR},-->
<!-- #{icon,jdbcType=BIGINT},-->
<!-- #{backPic,jdbcType=BIGINT}, #{viewTimes,jdbcType=BIGINT}, #{description,jdbcType=VARCHAR},-->
<!-- #{conditionRule,jdbcType=TINYINT}, #{executeCycle,jdbcType=TINYINT},-->
<!-- #{status,jdbcType=TINYINT},-->
<!-- #{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{createBy,jdbcType=BIGINT},-->
<!-- #{updateTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=BIGINT})-->
<!--</insert>-->
<!--<insert id="insertSelective" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartScenseTemplate" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_scense_template-->
<!-- <trim prefix="(" suffix=")" suffixOverrides=",">-->
<!-- <if test="scenesName != null and scenesName != ''">-->
<!-- scenes_name,-->
<!-- </if>-->
<!-- <if test="typeKey != null and typeKey != ''">-->
<!-- type_key,-->
<!-- </if>-->
<!-- <if test="icon != null">-->
<!-- icon,-->
<!-- </if>-->
<!-- <if test="backPic != null">-->
<!-- back_pic,-->
<!-- </if>-->
<!-- <if test="viewTimes != null">-->
<!-- view_times,-->
<!-- </if>-->
<!-- <if test="description != null and description != ''">-->
<!-- description,-->
<!-- </if>-->
<!-- <if test="conditionRule != null">-->
<!-- condition_rule,-->
<!-- </if>-->
<!-- <if test="executeCycle != null">-->
<!-- execute_cycle,-->
<!-- </if>-->
<!-- <if test="status != null">-->
<!-- `status`,-->
<!-- </if>-->
<!-- <if test="remark != null and remark != ''">-->
<!-- remark,-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- create_time,-->
<!-- </if>-->
<!-- <if test="createBy != null">-->
<!-- create_by,-->
<!-- </if>-->
<!-- <if test="updateTime != null">-->
<!-- update_time,-->
<!-- </if>-->
<!-- <if test="updateBy != null">-->
<!-- update_by,-->
<!-- </if>-->
<!-- </trim>-->
<!-- <trim prefix="values (" suffix=")" suffixOverrides=",">-->
<!-- <if test="scenesName != null and scenesName != ''">-->
<!-- #{scenesName,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="typeKey != null and typeKey != ''">-->
<!-- #{typeKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="icon != null">-->
<!-- #{icon,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="backPic != null">-->
<!-- #{backPic,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="viewTimes != null">-->
<!-- #{viewTimes,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="description != null and description != ''">-->
<!-- #{description,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="conditionRule != null">-->
<!-- #{conditionRule,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="executeCycle != null">-->
<!-- #{executeCycle,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="status != null">-->
<!-- #{status,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="remark != null and remark != ''">-->
<!-- #{remark,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- #{createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="createBy != null">-->
<!-- #{createBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="updateTime != null">-->
<!-- #{updateTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="updateBy != null">-->
<!-- #{updateBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- </trim>-->
<!--</insert>-->
<!--<select id="countByExample" parameterType="com.glsx.smart.entity.SmartScenseTemplateExample"-->
<!-- resultType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- select count(*) from smart_scense_template-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</select>-->
<!--<update id="updateByExampleSelective" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_scense_template-->
<!-- <set>-->
<!-- <if test="record.id != null">-->
<!-- id = #{record.id,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.scenesName != null">-->
<!-- scenes_name = #{record.scenesName,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.typeKey != null">-->
<!-- type_key = #{record.typeKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.icon != null">-->
<!-- icon = #{record.icon,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.backPic != null">-->
<!-- back_pic = #{record.backPic,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.viewTimes != null">-->
<!-- view_times = #{record.viewTimes,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.description != null">-->
<!-- description = #{record.description,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.conditionRule != null">-->
<!-- condition_rule = #{record.conditionRule,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="record.executeCycle != null">-->
<!-- execute_cycle = #{record.executeCycle,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="record.status != null">-->
<!-- `status` = #{record.status,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="record.remark != null">-->
<!-- remark = #{record.remark,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.createTime != null">-->
<!-- create_time = #{record.createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="record.createBy != null">-->
<!-- create_by = #{record.createBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.updateTime != null">-->
<!-- update_time = #{record.updateTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="record.updateBy != null">-->
<!-- update_by = #{record.updateBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- </set>-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByExample" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_scense_template-->
<!-- set id = #{record.id,jdbcType=BIGINT},-->
<!-- scenes_name = #{record.scenesName,jdbcType=VARCHAR},-->
<!-- type_key = #{record.typeKey,jdbcType=VARCHAR},-->
<!-- icon = #{record.icon,jdbcType=BIGINT},-->
<!-- back_pic = #{record.backPic,jdbcType=BIGINT},-->
<!-- view_times = #{record.viewTimes,jdbcType=BIGINT},-->
<!-- description = #{record.description,jdbcType=VARCHAR},-->
<!-- condition_rule = #{record.conditionRule,jdbcType=TINYINT},-->
<!-- execute_cycle = #{record.executeCycle,jdbcType=TINYINT},-->
<!-- `status` = #{record.status,jdbcType=TINYINT},-->
<!-- remark = #{record.remark,jdbcType=VARCHAR},-->
<!-- create_time = #{record.createTime,jdbcType=TIMESTAMP},-->
<!-- create_by = #{record.createBy,jdbcType=BIGINT},-->
<!-- update_time = #{record.updateTime,jdbcType=TIMESTAMP},-->
<!-- update_by = #{record.updateBy,jdbcType=BIGINT}-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByPrimaryKeySelective"-->
<!-- parameterType="com.glsx.smart.entity.SmartScenseTemplate">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_scense_template-->
<!-- <set>-->
<!-- <if test="scenesName != null and scenesName != ''">-->
<!-- scenes_name = #{scenesName,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="typeKey != null and typeKey != ''">-->
<!-- type_key = #{typeKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="icon != null">-->
<!-- icon = #{icon,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="backPic != null">-->
<!-- back_pic = #{backPic,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="viewTimes != null">-->
<!-- view_times = #{viewTimes,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="description != null and description != ''">-->
<!-- description = #{description,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="conditionRule != null">-->
<!-- condition_rule = #{conditionRule,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="executeCycle != null">-->
<!-- execute_cycle = #{executeCycle,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="status != null">-->
<!-- `status` = #{status,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="remark != null and remark != ''">-->
<!-- remark = #{remark,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- create_time = #{createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="createBy != null">-->
<!-- create_by = #{createBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="updateTime != null">-->
<!-- update_time = #{updateTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="updateBy != null">-->
<!-- update_by = #{updateBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- </set>-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<!--<update id="updateByPrimaryKey" parameterType="com.glsx.smart.entity.SmartScenseTemplate">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_scense_template-->
<!-- set scenes_name = #{scenesName,jdbcType=VARCHAR},-->
<!-- type_key = #{typeKey,jdbcType=VARCHAR},-->
<!-- icon = #{icon,jdbcType=BIGINT},-->
<!-- back_pic = #{backPic,jdbcType=BIGINT},-->
<!-- view_times = #{viewTimes,jdbcType=BIGINT},-->
<!-- description = #{description,jdbcType=VARCHAR},-->
<!-- condition_rule = #{conditionRule,jdbcType=TINYINT},-->
<!-- execute_cycle = #{executeCycle,jdbcType=TINYINT},-->
<!-- `status` = #{status,jdbcType=TINYINT},-->
<!-- remark = #{remark,jdbcType=VARCHAR},-->
<!-- create_time = #{createTime,jdbcType=TIMESTAMP},-->
<!-- create_by = #{createBy,jdbcType=BIGINT},-->
<!-- update_time = #{updateTime,jdbcType=TIMESTAMP},-->
<!-- update_by = #{updateBy,jdbcType=BIGINT}-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_scense_template
update smart_scense_template
...
...
src/main/resources/mapper/SmartSysCodeMapper.xml
View file @
e5c0959
...
@@ -19,342 +19,11 @@
...
@@ -19,342 +19,11 @@
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_by"
jdbcType=
"BIGINT"
property=
"updateBy"
/>
<result
column=
"update_by"
jdbcType=
"BIGINT"
property=
"updateBy"
/>
</resultMap>
</resultMap>
<!--<sql id="Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<!--<sql id="Update_By_Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="example.oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
id, dict_type, dict_key, dict_value, parent_key, sort, `status`, `level`, remark,
id, dict_type, dict_key, dict_value, parent_key, sort, `status`, `level`, remark,
create_time, create_by, update_time, update_by
create_time, create_by, update_time, update_by
</sql>
</sql>
<!--<select id="selectByExample" parameterType="com.glsx.smart.entity.SmartSysCodeExample"-->
<!-- resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <if test="distinct">-->
<!-- distinct-->
<!-- </if>-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_sys_code-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!-- <if test="orderByClause != null">-->
<!-- order by ${orderByClause}-->
<!-- </if>-->
<!--</select>-->
<!--<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_sys_code-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</select>-->
<!--<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_sys_code-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</delete>-->
<!--<delete id="deleteByExample" parameterType="com.glsx.smart.entity.SmartSysCodeExample">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_sys_code-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</delete>-->
<!--<insert id="insert" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartSysCode" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_sys_code (dict_type, dict_key, dict_value,-->
<!-- parent_key, sort, `status`,-->
<!-- `level`, remark, create_time,-->
<!-- create_by, update_time, update_by-->
<!-- )-->
<!-- values (#{dictType,jdbcType=VARCHAR}, #{dictKey,jdbcType=VARCHAR},-->
<!-- #{dictValue,jdbcType=VARCHAR},-->
<!-- #{parentKey,jdbcType=VARCHAR}, #{sort,jdbcType=TINYINT}, #{status,jdbcType=TINYINT},-->
<!-- #{level,jdbcType=TINYINT}, #{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},-->
<!-- #{createBy,jdbcType=BIGINT}, #{updateTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=BIGINT}-->
<!-- )-->
<!--</insert>-->
<!--<insert id="insertSelective" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartSysCode" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_sys_code-->
<!-- <trim prefix="(" suffix=")" suffixOverrides=",">-->
<!-- <if test="dictType != null and dictType != ''">-->
<!-- dict_type,-->
<!-- </if>-->
<!-- <if test="dictKey != null and dictKey != ''">-->
<!-- dict_key,-->
<!-- </if>-->
<!-- <if test="dictValue != null and dictValue != ''">-->
<!-- dict_value,-->
<!-- </if>-->
<!-- <if test="parentKey != null and parentKey != ''">-->
<!-- parent_key,-->
<!-- </if>-->
<!-- <if test="sort != null">-->
<!-- sort,-->
<!-- </if>-->
<!-- <if test="status != null">-->
<!-- `status`,-->
<!-- </if>-->
<!-- <if test="level != null">-->
<!-- `level`,-->
<!-- </if>-->
<!-- <if test="remark != null and remark != ''">-->
<!-- remark,-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- create_time,-->
<!-- </if>-->
<!-- <if test="createBy != null">-->
<!-- create_by,-->
<!-- </if>-->
<!-- <if test="updateTime != null">-->
<!-- update_time,-->
<!-- </if>-->
<!-- <if test="updateBy != null">-->
<!-- update_by,-->
<!-- </if>-->
<!-- </trim>-->
<!-- <trim prefix="values (" suffix=")" suffixOverrides=",">-->
<!-- <if test="dictType != null and dictType != ''">-->
<!-- #{dictType,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="dictKey != null and dictKey != ''">-->
<!-- #{dictKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="dictValue != null and dictValue != ''">-->
<!-- #{dictValue,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="parentKey != null and parentKey != ''">-->
<!-- #{parentKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="sort != null">-->
<!-- #{sort,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="status != null">-->
<!-- #{status,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="level != null">-->
<!-- #{level,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="remark != null and remark != ''">-->
<!-- #{remark,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- #{createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="createBy != null">-->
<!-- #{createBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="updateTime != null">-->
<!-- #{updateTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="updateBy != null">-->
<!-- #{updateBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- </trim>-->
<!--</insert>-->
<!--<select id="countByExample" parameterType="com.glsx.smart.entity.SmartSysCodeExample"-->
<!-- resultType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- select count(*) from smart_sys_code-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</select>-->
<!--<update id="updateByExampleSelective" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_sys_code-->
<!-- <set>-->
<!-- <if test="record.id != null">-->
<!-- id = #{record.id,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.dictType != null">-->
<!-- dict_type = #{record.dictType,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.dictKey != null">-->
<!-- dict_key = #{record.dictKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.dictValue != null">-->
<!-- dict_value = #{record.dictValue,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.parentKey != null">-->
<!-- parent_key = #{record.parentKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.sort != null">-->
<!-- sort = #{record.sort,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="record.status != null">-->
<!-- `status` = #{record.status,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="record.level != null">-->
<!-- `level` = #{record.level,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="record.remark != null">-->
<!-- remark = #{record.remark,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.createTime != null">-->
<!-- create_time = #{record.createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="record.createBy != null">-->
<!-- create_by = #{record.createBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.updateTime != null">-->
<!-- update_time = #{record.updateTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="record.updateBy != null">-->
<!-- update_by = #{record.updateBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- </set>-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByExample" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_sys_code-->
<!-- set id = #{record.id,jdbcType=BIGINT},-->
<!-- dict_type = #{record.dictType,jdbcType=VARCHAR},-->
<!-- dict_key = #{record.dictKey,jdbcType=VARCHAR},-->
<!-- dict_value = #{record.dictValue,jdbcType=VARCHAR},-->
<!-- parent_key = #{record.parentKey,jdbcType=VARCHAR},-->
<!-- sort = #{record.sort,jdbcType=TINYINT},-->
<!-- `status` = #{record.status,jdbcType=TINYINT},-->
<!-- `level` = #{record.level,jdbcType=TINYINT},-->
<!-- remark = #{record.remark,jdbcType=VARCHAR},-->
<!-- create_time = #{record.createTime,jdbcType=TIMESTAMP},-->
<!-- create_by = #{record.createBy,jdbcType=BIGINT},-->
<!-- update_time = #{record.updateTime,jdbcType=TIMESTAMP},-->
<!-- update_by = #{record.updateBy,jdbcType=BIGINT}-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByPrimaryKeySelective" parameterType="com.glsx.smart.entity.SmartSysCode">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_sys_code-->
<!-- <set>-->
<!-- <if test="dictType != null and dictType != ''">-->
<!-- dict_type = #{dictType,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="dictKey != null and dictKey != ''">-->
<!-- dict_key = #{dictKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="dictValue != null and dictValue != ''">-->
<!-- dict_value = #{dictValue,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="parentKey != null and parentKey != ''">-->
<!-- parent_key = #{parentKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="sort != null">-->
<!-- sort = #{sort,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="status != null">-->
<!-- `status` = #{status,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="level != null">-->
<!-- `level` = #{level,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="remark != null and remark != ''">-->
<!-- remark = #{remark,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- create_time = #{createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="createBy != null">-->
<!-- create_by = #{createBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="updateTime != null">-->
<!-- update_time = #{updateTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- <if test="updateBy != null">-->
<!-- update_by = #{updateBy,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- </set>-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<!--<update id="updateByPrimaryKey" parameterType="com.glsx.smart.entity.SmartSysCode">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_sys_code-->
<!-- set dict_type = #{dictType,jdbcType=VARCHAR},-->
<!-- dict_key = #{dictKey,jdbcType=VARCHAR},-->
<!-- dict_value = #{dictValue,jdbcType=VARCHAR},-->
<!-- parent_key = #{parentKey,jdbcType=VARCHAR},-->
<!-- sort = #{sort,jdbcType=TINYINT},-->
<!-- `status` = #{status,jdbcType=TINYINT},-->
<!-- `level` = #{level,jdbcType=TINYINT},-->
<!-- remark = #{remark,jdbcType=VARCHAR},-->
<!-- create_time = #{createTime,jdbcType=TIMESTAMP},-->
<!-- create_by = #{createBy,jdbcType=BIGINT},-->
<!-- update_time = #{updateTime,jdbcType=TIMESTAMP},-->
<!-- update_by = #{updateBy,jdbcType=BIGINT}-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_sys_code
update smart_sys_code
...
...
src/main/resources/mapper/SmartSysFileMapper.xml
View file @
e5c0959
...
@@ -11,222 +11,10 @@
...
@@ -11,222 +11,10 @@
<result
column=
"type"
jdbcType=
"TINYINT"
property=
"type"
/>
<result
column=
"type"
jdbcType=
"TINYINT"
property=
"type"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
</resultMap>
</resultMap>
<!--<sql id="Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<!--<sql id="Update_By_Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="example.oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
id, `name`, url, `type`, create_time
id, `name`, url, `type`, create_time
</sql>
</sql>
<!--<select id="selectByExample" parameterType="com.glsx.smart.entity.SmartSysFileExample"-->
<!-- resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <if test="distinct">-->
<!-- distinct-->
<!-- </if>-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_sys_file-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!-- <if test="orderByClause != null">-->
<!-- order by ${orderByClause}-->
<!-- </if>-->
<!--</select>-->
<!--<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_sys_file-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</select>-->
<!--<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_sys_file-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</delete>-->
<!--<delete id="deleteByExample" parameterType="com.glsx.smart.entity.SmartSysFileExample">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_sys_file-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</delete>-->
<!--<insert id="insert" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartSysFile" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_sys_file (`name`, url, `type`,-->
<!-- create_time)-->
<!-- values (#{name,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{type,jdbcType=TINYINT},-->
<!-- #{createTime,jdbcType=TIMESTAMP})-->
<!--</insert>-->
<!--<insert id="insertSelective" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartSysFile" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_sys_file-->
<!-- <trim prefix="(" suffix=")" suffixOverrides=",">-->
<!-- <if test="name != null and name != ''">-->
<!-- `name`,-->
<!-- </if>-->
<!-- <if test="url != null and url != ''">-->
<!-- url,-->
<!-- </if>-->
<!-- <if test="type != null">-->
<!-- `type`,-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- create_time,-->
<!-- </if>-->
<!-- </trim>-->
<!-- <trim prefix="values (" suffix=")" suffixOverrides=",">-->
<!-- <if test="name != null and name != ''">-->
<!-- #{name,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="url != null and url != ''">-->
<!-- #{url,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="type != null">-->
<!-- #{type,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- #{createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- </trim>-->
<!--</insert>-->
<!--<select id="countByExample" parameterType="com.glsx.smart.entity.SmartSysFileExample"-->
<!-- resultType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- select count(*) from smart_sys_file-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</select>-->
<!--<update id="updateByExampleSelective" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_sys_file-->
<!-- <set>-->
<!-- <if test="record.id != null">-->
<!-- id = #{record.id,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.name != null">-->
<!-- `name` = #{record.name,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.url != null">-->
<!-- url = #{record.url,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.type != null">-->
<!-- `type` = #{record.type,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="record.createTime != null">-->
<!-- create_time = #{record.createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- </set>-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByExample" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_sys_file-->
<!-- set id = #{record.id,jdbcType=BIGINT},-->
<!-- `name` = #{record.name,jdbcType=VARCHAR},-->
<!-- url = #{record.url,jdbcType=VARCHAR},-->
<!-- `type` = #{record.type,jdbcType=TINYINT},-->
<!-- create_time = #{record.createTime,jdbcType=TIMESTAMP}-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByPrimaryKeySelective" parameterType="com.glsx.smart.entity.SmartSysFile">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_sys_file-->
<!-- <set>-->
<!-- <if test="name != null and name != ''">-->
<!-- `name` = #{name,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="url != null and url != ''">-->
<!-- url = #{url,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="type != null">-->
<!-- `type` = #{type,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- create_time = #{createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- </set>-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<!--<update id="updateByPrimaryKey" parameterType="com.glsx.smart.entity.SmartSysFile">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_sys_file-->
<!-- set `name` = #{name,jdbcType=VARCHAR},-->
<!-- url = #{url,jdbcType=VARCHAR},-->
<!-- `type` = #{type,jdbcType=TINYINT},-->
<!-- create_time = #{createTime,jdbcType=TIMESTAMP}-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_sys_file
update smart_sys_file
...
...
src/main/resources/mapper/SmartTemplateParamMapper.xml
View file @
e5c0959
...
@@ -12,237 +12,10 @@
...
@@ -12,237 +12,10 @@
<result
column=
"param_key"
jdbcType=
"VARCHAR"
property=
"paramKey"
/>
<result
column=
"param_key"
jdbcType=
"VARCHAR"
property=
"paramKey"
/>
<result
column=
"param_value"
jdbcType=
"VARCHAR"
property=
"paramValue"
/>
<result
column=
"param_value"
jdbcType=
"VARCHAR"
property=
"paramValue"
/>
</resultMap>
</resultMap>
<!--<sql id="Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<!--<sql id="Update_By_Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="example.oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
id, template_id, `type`, sort, param_key, param_value
id, template_id, `type`, sort, param_key, param_value
</sql>
</sql>
<!--<select id="selectByExample" parameterType="com.glsx.smart.entity.SmartTemplateParamExample"-->
<!-- resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <if test="distinct">-->
<!-- distinct-->
<!-- </if>-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_template_param-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!-- <if test="orderByClause != null">-->
<!-- order by ${orderByClause}-->
<!-- </if>-->
<!--</select>-->
<!--<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_template_param-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</select>-->
<!--<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_template_param-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</delete>-->
<!--<delete id="deleteByExample" parameterType="com.glsx.smart.entity.SmartTemplateParamExample">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_template_param-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</delete>-->
<!--<insert id="insert" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartTemplateParam" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_template_param (template_id, `type`, sort,-->
<!-- param_key, param_value)-->
<!-- values (#{templateId,jdbcType=BIGINT}, #{type,jdbcType=TINYINT}, #{sort,jdbcType=TINYINT},-->
<!-- #{paramKey,jdbcType=VARCHAR}, #{paramValue,jdbcType=VARCHAR})-->
<!--</insert>-->
<!--<insert id="insertSelective" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartTemplateParam" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_template_param-->
<!-- <trim prefix="(" suffix=")" suffixOverrides=",">-->
<!-- <if test="templateId != null">-->
<!-- template_id,-->
<!-- </if>-->
<!-- <if test="type != null">-->
<!-- `type`,-->
<!-- </if>-->
<!-- <if test="sort != null">-->
<!-- sort,-->
<!-- </if>-->
<!-- <if test="paramKey != null and paramKey != ''">-->
<!-- param_key,-->
<!-- </if>-->
<!-- <if test="paramValue != null and paramValue != ''">-->
<!-- param_value,-->
<!-- </if>-->
<!-- </trim>-->
<!-- <trim prefix="values (" suffix=")" suffixOverrides=",">-->
<!-- <if test="templateId != null">-->
<!-- #{templateId,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="type != null">-->
<!-- #{type,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="sort != null">-->
<!-- #{sort,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="paramKey != null and paramKey != ''">-->
<!-- #{paramKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="paramValue != null and paramValue != ''">-->
<!-- #{paramValue,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- </trim>-->
<!--</insert>-->
<!--<select id="countByExample" parameterType="com.glsx.smart.entity.SmartTemplateParamExample"-->
<!-- resultType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- select count(*) from smart_template_param-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</select>-->
<!--<update id="updateByExampleSelective" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_template_param-->
<!-- <set>-->
<!-- <if test="record.id != null">-->
<!-- id = #{record.id,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.templateId != null">-->
<!-- template_id = #{record.templateId,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.type != null">-->
<!-- `type` = #{record.type,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="record.sort != null">-->
<!-- sort = #{record.sort,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="record.paramKey != null">-->
<!-- param_key = #{record.paramKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.paramValue != null">-->
<!-- param_value = #{record.paramValue,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- </set>-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByExample" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_template_param-->
<!-- set id = #{record.id,jdbcType=BIGINT},-->
<!-- template_id = #{record.templateId,jdbcType=BIGINT},-->
<!-- `type` = #{record.type,jdbcType=TINYINT},-->
<!-- sort = #{record.sort,jdbcType=TINYINT},-->
<!-- param_key = #{record.paramKey,jdbcType=VARCHAR},-->
<!-- param_value = #{record.paramValue,jdbcType=VARCHAR}-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByPrimaryKeySelective"-->
<!-- parameterType="com.glsx.smart.entity.SmartTemplateParam">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_template_param-->
<!-- <set>-->
<!-- <if test="templateId != null">-->
<!-- template_id = #{templateId,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="type != null">-->
<!-- `type` = #{type,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="sort != null">-->
<!-- sort = #{sort,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="paramKey != null and paramKey != ''">-->
<!-- param_key = #{paramKey,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="paramValue != null and paramValue != ''">-->
<!-- param_value = #{paramValue,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- </set>-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<!--<update id="updateByPrimaryKey" parameterType="com.glsx.smart.entity.SmartTemplateParam">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_template_param-->
<!-- set template_id = #{templateId,jdbcType=BIGINT},-->
<!-- `type` = #{type,jdbcType=TINYINT},-->
<!-- sort = #{sort,jdbcType=TINYINT},-->
<!-- param_key = #{paramKey,jdbcType=VARCHAR},-->
<!-- param_value = #{paramValue,jdbcType=VARCHAR}-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_template_param
update smart_template_param
...
...
src/main/resources/mapper/SmartUserRelationMapper.xml
View file @
e5c0959
...
@@ -15,281 +15,10 @@
...
@@ -15,281 +15,10 @@
<result
column=
"remark"
jdbcType=
"VARCHAR"
property=
"remark"
/>
<result
column=
"remark"
jdbcType=
"VARCHAR"
property=
"remark"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
</resultMap>
</resultMap>
<!--<sql id="Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<!--<sql id="Update_By_Example_Where_Clause">-->
<!-- <!–@mbg.generated–>-->
<!-- <where>-->
<!-- <foreach collection="example.oredCriteria" item="criteria" separator="or">-->
<!-- <if test="criteria.valid">-->
<!-- <trim prefix="(" prefixOverrides="and" suffix=")">-->
<!-- <foreach collection="criteria.criteria" item="criterion">-->
<!-- <choose>-->
<!-- <when test="criterion.noValue">-->
<!-- and ${criterion.condition}-->
<!-- </when>-->
<!-- <when test="criterion.singleValue">-->
<!-- and ${criterion.condition} #{criterion.value}-->
<!-- </when>-->
<!-- <when test="criterion.betweenValue">-->
<!-- and ${criterion.condition} #{criterion.value} and-->
<!-- #{criterion.secondValue}-->
<!-- </when>-->
<!-- <when test="criterion.listValue">-->
<!-- and ${criterion.condition}-->
<!-- <foreach close=")" collection="criterion.value" item="listItem"-->
<!-- open="(" separator=",">-->
<!-- #{listItem}-->
<!-- </foreach>-->
<!-- </when>-->
<!-- </choose>-->
<!-- </foreach>-->
<!-- </trim>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </where>-->
<!--</sql>-->
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
id, `name`, phone, `password`, channel, third_id, `status`, remark, create_time
id, `name`, phone, `password`, channel, third_id, `status`, remark, create_time
</sql>
</sql>
<!--<select id="selectByExample" parameterType="com.glsx.smart.entity.SmartUserRelationExample"-->
<!-- resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <if test="distinct">-->
<!-- distinct-->
<!-- </if>-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_user_relation-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!-- <if test="orderByClause != null">-->
<!-- order by ${orderByClause}-->
<!-- </if>-->
<!--</select>-->
<!--<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">-->
<!-- <!–@mbg.generated–>-->
<!-- select-->
<!-- <include refid="Base_Column_List"/>-->
<!-- from smart_user_relation-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</select>-->
<!--<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_user_relation-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</delete>-->
<!--<delete id="deleteByExample" parameterType="com.glsx.smart.entity.SmartUserRelationExample">-->
<!-- <!–@mbg.generated–>-->
<!-- delete from smart_user_relation-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</delete>-->
<!--<insert id="insert" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartUserRelation" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_user_relation (`name`, phone, `password`,-->
<!-- channel, third_id, `status`,-->
<!-- remark, create_time)-->
<!-- values (#{name,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR},-->
<!-- #{channel,jdbcType=TINYINT}, #{thirdId,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT},-->
<!-- #{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP})-->
<!--</insert>-->
<!--<insert id="insertSelective" keyColumn="id" keyProperty="id"-->
<!-- parameterType="com.glsx.smart.entity.SmartUserRelation" useGeneratedKeys="true">-->
<!-- <!–@mbg.generated–>-->
<!-- insert into smart_user_relation-->
<!-- <trim prefix="(" suffix=")" suffixOverrides=",">-->
<!-- <if test="name != null and name != ''">-->
<!-- `name`,-->
<!-- </if>-->
<!-- <if test="phone != null and phone != ''">-->
<!-- phone,-->
<!-- </if>-->
<!-- <if test="password != null and password != ''">-->
<!-- `password`,-->
<!-- </if>-->
<!-- <if test="channel != null">-->
<!-- channel,-->
<!-- </if>-->
<!-- <if test="thirdId != null and thirdId != ''">-->
<!-- third_id,-->
<!-- </if>-->
<!-- <if test="status != null">-->
<!-- `status`,-->
<!-- </if>-->
<!-- <if test="remark != null and remark != ''">-->
<!-- remark,-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- create_time,-->
<!-- </if>-->
<!-- </trim>-->
<!-- <trim prefix="values (" suffix=")" suffixOverrides=",">-->
<!-- <if test="name != null and name != ''">-->
<!-- #{name,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="phone != null and phone != ''">-->
<!-- #{phone,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="password != null and password != ''">-->
<!-- #{password,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="channel != null">-->
<!-- #{channel,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="thirdId != null and thirdId != ''">-->
<!-- #{thirdId,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="status != null">-->
<!-- #{status,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="remark != null and remark != ''">-->
<!-- #{remark,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- #{createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- </trim>-->
<!--</insert>-->
<!--<select id="countByExample" parameterType="com.glsx.smart.entity.SmartUserRelationExample"-->
<!-- resultType="java.lang.Long">-->
<!-- <!–@mbg.generated–>-->
<!-- select count(*) from smart_user_relation-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Example_Where_Clause"/>-->
<!-- </if>-->
<!--</select>-->
<!--<update id="updateByExampleSelective" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_user_relation-->
<!-- <set>-->
<!-- <if test="record.id != null">-->
<!-- id = #{record.id,jdbcType=BIGINT},-->
<!-- </if>-->
<!-- <if test="record.name != null">-->
<!-- `name` = #{record.name,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.phone != null">-->
<!-- phone = #{record.phone,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.password != null">-->
<!-- `password` = #{record.password,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.channel != null">-->
<!-- channel = #{record.channel,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="record.thirdId != null">-->
<!-- third_id = #{record.thirdId,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.status != null">-->
<!-- `status` = #{record.status,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="record.remark != null">-->
<!-- remark = #{record.remark,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="record.createTime != null">-->
<!-- create_time = #{record.createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- </set>-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByExample" parameterType="map">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_user_relation-->
<!-- set id = #{record.id,jdbcType=BIGINT},-->
<!-- `name` = #{record.name,jdbcType=VARCHAR},-->
<!-- phone = #{record.phone,jdbcType=VARCHAR},-->
<!-- `password` = #{record.password,jdbcType=VARCHAR},-->
<!-- channel = #{record.channel,jdbcType=TINYINT},-->
<!-- third_id = #{record.thirdId,jdbcType=VARCHAR},-->
<!-- `status` = #{record.status,jdbcType=TINYINT},-->
<!-- remark = #{record.remark,jdbcType=VARCHAR},-->
<!-- create_time = #{record.createTime,jdbcType=TIMESTAMP}-->
<!-- <if test="_parameter != null">-->
<!-- <include refid="Update_By_Example_Where_Clause"/>-->
<!-- </if>-->
<!--</update>-->
<!--<update id="updateByPrimaryKeySelective"-->
<!-- parameterType="com.glsx.smart.entity.SmartUserRelation">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_user_relation-->
<!-- <set>-->
<!-- <if test="name != null and name != ''">-->
<!-- `name` = #{name,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="phone != null and phone != ''">-->
<!-- phone = #{phone,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="password != null and password != ''">-->
<!-- `password` = #{password,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="channel != null">-->
<!-- channel = #{channel,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="thirdId != null and thirdId != ''">-->
<!-- third_id = #{thirdId,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="status != null">-->
<!-- `status` = #{status,jdbcType=TINYINT},-->
<!-- </if>-->
<!-- <if test="remark != null and remark != ''">-->
<!-- remark = #{remark,jdbcType=VARCHAR},-->
<!-- </if>-->
<!-- <if test="createTime != null">-->
<!-- create_time = #{createTime,jdbcType=TIMESTAMP},-->
<!-- </if>-->
<!-- </set>-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<!--<update id="updateByPrimaryKey" parameterType="com.glsx.smart.entity.SmartUserRelation">-->
<!-- <!–@mbg.generated–>-->
<!-- update smart_user_relation-->
<!-- set `name` = #{name,jdbcType=VARCHAR},-->
<!-- phone = #{phone,jdbcType=VARCHAR},-->
<!-- `password` = #{password,jdbcType=VARCHAR},-->
<!-- channel = #{channel,jdbcType=TINYINT},-->
<!-- third_id = #{thirdId,jdbcType=VARCHAR},-->
<!-- `status` = #{status,jdbcType=TINYINT},-->
<!-- remark = #{remark,jdbcType=VARCHAR},-->
<!-- create_time = #{createTime,jdbcType=TIMESTAMP}-->
<!-- where id = #{id,jdbcType=BIGINT}-->
<!--</update>-->
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<update
id=
"updateBatch"
parameterType=
"java.util.List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
update smart_user_relation
update smart_user_relation
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment