Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
70f0dae4
Commit
70f0dae4
authored
Jul 21, 2020
by
季圣华
Browse files
优化表结构
parent
13932441
Changes
104
Show whitespace changes
Inline
Side-by-side
src/main/java/com/jsh/erp/config/TenantConfig.java
View file @
70f0dae4
...
...
@@ -61,8 +61,8 @@ public class TenantConfig {
return
true
;
}
else
{
// 这里可以判断是否过滤表
if
(
"jsh_materialproperty"
.
equals
(
tableName
)
||
"jsh_sequence"
.
equals
(
tableName
)
||
"jsh_userbusiness"
.
equals
(
tableName
)
||
"jsh_function
s
"
.
equals
(
tableName
)
if
(
"jsh_material
_
property"
.
equals
(
tableName
)
||
"jsh_sequence"
.
equals
(
tableName
)
||
"jsh_user
_
business"
.
equals
(
tableName
)
||
"jsh_function"
.
equals
(
tableName
)
||
"jsh_tenant"
.
equals
(
tableName
))
{
return
true
;
}
else
{
...
...
src/main/java/com/jsh/erp/controller/DepotItemController.java
View file @
70f0dae4
...
...
@@ -174,7 +174,7 @@ public class DepotItemController {
if
(
diEx
.
getUnitId
()
==
null
||
diEx
.
getUnitId
().
equals
(
""
))
{
ratio
=
""
;
}
else
{
ratio
=
diEx
.
getUName
();
ratio
=
diEx
.
getU
nit
Name
();
ratio
=
ratio
.
substring
(
ratio
.
indexOf
(
"("
));
}
//名称/型号/扩展信息/包装
...
...
@@ -182,7 +182,7 @@ public class DepotItemController {
+
((
diEx
.
getMStandard
()
==
null
||
diEx
.
getMStandard
().
equals
(
""
))
?
""
:
"("
+
diEx
.
getMStandard
()
+
")"
)
+
((
diEx
.
getMModel
()
==
null
||
diEx
.
getMModel
().
equals
(
""
))
?
""
:
"("
+
diEx
.
getMModel
()
+
")"
);
String
materialOther
=
getOtherInfo
(
mpArr
,
diEx
);
MaterialName
=
MaterialName
+
materialOther
+
((
diEx
.
getUName
()
==
null
||
diEx
.
getUName
().
equals
(
""
))
?
""
:
"("
+
diEx
.
getUName
()
+
")"
)
+
ratio
;
MaterialName
=
MaterialName
+
materialOther
+
((
diEx
.
getU
nit
Name
()
==
null
||
diEx
.
getU
nit
Name
().
equals
(
""
))
?
""
:
"("
+
diEx
.
getU
nit
Name
()
+
")"
)
+
ratio
;
item
.
put
(
"MaterialName"
,
MaterialName
==
null
?
""
:
MaterialName
);
BigDecimal
stock
=
depotItemService
.
getStockByParam
(
diEx
.
getDepotid
(),
diEx
.
getMaterialid
(),
null
,
null
,
tenantId
);
item
.
put
(
"Stock"
,
stock
);
...
...
@@ -298,7 +298,7 @@ public class DepotItemController {
String
materialOther
=
getOtherInfo
(
mpArr
,
diEx
);
item
.
put
(
"MaterialOther"
,
materialOther
);
item
.
put
(
"MaterialColor"
,
diEx
.
getMColor
());
item
.
put
(
"unitName"
,
getUName
(
diEx
.
getMaterialUnit
(),
diEx
.
getUName
()));
item
.
put
(
"unitName"
,
getUName
(
diEx
.
getMaterialUnit
(),
diEx
.
getU
nit
Name
()));
item
.
put
(
"prevSum"
,
depotItemService
.
getStockByParam
(
depotId
,
mId
,
null
,
timeA
,
tenantId
));
item
.
put
(
"InSum"
,
depotItemService
.
getInNumByParam
(
depotId
,
mId
,
timeA
,
timeB
,
tenantId
));
...
...
@@ -468,7 +468,7 @@ public class DepotItemController {
item
.
put
(
"MaterialOther"
,
materialOther
);
item
.
put
(
"MaterialColor"
,
diEx
.
getMColor
());
item
.
put
(
"MaterialUnit"
,
diEx
.
getMaterialUnit
());
item
.
put
(
"UName"
,
diEx
.
getUName
());
item
.
put
(
"UName"
,
diEx
.
getU
nit
Name
());
item
.
put
(
"InSum"
,
InSum
);
item
.
put
(
"OutSum"
,
OutSum
);
item
.
put
(
"InSumPrice"
,
InSumPrice
);
...
...
@@ -536,7 +536,7 @@ public class DepotItemController {
item
.
put
(
"MaterialOther"
,
materialOther
);
item
.
put
(
"MaterialColor"
,
diEx
.
getMColor
());
item
.
put
(
"MaterialUnit"
,
diEx
.
getMaterialUnit
());
item
.
put
(
"UName"
,
diEx
.
getUName
());
item
.
put
(
"UName"
,
diEx
.
getU
nit
Name
());
item
.
put
(
"OutSum"
,
OutSumRetail
.
add
(
OutSum
));
item
.
put
(
"InSum"
,
InSumRetail
.
add
(
InSum
));
item
.
put
(
"OutSumPrice"
,
OutSumRetailPrice
.
add
(
OutSumPrice
));
...
...
src/main/java/com/jsh/erp/controller/Function
s
Controller.java
→
src/main/java/com/jsh/erp/controller/FunctionController.java
View file @
70f0dae4
...
...
@@ -3,21 +3,19 @@ package com.jsh.erp.controller;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.jsh.erp.constants.ExceptionConstants
;
import
com.jsh.erp.datasource.entities.Function
s
;
import
com.jsh.erp.datasource.entities.Function
;
import
com.jsh.erp.datasource.entities.User
;
import
com.jsh.erp.exception.BusinessRunTimeException
;
import
com.jsh.erp.service.functions.Function
s
Service
;
import
com.jsh.erp.service.functions.FunctionService
;
import
com.jsh.erp.service.userBusiness.UserBusinessService
;
import
com.jsh.erp.utils.BaseResponseInfo
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.dao.DataAccessException
;
import
org.springframework.web.bind.annotation.*
;
import
javax.annotation.Resource
;
import
javax.servlet.http.HttpServletRequest
;
import
java.io.IOException
;
import
java.util.ArrayList
;
import
java.util.List
;
...
...
@@ -25,26 +23,26 @@ import java.util.List;
* @author ji-sheng-hua jshERP
*/
@RestController
@RequestMapping
(
value
=
"/function
s
"
)
public
class
Function
s
Controller
{
private
Logger
logger
=
LoggerFactory
.
getLogger
(
Function
s
Controller
.
class
);
@RequestMapping
(
value
=
"/function"
)
public
class
FunctionController
{
private
Logger
logger
=
LoggerFactory
.
getLogger
(
FunctionController
.
class
);
@Resource
private
Function
s
Service
function
s
Service
;
private
FunctionService
functionService
;
@Resource
private
UserBusinessService
userBusinessService
;
@PostMapping
(
value
=
"/findMenu"
)
public
JSONArray
findMenu
(
@RequestParam
(
value
=
"pNumber"
)
String
pNumber
,
@RequestParam
(
value
=
"hasFunction
s
"
)
String
hasFunction
s
,
@RequestParam
(
value
=
"hasFunction"
)
String
hasFunction
,
HttpServletRequest
request
)
throws
Exception
{
//存放数据json数组
JSONArray
dataArray
=
new
JSONArray
();
try
{
//当前用户所拥有的功能列表,格式如:[1][2][5]
String
fc
=
hasFunction
s
;
List
<
Function
s
>
dataList
=
function
s
Service
.
getRoleFunction
s
(
pNumber
);
String
fc
=
hasFunction
;
List
<
Function
>
dataList
=
functionService
.
getRoleFunction
(
pNumber
);
if
(
dataList
.
size
()
!=
0
)
{
dataArray
=
getMenuByFunction
(
dataList
,
fc
);
}
...
...
@@ -54,14 +52,14 @@ public class FunctionsController {
return
dataArray
;
}
public
JSONArray
getMenuByFunction
(
List
<
Function
s
>
dataList
,
String
fc
)
throws
Exception
{
public
JSONArray
getMenuByFunction
(
List
<
Function
>
dataList
,
String
fc
)
throws
Exception
{
JSONArray
dataArray
=
new
JSONArray
();
for
(
Function
s
function
s
:
dataList
)
{
for
(
Function
function
:
dataList
)
{
JSONObject
item
=
new
JSONObject
();
List
<
Function
s
>
newList
=
function
s
Service
.
getRoleFunction
s
(
function
s
.
getNumber
());
item
.
put
(
"id"
,
function
s
.
getId
());
item
.
put
(
"text"
,
function
s
.
getName
());
item
.
put
(
"icon"
,
function
s
.
getIcon
());
List
<
Function
>
newList
=
functionService
.
getRoleFunction
(
function
.
getNumber
());
item
.
put
(
"id"
,
function
.
getId
());
item
.
put
(
"text"
,
function
.
getName
());
item
.
put
(
"icon"
,
function
.
getIcon
());
if
(
newList
.
size
()>
0
)
{
JSONArray
childrenArr
=
getMenuByFunction
(
newList
,
fc
);
if
(
childrenArr
.
size
()>
0
)
{
...
...
@@ -69,8 +67,8 @@ public class FunctionsController {
dataArray
.
add
(
item
);
}
}
else
{
item
.
put
(
"url"
,
function
s
.
getUrl
());
if
(
fc
.
indexOf
(
"["
+
function
s
.
getId
().
toString
()
+
"]"
)
!=
-
1
)
{
item
.
put
(
"url"
,
function
.
getUrl
());
if
(
fc
.
indexOf
(
"["
+
function
.
getId
().
toString
()
+
"]"
)
!=
-
1
)
{
dataArray
.
add
(
item
);
}
}
...
...
@@ -83,12 +81,12 @@ public class FunctionsController {
* @param request
* @return
*/
@PostMapping
(
value
=
"/findRoleFunction
s
"
)
public
JSONArray
findRoleFunction
s
(
@RequestParam
(
"UBType"
)
String
type
,
@RequestParam
(
"UBKeyId"
)
String
keyId
,
@PostMapping
(
value
=
"/findRoleFunction"
)
public
JSONArray
findRoleFunction
(
@RequestParam
(
"UBType"
)
String
type
,
@RequestParam
(
"UBKeyId"
)
String
keyId
,
HttpServletRequest
request
)
throws
Exception
{
JSONArray
arr
=
new
JSONArray
();
try
{
List
<
Function
s
>
dataListFun
=
function
s
Service
.
findRoleFunction
s
(
"0"
);
List
<
Function
>
dataListFun
=
functionService
.
findRoleFunction
(
"0"
);
//开始拼接json数据
JSONObject
outer
=
new
JSONObject
();
outer
.
put
(
"id"
,
1
);
...
...
@@ -98,8 +96,8 @@ public class FunctionsController {
JSONArray
dataArray
=
new
JSONArray
();
if
(
null
!=
dataListFun
)
{
//根据条件从列表里面移除"系统管理"
List
<
Function
s
>
dataList
=
new
ArrayList
<
Function
s
>();
for
(
Function
s
fun
:
dataListFun
)
{
List
<
Function
>
dataList
=
new
ArrayList
<
Function
>();
for
(
Function
fun
:
dataListFun
)
{
//从session中获取租户id
String
loginName
=
null
;
Object
userInfo
=
request
.
getSession
().
getAttribute
(
"user"
);
...
...
@@ -125,23 +123,23 @@ public class FunctionsController {
return
arr
;
}
public
JSONArray
getFunctionList
(
List
<
Function
s
>
dataList
,
String
type
,
String
keyId
)
throws
Exception
{
public
JSONArray
getFunctionList
(
List
<
Function
>
dataList
,
String
type
,
String
keyId
)
throws
Exception
{
JSONArray
dataArray
=
new
JSONArray
();
if
(
null
!=
dataList
)
{
for
(
Function
s
function
s
:
dataList
)
{
for
(
Function
function
:
dataList
)
{
JSONObject
item
=
new
JSONObject
();
item
.
put
(
"id"
,
function
s
.
getId
());
item
.
put
(
"text"
,
function
s
.
getName
());
item
.
put
(
"id"
,
function
.
getId
());
item
.
put
(
"text"
,
function
.
getName
());
Boolean
flag
=
false
;
try
{
flag
=
userBusinessService
.
checkIsUserBusinessExist
(
type
,
keyId
,
"["
+
function
s
.
getId
().
toString
()
+
"]"
);
flag
=
userBusinessService
.
checkIsUserBusinessExist
(
type
,
keyId
,
"["
+
function
.
getId
().
toString
()
+
"]"
);
}
catch
(
Exception
e
)
{
logger
.
error
(
">>>>>>>>>>>>>>>>>设置角色对应的功能:类型"
+
type
+
" KeyId为: "
+
keyId
+
" 存在异常!"
);
}
if
(
flag
==
true
)
{
item
.
put
(
"checked"
,
true
);
}
List
<
Function
s
>
funList
=
function
s
Service
.
findRoleFunction
s
(
function
s
.
getNumber
());
List
<
Function
>
funList
=
functionService
.
findRoleFunction
(
function
.
getNumber
());
if
(
funList
.
size
()>
0
)
{
JSONArray
funArr
=
getFunctionList
(
funList
,
type
,
keyId
);
item
.
put
(
"children"
,
funArr
);
...
...
@@ -165,17 +163,17 @@ public class FunctionsController {
HttpServletRequest
request
)
throws
Exception
{
BaseResponseInfo
res
=
new
BaseResponseInfo
();
try
{
List
<
Function
s
>
dataList
=
function
s
Service
.
findByIds
(
functionsIds
);
List
<
Function
>
dataList
=
functionService
.
findByIds
(
functionsIds
);
JSONObject
outer
=
new
JSONObject
();
outer
.
put
(
"total"
,
dataList
.
size
());
//存放数据json数组
JSONArray
dataArray
=
new
JSONArray
();
if
(
null
!=
dataList
)
{
for
(
Function
s
function
s
:
dataList
)
{
for
(
Function
function
:
dataList
)
{
JSONObject
item
=
new
JSONObject
();
item
.
put
(
"Id"
,
function
s
.
getId
());
item
.
put
(
"Name"
,
function
s
.
getName
());
item
.
put
(
"PushBtn"
,
function
s
.
getPush
b
tn
());
item
.
put
(
"Id"
,
function
.
getId
());
item
.
put
(
"Name"
,
function
.
getName
());
item
.
put
(
"PushBtn"
,
function
.
getPush
B
tn
());
item
.
put
(
"op"
,
1
);
dataArray
.
add
(
item
);
}
...
...
@@ -199,10 +197,10 @@ public class FunctionsController {
* @Param: ids
* @return java.lang.Object
*/
@RequestMapping
(
value
=
"/batchDeleteFunction
s
ByIds"
)
public
Object
batchDeleteFunction
s
ByIds
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
@RequestMapping
(
value
=
"/batchDeleteFunctionByIds"
)
public
Object
batchDeleteFunctionByIds
(
@RequestParam
(
"ids"
)
String
ids
)
throws
Exception
{
JSONObject
result
=
ExceptionConstants
.
standardSuccess
();
int
i
=
function
s
Service
.
batchDeleteFunction
s
ByIds
(
ids
);
int
i
=
functionService
.
batchDeleteFunctionByIds
(
ids
);
if
(
i
<
1
){
logger
.
error
(
"异常码[{}],异常提示[{}],参数,ids[{}]"
,
ExceptionConstants
.
FUNCTIONS_DELETE_FAILED_CODE
,
ExceptionConstants
.
FUNCTIONS_DELETE_FAILED_MSG
,
ids
);
...
...
src/main/java/com/jsh/erp/controller/MaterialCategoryController.java
View file @
70f0dae4
...
...
@@ -64,8 +64,8 @@ public class MaterialCategoryController {
for
(
MaterialCategory
mc
:
dataList
)
{
outer
.
put
(
"id"
,
mc
.
getId
());
outer
.
put
(
"name"
,
mc
.
getName
());
outer
.
put
(
"parentId"
,
mc
.
getParent
i
d
());
List
<
MaterialCategory
>
dataParentList
=
materialCategoryService
.
findById
(
mc
.
getParent
i
d
());
outer
.
put
(
"parentId"
,
mc
.
getParent
I
d
());
List
<
MaterialCategory
>
dataParentList
=
materialCategoryService
.
findById
(
mc
.
getParent
I
d
());
if
(
dataParentList
!=
null
&&
dataParentList
.
size
()>
0
){
outer
.
put
(
"parentName"
,
dataParentList
.
get
(
0
).
getName
());
}
...
...
src/main/java/com/jsh/erp/datasource/entities/Account.java
View file @
70f0dae4
...
...
@@ -3,290 +3,92 @@ package com.jsh.erp.datasource.entities;
import
java.math.BigDecimal
;
public
class
Account
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_account.Id
*
* @mbggenerated
*/
private
Long
id
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_account.Name
*
* @mbggenerated
*/
private
String
name
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_account.SerialNo
*
* @mbggenerated
*/
private
String
serialno
;
private
String
serialNo
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_account.InitialAmount
*
* @mbggenerated
*/
private
BigDecimal
initialamount
;
private
BigDecimal
initialAmount
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_account.CurrentAmount
*
* @mbggenerated
*/
private
BigDecimal
currentamount
;
private
BigDecimal
currentAmount
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_account.Remark
*
* @mbggenerated
*/
private
String
remark
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_account.IsDefault
*
* @mbggenerated
*/
private
Boolean
isdefault
;
private
Boolean
isDefault
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_account.tenant_id
*
* @mbggenerated
*/
private
Long
tenantId
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_account.delete_Flag
*
* @mbggenerated
*/
private
String
deleteFlag
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_account.Id
*
* @return the value of jsh_account.Id
*
* @mbggenerated
*/
public
Long
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_account.Id
*
* @param id the value for jsh_account.Id
*
* @mbggenerated
*/
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_account.Name
*
* @return the value of jsh_account.Name
*
* @mbggenerated
*/
public
String
getName
()
{
return
name
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_account.Name
*
* @param name the value for jsh_account.Name
*
* @mbggenerated
*/
public
void
setName
(
String
name
)
{
this
.
name
=
name
==
null
?
null
:
name
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_account.SerialNo
*
* @return the value of jsh_account.SerialNo
*
* @mbggenerated
*/
public
String
getSerialno
()
{
return
serialno
;
public
String
getSerialNo
()
{
return
serialNo
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_account.SerialNo
*
* @param serialno the value for jsh_account.SerialNo
*
* @mbggenerated
*/
public
void
setSerialno
(
String
serialno
)
{
this
.
serialno
=
serialno
==
null
?
null
:
serialno
.
trim
();
public
void
setSerialNo
(
String
serialNo
)
{
this
.
serialNo
=
serialNo
==
null
?
null
:
serialNo
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_account.InitialAmount
*
* @return the value of jsh_account.InitialAmount
*
* @mbggenerated
*/
public
BigDecimal
getInitialamount
()
{
return
initialamount
;
public
BigDecimal
getInitialAmount
()
{
return
initialAmount
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_account.InitialAmount
*
* @param initialamount the value for jsh_account.InitialAmount
*
* @mbggenerated
*/
public
void
setInitialamount
(
BigDecimal
initialamount
)
{
this
.
initialamount
=
initialamount
;
public
void
setInitialAmount
(
BigDecimal
initialAmount
)
{
this
.
initialAmount
=
initialAmount
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_account.CurrentAmount
*
* @return the value of jsh_account.CurrentAmount
*
* @mbggenerated
*/
public
BigDecimal
getCurrentamount
()
{
return
currentamount
;
public
BigDecimal
getCurrentAmount
()
{
return
currentAmount
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_account.CurrentAmount
*
* @param currentamount the value for jsh_account.CurrentAmount
*
* @mbggenerated
*/
public
void
setCurrentamount
(
BigDecimal
currentamount
)
{
this
.
currentamount
=
currentamount
;
public
void
setCurrentAmount
(
BigDecimal
currentAmount
)
{
this
.
currentAmount
=
currentAmount
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_account.Remark
*
* @return the value of jsh_account.Remark
*
* @mbggenerated
*/
public
String
getRemark
()
{
return
remark
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_account.Remark
*
* @param remark the value for jsh_account.Remark
*
* @mbggenerated
*/
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
==
null
?
null
:
remark
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_account.IsDefault
*
* @return the value of jsh_account.IsDefault
*
* @mbggenerated
*/
public
Boolean
getIsdefault
()
{
return
isdefault
;
public
Boolean
getIsDefault
()
{
return
isDefault
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_account.IsDefault
*
* @param isdefault the value for jsh_account.IsDefault
*
* @mbggenerated
*/
public
void
setIsdefault
(
Boolean
isdefault
)
{
this
.
isdefault
=
isdefault
;
public
void
setIsDefault
(
Boolean
isDefault
)
{
this
.
isDefault
=
isDefault
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_account.tenant_id
*
* @return the value of jsh_account.tenant_id
*
* @mbggenerated
*/
public
Long
getTenantId
()
{
return
tenantId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_account.tenant_id
*
* @param tenantId the value for jsh_account.tenant_id
*
* @mbggenerated
*/
public
void
setTenantId
(
Long
tenantId
)
{
this
.
tenantId
=
tenantId
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_account.delete_Flag
*
* @return the value of jsh_account.delete_Flag
*
* @mbggenerated
*/
public
String
getDeleteFlag
()
{
return
deleteFlag
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_account.delete_Flag
*
* @param deleteFlag the value for jsh_account.delete_Flag
*
* @mbggenerated
*/
public
void
setDeleteFlag
(
String
deleteFlag
)
{
this
.
deleteFlag
=
deleteFlag
==
null
?
null
:
deleteFlag
.
trim
();
}
...
...
src/main/java/com/jsh/erp/datasource/entities/AccountExample.java
View file @
70f0dae4
...
...
@@ -5,118 +5,46 @@ import java.util.ArrayList;
import
java.util.List
;
public
class
AccountExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_account
*
* @mbggenerated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_account
*
* @mbggenerated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_account
*
* @mbggenerated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
public
AccountExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
oredCriteria
=
new
ArrayList
<>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
...
...
@@ -125,41 +53,23 @@ public class AccountExample {
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_account
*
* @mbggenerated
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
criteria
=
new
ArrayList
<>();
}
public
boolean
isValid
()
{
...
...
@@ -196,452 +106,452 @@ public class AccountExample {
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"
I
d is null"
);
addCriterion
(
"
i
d is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"
I
d is not null"
);
addCriterion
(
"
i
d is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d ="
,
value
,
"id"
);
addCriterion
(
"
i
d ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d <>"
,
value
,
"id"
);
addCriterion
(
"
i
d <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"
I
d >"
,
value
,
"id"
);
addCriterion
(
"
i
d >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d >="
,
value
,
"id"
);
addCriterion
(
"
i
d >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"
I
d <"
,
value
,
"id"
);
addCriterion
(
"
i
d <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d <="
,
value
,
"id"
);
addCriterion
(
"
i
d <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"
I
d in"
,
values
,
"id"
);
addCriterion
(
"
i
d in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"
I
d not in"
,
values
,
"id"
);
addCriterion
(
"
i
d not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"
I
d between"
,
value1
,
value2
,
"id"
);
addCriterion
(
"
i
d between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"
I
d not between"
,
value1
,
value2
,
"id"
);
addCriterion
(
"
i
d not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNull
()
{
addCriterion
(
"
N
ame is null"
);
addCriterion
(
"
n
ame is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNotNull
()
{
addCriterion
(
"
N
ame is not null"
);
addCriterion
(
"
n
ame is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame ="
,
value
,
"name"
);
addCriterion
(
"
n
ame ="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame <>"
,
value
,
"name"
);
addCriterion
(
"
n
ame <>"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThan
(
String
value
)
{
addCriterion
(
"
N
ame >"
,
value
,
"name"
);
addCriterion
(
"
n
ame >"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame >="
,
value
,
"name"
);
addCriterion
(
"
n
ame >="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThan
(
String
value
)
{
addCriterion
(
"
N
ame <"
,
value
,
"name"
);
addCriterion
(
"
n
ame <"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame <="
,
value
,
"name"
);
addCriterion
(
"
n
ame <="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLike
(
String
value
)
{
addCriterion
(
"
N
ame like"
,
value
,
"name"
);
addCriterion
(
"
n
ame like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotLike
(
String
value
)
{
addCriterion
(
"
N
ame not like"
,
value
,
"name"
);
addCriterion
(
"
n
ame not like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"
N
ame in"
,
values
,
"name"
);
addCriterion
(
"
n
ame in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
N
ame not in"
,
values
,
"name"
);
addCriterion
(
"
n
ame not in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
N
ame between"
,
value1
,
value2
,
"name"
);
addCriterion
(
"
n
ame between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
N
ame not between"
,
value1
,
value2
,
"name"
);
addCriterion
(
"
n
ame not between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerial
n
oIsNull
()
{
addCriterion
(
"
S
erial
N
o is null"
);
public
Criteria
andSerial
N
oIsNull
()
{
addCriterion
(
"
s
erial
_n
o is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerial
n
oIsNotNull
()
{
addCriterion
(
"
S
erial
N
o is not null"
);
public
Criteria
andSerial
N
oIsNotNull
()
{
addCriterion
(
"
s
erial
_n
o is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerial
n
oEqualTo
(
String
value
)
{
addCriterion
(
"
S
erial
N
o ="
,
value
,
"serial
n
o"
);
public
Criteria
andSerial
N
oEqualTo
(
String
value
)
{
addCriterion
(
"
s
erial
_n
o ="
,
value
,
"serial
N
o"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerial
n
oNotEqualTo
(
String
value
)
{
addCriterion
(
"
S
erial
N
o <>"
,
value
,
"serial
n
o"
);
public
Criteria
andSerial
N
oNotEqualTo
(
String
value
)
{
addCriterion
(
"
s
erial
_n
o <>"
,
value
,
"serial
N
o"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerial
n
oGreaterThan
(
String
value
)
{
addCriterion
(
"
S
erial
N
o >"
,
value
,
"serial
n
o"
);
public
Criteria
andSerial
N
oGreaterThan
(
String
value
)
{
addCriterion
(
"
s
erial
_n
o >"
,
value
,
"serial
N
o"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerial
n
oGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
S
erial
N
o >="
,
value
,
"serial
n
o"
);
public
Criteria
andSerial
N
oGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
s
erial
_n
o >="
,
value
,
"serial
N
o"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerial
n
oLessThan
(
String
value
)
{
addCriterion
(
"
S
erial
N
o <"
,
value
,
"serial
n
o"
);
public
Criteria
andSerial
N
oLessThan
(
String
value
)
{
addCriterion
(
"
s
erial
_n
o <"
,
value
,
"serial
N
o"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerial
n
oLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
S
erial
N
o <="
,
value
,
"serial
n
o"
);
public
Criteria
andSerial
N
oLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
s
erial
_n
o <="
,
value
,
"serial
N
o"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerial
n
oLike
(
String
value
)
{
addCriterion
(
"
S
erial
N
o like"
,
value
,
"serial
n
o"
);
public
Criteria
andSerial
N
oLike
(
String
value
)
{
addCriterion
(
"
s
erial
_n
o like"
,
value
,
"serial
N
o"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerial
n
oNotLike
(
String
value
)
{
addCriterion
(
"
S
erial
N
o not like"
,
value
,
"serial
n
o"
);
public
Criteria
andSerial
N
oNotLike
(
String
value
)
{
addCriterion
(
"
s
erial
_n
o not like"
,
value
,
"serial
N
o"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerial
n
oIn
(
List
<
String
>
values
)
{
addCriterion
(
"
S
erial
N
o in"
,
values
,
"serial
n
o"
);
public
Criteria
andSerial
N
oIn
(
List
<
String
>
values
)
{
addCriterion
(
"
s
erial
_n
o in"
,
values
,
"serial
N
o"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerial
n
oNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
S
erial
N
o not in"
,
values
,
"serial
n
o"
);
public
Criteria
andSerial
N
oNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
s
erial
_n
o not in"
,
values
,
"serial
N
o"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerial
n
oBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
S
erial
N
o between"
,
value1
,
value2
,
"serial
n
o"
);
public
Criteria
andSerial
N
oBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
s
erial
_n
o between"
,
value1
,
value2
,
"serial
N
o"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSerial
n
oNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
S
erial
N
o not between"
,
value1
,
value2
,
"serial
n
o"
);
public
Criteria
andSerial
N
oNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
s
erial
_n
o not between"
,
value1
,
value2
,
"serial
N
o"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInitial
a
mountIsNull
()
{
addCriterion
(
"
I
nitial
A
mount is null"
);
public
Criteria
andInitial
A
mountIsNull
()
{
addCriterion
(
"
i
nitial
_a
mount is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInitial
a
mountIsNotNull
()
{
addCriterion
(
"
I
nitial
A
mount is not null"
);
public
Criteria
andInitial
A
mountIsNotNull
()
{
addCriterion
(
"
i
nitial
_a
mount is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInitial
a
mountEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
I
nitial
A
mount ="
,
value
,
"initial
a
mount"
);
public
Criteria
andInitial
A
mountEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
i
nitial
_a
mount ="
,
value
,
"initial
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInitial
a
mountNotEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
I
nitial
A
mount <>"
,
value
,
"initial
a
mount"
);
public
Criteria
andInitial
A
mountNotEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
i
nitial
_a
mount <>"
,
value
,
"initial
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInitial
a
mountGreaterThan
(
BigDecimal
value
)
{
addCriterion
(
"
I
nitial
A
mount >"
,
value
,
"initial
a
mount"
);
public
Criteria
andInitial
A
mountGreaterThan
(
BigDecimal
value
)
{
addCriterion
(
"
i
nitial
_a
mount >"
,
value
,
"initial
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInitial
a
mountGreaterThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
I
nitial
A
mount >="
,
value
,
"initial
a
mount"
);
public
Criteria
andInitial
A
mountGreaterThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
i
nitial
_a
mount >="
,
value
,
"initial
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInitial
a
mountLessThan
(
BigDecimal
value
)
{
addCriterion
(
"
I
nitial
A
mount <"
,
value
,
"initial
a
mount"
);
public
Criteria
andInitial
A
mountLessThan
(
BigDecimal
value
)
{
addCriterion
(
"
i
nitial
_a
mount <"
,
value
,
"initial
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInitial
a
mountLessThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
I
nitial
A
mount <="
,
value
,
"initial
a
mount"
);
public
Criteria
andInitial
A
mountLessThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
i
nitial
_a
mount <="
,
value
,
"initial
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInitial
a
mountIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"
I
nitial
A
mount in"
,
values
,
"initial
a
mount"
);
public
Criteria
andInitial
A
mountIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"
i
nitial
_a
mount in"
,
values
,
"initial
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInitial
a
mountNotIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"
I
nitial
A
mount not in"
,
values
,
"initial
a
mount"
);
public
Criteria
andInitial
A
mountNotIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"
i
nitial
_a
mount not in"
,
values
,
"initial
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInitial
a
mountBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"
I
nitial
A
mount between"
,
value1
,
value2
,
"initial
a
mount"
);
public
Criteria
andInitial
A
mountBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"
i
nitial
_a
mount between"
,
value1
,
value2
,
"initial
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andInitial
a
mountNotBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"
I
nitial
A
mount not between"
,
value1
,
value2
,
"initial
a
mount"
);
public
Criteria
andInitial
A
mountNotBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"
i
nitial
_a
mount not between"
,
value1
,
value2
,
"initial
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrent
a
mountIsNull
()
{
addCriterion
(
"
C
urrent
A
mount is null"
);
public
Criteria
andCurrent
A
mountIsNull
()
{
addCriterion
(
"
c
urrent
_a
mount is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrent
a
mountIsNotNull
()
{
addCriterion
(
"
C
urrent
A
mount is not null"
);
public
Criteria
andCurrent
A
mountIsNotNull
()
{
addCriterion
(
"
c
urrent
_a
mount is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrent
a
mountEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
C
urrent
A
mount ="
,
value
,
"current
a
mount"
);
public
Criteria
andCurrent
A
mountEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
c
urrent
_a
mount ="
,
value
,
"current
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrent
a
mountNotEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
C
urrent
A
mount <>"
,
value
,
"current
a
mount"
);
public
Criteria
andCurrent
A
mountNotEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
c
urrent
_a
mount <>"
,
value
,
"current
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrent
a
mountGreaterThan
(
BigDecimal
value
)
{
addCriterion
(
"
C
urrent
A
mount >"
,
value
,
"current
a
mount"
);
public
Criteria
andCurrent
A
mountGreaterThan
(
BigDecimal
value
)
{
addCriterion
(
"
c
urrent
_a
mount >"
,
value
,
"current
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrent
a
mountGreaterThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
C
urrent
A
mount >="
,
value
,
"current
a
mount"
);
public
Criteria
andCurrent
A
mountGreaterThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
c
urrent
_a
mount >="
,
value
,
"current
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrent
a
mountLessThan
(
BigDecimal
value
)
{
addCriterion
(
"
C
urrent
A
mount <"
,
value
,
"current
a
mount"
);
public
Criteria
andCurrent
A
mountLessThan
(
BigDecimal
value
)
{
addCriterion
(
"
c
urrent
_a
mount <"
,
value
,
"current
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrent
a
mountLessThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
C
urrent
A
mount <="
,
value
,
"current
a
mount"
);
public
Criteria
andCurrent
A
mountLessThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
c
urrent
_a
mount <="
,
value
,
"current
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrent
a
mountIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"
C
urrent
A
mount in"
,
values
,
"current
a
mount"
);
public
Criteria
andCurrent
A
mountIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"
c
urrent
_a
mount in"
,
values
,
"current
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrent
a
mountNotIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"
C
urrent
A
mount not in"
,
values
,
"current
a
mount"
);
public
Criteria
andCurrent
A
mountNotIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"
c
urrent
_a
mount not in"
,
values
,
"current
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrent
a
mountBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"
C
urrent
A
mount between"
,
value1
,
value2
,
"current
a
mount"
);
public
Criteria
andCurrent
A
mountBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"
c
urrent
_a
mount between"
,
value1
,
value2
,
"current
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrent
a
mountNotBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"
C
urrent
A
mount not between"
,
value1
,
value2
,
"current
a
mount"
);
public
Criteria
andCurrent
A
mountNotBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"
c
urrent
_a
mount not between"
,
value1
,
value2
,
"current
A
mount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNull
()
{
addCriterion
(
"
R
emark is null"
);
addCriterion
(
"
r
emark is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNotNull
()
{
addCriterion
(
"
R
emark is not null"
);
addCriterion
(
"
r
emark is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkEqualTo
(
String
value
)
{
addCriterion
(
"
R
emark ="
,
value
,
"remark"
);
addCriterion
(
"
r
emark ="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotEqualTo
(
String
value
)
{
addCriterion
(
"
R
emark <>"
,
value
,
"remark"
);
addCriterion
(
"
r
emark <>"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThan
(
String
value
)
{
addCriterion
(
"
R
emark >"
,
value
,
"remark"
);
addCriterion
(
"
r
emark >"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
R
emark >="
,
value
,
"remark"
);
addCriterion
(
"
r
emark >="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThan
(
String
value
)
{
addCriterion
(
"
R
emark <"
,
value
,
"remark"
);
addCriterion
(
"
r
emark <"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
R
emark <="
,
value
,
"remark"
);
addCriterion
(
"
r
emark <="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLike
(
String
value
)
{
addCriterion
(
"
R
emark like"
,
value
,
"remark"
);
addCriterion
(
"
r
emark like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotLike
(
String
value
)
{
addCriterion
(
"
R
emark not like"
,
value
,
"remark"
);
addCriterion
(
"
r
emark not like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIn
(
List
<
String
>
values
)
{
addCriterion
(
"
R
emark in"
,
values
,
"remark"
);
addCriterion
(
"
r
emark in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
R
emark not in"
,
values
,
"remark"
);
addCriterion
(
"
r
emark not in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
R
emark between"
,
value1
,
value2
,
"remark"
);
addCriterion
(
"
r
emark between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
R
emark not between"
,
value1
,
value2
,
"remark"
);
addCriterion
(
"
r
emark not between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIs
d
efaultIsNull
()
{
addCriterion
(
"
IsD
efault is null"
);
public
Criteria
andIs
D
efaultIsNull
()
{
addCriterion
(
"
is_d
efault is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIs
d
efaultIsNotNull
()
{
addCriterion
(
"
IsD
efault is not null"
);
public
Criteria
andIs
D
efaultIsNotNull
()
{
addCriterion
(
"
is_d
efault is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIs
d
efaultEqualTo
(
Boolean
value
)
{
addCriterion
(
"
IsD
efault ="
,
value
,
"is
d
efault"
);
public
Criteria
andIs
D
efaultEqualTo
(
Boolean
value
)
{
addCriterion
(
"
is_d
efault ="
,
value
,
"is
D
efault"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIs
d
efaultNotEqualTo
(
Boolean
value
)
{
addCriterion
(
"
IsD
efault <>"
,
value
,
"is
d
efault"
);
public
Criteria
andIs
D
efaultNotEqualTo
(
Boolean
value
)
{
addCriterion
(
"
is_d
efault <>"
,
value
,
"is
D
efault"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIs
d
efaultGreaterThan
(
Boolean
value
)
{
addCriterion
(
"
IsD
efault >"
,
value
,
"is
d
efault"
);
public
Criteria
andIs
D
efaultGreaterThan
(
Boolean
value
)
{
addCriterion
(
"
is_d
efault >"
,
value
,
"is
D
efault"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIs
d
efaultGreaterThanOrEqualTo
(
Boolean
value
)
{
addCriterion
(
"
IsD
efault >="
,
value
,
"is
d
efault"
);
public
Criteria
andIs
D
efaultGreaterThanOrEqualTo
(
Boolean
value
)
{
addCriterion
(
"
is_d
efault >="
,
value
,
"is
D
efault"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIs
d
efaultLessThan
(
Boolean
value
)
{
addCriterion
(
"
IsD
efault <"
,
value
,
"is
d
efault"
);
public
Criteria
andIs
D
efaultLessThan
(
Boolean
value
)
{
addCriterion
(
"
is_d
efault <"
,
value
,
"is
D
efault"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIs
d
efaultLessThanOrEqualTo
(
Boolean
value
)
{
addCriterion
(
"
IsD
efault <="
,
value
,
"is
d
efault"
);
public
Criteria
andIs
D
efaultLessThanOrEqualTo
(
Boolean
value
)
{
addCriterion
(
"
is_d
efault <="
,
value
,
"is
D
efault"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIs
d
efaultIn
(
List
<
Boolean
>
values
)
{
addCriterion
(
"
IsD
efault in"
,
values
,
"is
d
efault"
);
public
Criteria
andIs
D
efaultIn
(
List
<
Boolean
>
values
)
{
addCriterion
(
"
is_d
efault in"
,
values
,
"is
D
efault"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIs
d
efaultNotIn
(
List
<
Boolean
>
values
)
{
addCriterion
(
"
IsD
efault not in"
,
values
,
"is
d
efault"
);
public
Criteria
andIs
D
efaultNotIn
(
List
<
Boolean
>
values
)
{
addCriterion
(
"
is_d
efault not in"
,
values
,
"is
D
efault"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIs
d
efaultBetween
(
Boolean
value1
,
Boolean
value2
)
{
addCriterion
(
"
IsD
efault between"
,
value1
,
value2
,
"is
d
efault"
);
public
Criteria
andIs
D
efaultBetween
(
Boolean
value1
,
Boolean
value2
)
{
addCriterion
(
"
is_d
efault between"
,
value1
,
value2
,
"is
D
efault"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIs
d
efaultNotBetween
(
Boolean
value1
,
Boolean
value2
)
{
addCriterion
(
"
IsD
efault not between"
,
value1
,
value2
,
"is
d
efault"
);
public
Criteria
andIs
D
efaultNotBetween
(
Boolean
value1
,
Boolean
value2
)
{
addCriterion
(
"
is_d
efault not between"
,
value1
,
value2
,
"is
D
efault"
);
return
(
Criteria
)
this
;
}
...
...
@@ -706,95 +616,82 @@ public class AccountExample {
}
public
Criteria
andDeleteFlagIsNull
()
{
addCriterion
(
"delete_
F
lag is null"
);
addCriterion
(
"delete_
f
lag is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagIsNotNull
()
{
addCriterion
(
"delete_
F
lag is not null"
);
addCriterion
(
"delete_
f
lag is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag ="
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag ="
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag <>"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag <>"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagGreaterThan
(
String
value
)
{
addCriterion
(
"delete_
F
lag >"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag >"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag >="
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag >="
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagLessThan
(
String
value
)
{
addCriterion
(
"delete_
F
lag <"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag <"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag <="
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag <="
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagLike
(
String
value
)
{
addCriterion
(
"delete_
F
lag like"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag like"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotLike
(
String
value
)
{
addCriterion
(
"delete_
F
lag not like"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag not like"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagIn
(
List
<
String
>
values
)
{
addCriterion
(
"delete_
F
lag in"
,
values
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag in"
,
values
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"delete_
F
lag not in"
,
values
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag not in"
,
values
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"delete_
F
lag between"
,
value1
,
value2
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag between"
,
value1
,
value2
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"delete_
F
lag not between"
,
value1
,
value2
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag not between"
,
value1
,
value2
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_account
*
* @mbggenerated do_not_delete_during_merge
*/
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_account
*
* @mbggenerated
*/
public
static
class
Criterion
{
private
String
condition
;
...
...
src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4WithInfoEx.java
View file @
70f0dae4
...
...
@@ -30,7 +30,7 @@ public class DepotItemVo4WithInfoEx extends DepotItem{
private
Long
UnitId
;
private
String
U
Name
;
private
String
unit
Name
;
private
BigDecimal
presetPriceOne
;
...
...
@@ -144,12 +144,12 @@ public class DepotItemVo4WithInfoEx extends DepotItem{
UnitId
=
unitId
;
}
public
String
getUName
()
{
return
U
Name
;
public
String
getU
nit
Name
()
{
return
unit
Name
;
}
public
void
setUName
(
String
U
Name
)
{
this
.
U
Name
=
U
Name
;
public
void
setU
nit
Name
(
String
unit
Name
)
{
this
.
unit
Name
=
unit
Name
;
}
public
BigDecimal
getPresetPriceOne
()
{
...
...
src/main/java/com/jsh/erp/datasource/entities/Function.java
0 → 100644
View file @
70f0dae4
package
com.jsh.erp.datasource.entities
;
public
class
Function
{
private
Long
id
;
private
String
number
;
private
String
name
;
private
String
parentNumber
;
private
String
url
;
private
Boolean
state
;
private
String
sort
;
private
Boolean
enabled
;
private
String
type
;
private
String
pushBtn
;
private
String
icon
;
private
String
deleteFlag
;
public
Long
getId
()
{
return
id
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
String
getNumber
()
{
return
number
;
}
public
void
setNumber
(
String
number
)
{
this
.
number
=
number
==
null
?
null
:
number
.
trim
();
}
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
==
null
?
null
:
name
.
trim
();
}
public
String
getParentNumber
()
{
return
parentNumber
;
}
public
void
setParentNumber
(
String
parentNumber
)
{
this
.
parentNumber
=
parentNumber
==
null
?
null
:
parentNumber
.
trim
();
}
public
String
getUrl
()
{
return
url
;
}
public
void
setUrl
(
String
url
)
{
this
.
url
=
url
==
null
?
null
:
url
.
trim
();
}
public
Boolean
getState
()
{
return
state
;
}
public
void
setState
(
Boolean
state
)
{
this
.
state
=
state
;
}
public
String
getSort
()
{
return
sort
;
}
public
void
setSort
(
String
sort
)
{
this
.
sort
=
sort
==
null
?
null
:
sort
.
trim
();
}
public
Boolean
getEnabled
()
{
return
enabled
;
}
public
void
setEnabled
(
Boolean
enabled
)
{
this
.
enabled
=
enabled
;
}
public
String
getType
()
{
return
type
;
}
public
void
setType
(
String
type
)
{
this
.
type
=
type
==
null
?
null
:
type
.
trim
();
}
public
String
getPushBtn
()
{
return
pushBtn
;
}
public
void
setPushBtn
(
String
pushBtn
)
{
this
.
pushBtn
=
pushBtn
==
null
?
null
:
pushBtn
.
trim
();
}
public
String
getIcon
()
{
return
icon
;
}
public
void
setIcon
(
String
icon
)
{
this
.
icon
=
icon
==
null
?
null
:
icon
.
trim
();
}
public
String
getDeleteFlag
()
{
return
deleteFlag
;
}
public
void
setDeleteFlag
(
String
deleteFlag
)
{
this
.
deleteFlag
=
deleteFlag
==
null
?
null
:
deleteFlag
.
trim
();
}
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/entities/Function
s
Example.java
→
src/main/java/com/jsh/erp/datasource/entities/FunctionExample.java
View file @
70f0dae4
...
...
@@ -3,119 +3,47 @@ package com.jsh.erp.datasource.entities;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
FunctionsExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_functions
*
* @mbggenerated
*/
public
class
FunctionExample
{
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_functions
*
* @mbggenerated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_functions
*
* @mbggenerated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_functions
*
* @mbggenerated
*/
public
FunctionsExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_functions
*
* @mbggenerated
*/
public
FunctionExample
()
{
oredCriteria
=
new
ArrayList
<>();
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_functions
*
* @mbggenerated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_functions
*
* @mbggenerated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_functions
*
* @mbggenerated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_functions
*
* @mbggenerated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_functions
*
* @mbggenerated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_functions
*
* @mbggenerated
*/
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_functions
*
* @mbggenerated
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
...
...
@@ -124,41 +52,23 @@ public class FunctionsExample {
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_functions
*
* @mbggenerated
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_functions
*
* @mbggenerated
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_functions
*
* @mbggenerated
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
criteria
=
new
ArrayList
<>();
}
public
boolean
isValid
()
{
...
...
@@ -195,672 +105,672 @@ public class FunctionsExample {
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"
I
d is null"
);
addCriterion
(
"
i
d is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"
I
d is not null"
);
addCriterion
(
"
i
d is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d ="
,
value
,
"id"
);
addCriterion
(
"
i
d ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d <>"
,
value
,
"id"
);
addCriterion
(
"
i
d <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"
I
d >"
,
value
,
"id"
);
addCriterion
(
"
i
d >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d >="
,
value
,
"id"
);
addCriterion
(
"
i
d >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"
I
d <"
,
value
,
"id"
);
addCriterion
(
"
i
d <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d <="
,
value
,
"id"
);
addCriterion
(
"
i
d <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"
I
d in"
,
values
,
"id"
);
addCriterion
(
"
i
d in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"
I
d not in"
,
values
,
"id"
);
addCriterion
(
"
i
d not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"
I
d between"
,
value1
,
value2
,
"id"
);
addCriterion
(
"
i
d between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"
I
d not between"
,
value1
,
value2
,
"id"
);
addCriterion
(
"
i
d not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberIsNull
()
{
addCriterion
(
"
N
umber is null"
);
addCriterion
(
"
n
umber is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberIsNotNull
()
{
addCriterion
(
"
N
umber is not null"
);
addCriterion
(
"
n
umber is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberEqualTo
(
String
value
)
{
addCriterion
(
"
N
umber ="
,
value
,
"number"
);
addCriterion
(
"
n
umber ="
,
value
,
"number"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberNotEqualTo
(
String
value
)
{
addCriterion
(
"
N
umber <>"
,
value
,
"number"
);
addCriterion
(
"
n
umber <>"
,
value
,
"number"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberGreaterThan
(
String
value
)
{
addCriterion
(
"
N
umber >"
,
value
,
"number"
);
addCriterion
(
"
n
umber >"
,
value
,
"number"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
N
umber >="
,
value
,
"number"
);
addCriterion
(
"
n
umber >="
,
value
,
"number"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberLessThan
(
String
value
)
{
addCriterion
(
"
N
umber <"
,
value
,
"number"
);
addCriterion
(
"
n
umber <"
,
value
,
"number"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
N
umber <="
,
value
,
"number"
);
addCriterion
(
"
n
umber <="
,
value
,
"number"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberLike
(
String
value
)
{
addCriterion
(
"
N
umber like"
,
value
,
"number"
);
addCriterion
(
"
n
umber like"
,
value
,
"number"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberNotLike
(
String
value
)
{
addCriterion
(
"
N
umber not like"
,
value
,
"number"
);
addCriterion
(
"
n
umber not like"
,
value
,
"number"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberIn
(
List
<
String
>
values
)
{
addCriterion
(
"
N
umber in"
,
values
,
"number"
);
addCriterion
(
"
n
umber in"
,
values
,
"number"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
N
umber not in"
,
values
,
"number"
);
addCriterion
(
"
n
umber not in"
,
values
,
"number"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
N
umber between"
,
value1
,
value2
,
"number"
);
addCriterion
(
"
n
umber between"
,
value1
,
value2
,
"number"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNumberNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
N
umber not between"
,
value1
,
value2
,
"number"
);
addCriterion
(
"
n
umber not between"
,
value1
,
value2
,
"number"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNull
()
{
addCriterion
(
"
N
ame is null"
);
addCriterion
(
"
n
ame is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNotNull
()
{
addCriterion
(
"
N
ame is not null"
);
addCriterion
(
"
n
ame is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame ="
,
value
,
"name"
);
addCriterion
(
"
n
ame ="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame <>"
,
value
,
"name"
);
addCriterion
(
"
n
ame <>"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThan
(
String
value
)
{
addCriterion
(
"
N
ame >"
,
value
,
"name"
);
addCriterion
(
"
n
ame >"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame >="
,
value
,
"name"
);
addCriterion
(
"
n
ame >="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThan
(
String
value
)
{
addCriterion
(
"
N
ame <"
,
value
,
"name"
);
addCriterion
(
"
n
ame <"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame <="
,
value
,
"name"
);
addCriterion
(
"
n
ame <="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLike
(
String
value
)
{
addCriterion
(
"
N
ame like"
,
value
,
"name"
);
addCriterion
(
"
n
ame like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotLike
(
String
value
)
{
addCriterion
(
"
N
ame not like"
,
value
,
"name"
);
addCriterion
(
"
n
ame not like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"
N
ame in"
,
values
,
"name"
);
addCriterion
(
"
n
ame in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
N
ame not in"
,
values
,
"name"
);
addCriterion
(
"
n
ame not in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
N
ame between"
,
value1
,
value2
,
"name"
);
addCriterion
(
"
n
ame between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
N
ame not between"
,
value1
,
value2
,
"name"
);
addCriterion
(
"
n
ame not between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
n
umberIsNull
()
{
addCriterion
(
"
PN
umber is null"
);
public
Criteria
andP
arentN
umberIsNull
()
{
addCriterion
(
"
parent_n
umber is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
n
umberIsNotNull
()
{
addCriterion
(
"
PN
umber is not null"
);
public
Criteria
andP
arentN
umberIsNotNull
()
{
addCriterion
(
"
parent_n
umber is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
n
umberEqualTo
(
String
value
)
{
addCriterion
(
"
PN
umber ="
,
value
,
"p
n
umber"
);
public
Criteria
andP
arentN
umberEqualTo
(
String
value
)
{
addCriterion
(
"
parent_n
umber ="
,
value
,
"p
arentN
umber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
n
umberNotEqualTo
(
String
value
)
{
addCriterion
(
"
PN
umber <>"
,
value
,
"p
n
umber"
);
public
Criteria
andP
arentN
umberNotEqualTo
(
String
value
)
{
addCriterion
(
"
parent_n
umber <>"
,
value
,
"p
arentN
umber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
n
umberGreaterThan
(
String
value
)
{
addCriterion
(
"
PN
umber >"
,
value
,
"p
n
umber"
);
public
Criteria
andP
arentN
umberGreaterThan
(
String
value
)
{
addCriterion
(
"
parent_n
umber >"
,
value
,
"p
arentN
umber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
n
umberGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
PN
umber >="
,
value
,
"p
n
umber"
);
public
Criteria
andP
arentN
umberGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
parent_n
umber >="
,
value
,
"p
arentN
umber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
n
umberLessThan
(
String
value
)
{
addCriterion
(
"
PN
umber <"
,
value
,
"p
n
umber"
);
public
Criteria
andP
arentN
umberLessThan
(
String
value
)
{
addCriterion
(
"
parent_n
umber <"
,
value
,
"p
arentN
umber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
n
umberLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
PN
umber <="
,
value
,
"p
n
umber"
);
public
Criteria
andP
arentN
umberLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
parent_n
umber <="
,
value
,
"p
arentN
umber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
n
umberLike
(
String
value
)
{
addCriterion
(
"
PN
umber like"
,
value
,
"p
n
umber"
);
public
Criteria
andP
arentN
umberLike
(
String
value
)
{
addCriterion
(
"
parent_n
umber like"
,
value
,
"p
arentN
umber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
n
umberNotLike
(
String
value
)
{
addCriterion
(
"
PN
umber not like"
,
value
,
"p
n
umber"
);
public
Criteria
andP
arentN
umberNotLike
(
String
value
)
{
addCriterion
(
"
parent_n
umber not like"
,
value
,
"p
arentN
umber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
n
umberIn
(
List
<
String
>
values
)
{
addCriterion
(
"
PN
umber in"
,
values
,
"p
n
umber"
);
public
Criteria
andP
arentN
umberIn
(
List
<
String
>
values
)
{
addCriterion
(
"
parent_n
umber in"
,
values
,
"p
arentN
umber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
n
umberNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
PN
umber not in"
,
values
,
"p
n
umber"
);
public
Criteria
andP
arentN
umberNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
parent_n
umber not in"
,
values
,
"p
arentN
umber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
n
umberBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
PN
umber between"
,
value1
,
value2
,
"p
n
umber"
);
public
Criteria
andP
arentN
umberBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
parent_n
umber between"
,
value1
,
value2
,
"p
arentN
umber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
n
umberNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
PN
umber not between"
,
value1
,
value2
,
"p
n
umber"
);
public
Criteria
andP
arentN
umberNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
parent_n
umber not between"
,
value1
,
value2
,
"p
arentN
umber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlIsNull
()
{
addCriterion
(
"
URL
is null"
);
addCriterion
(
"
url
is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlIsNotNull
()
{
addCriterion
(
"
URL
is not null"
);
addCriterion
(
"
url
is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlEqualTo
(
String
value
)
{
addCriterion
(
"
URL
="
,
value
,
"url"
);
addCriterion
(
"
url
="
,
value
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlNotEqualTo
(
String
value
)
{
addCriterion
(
"
URL
<>"
,
value
,
"url"
);
addCriterion
(
"
url
<>"
,
value
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlGreaterThan
(
String
value
)
{
addCriterion
(
"
URL
>"
,
value
,
"url"
);
addCriterion
(
"
url
>"
,
value
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
URL
>="
,
value
,
"url"
);
addCriterion
(
"
url
>="
,
value
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlLessThan
(
String
value
)
{
addCriterion
(
"
URL
<"
,
value
,
"url"
);
addCriterion
(
"
url
<"
,
value
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
URL
<="
,
value
,
"url"
);
addCriterion
(
"
url
<="
,
value
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlLike
(
String
value
)
{
addCriterion
(
"
URL
like"
,
value
,
"url"
);
addCriterion
(
"
url
like"
,
value
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlNotLike
(
String
value
)
{
addCriterion
(
"
URL
not like"
,
value
,
"url"
);
addCriterion
(
"
url
not like"
,
value
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlIn
(
List
<
String
>
values
)
{
addCriterion
(
"
URL
in"
,
values
,
"url"
);
addCriterion
(
"
url
in"
,
values
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
URL
not in"
,
values
,
"url"
);
addCriterion
(
"
url
not in"
,
values
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
URL
between"
,
value1
,
value2
,
"url"
);
addCriterion
(
"
url
between"
,
value1
,
value2
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUrlNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
URL
not between"
,
value1
,
value2
,
"url"
);
addCriterion
(
"
url
not between"
,
value1
,
value2
,
"url"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStateIsNull
()
{
addCriterion
(
"
S
tate is null"
);
addCriterion
(
"
s
tate is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStateIsNotNull
()
{
addCriterion
(
"
S
tate is not null"
);
addCriterion
(
"
s
tate is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStateEqualTo
(
Boolean
value
)
{
addCriterion
(
"
S
tate ="
,
value
,
"state"
);
addCriterion
(
"
s
tate ="
,
value
,
"state"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStateNotEqualTo
(
Boolean
value
)
{
addCriterion
(
"
S
tate <>"
,
value
,
"state"
);
addCriterion
(
"
s
tate <>"
,
value
,
"state"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStateGreaterThan
(
Boolean
value
)
{
addCriterion
(
"
S
tate >"
,
value
,
"state"
);
addCriterion
(
"
s
tate >"
,
value
,
"state"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStateGreaterThanOrEqualTo
(
Boolean
value
)
{
addCriterion
(
"
S
tate >="
,
value
,
"state"
);
addCriterion
(
"
s
tate >="
,
value
,
"state"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStateLessThan
(
Boolean
value
)
{
addCriterion
(
"
S
tate <"
,
value
,
"state"
);
addCriterion
(
"
s
tate <"
,
value
,
"state"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStateLessThanOrEqualTo
(
Boolean
value
)
{
addCriterion
(
"
S
tate <="
,
value
,
"state"
);
addCriterion
(
"
s
tate <="
,
value
,
"state"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStateIn
(
List
<
Boolean
>
values
)
{
addCriterion
(
"
S
tate in"
,
values
,
"state"
);
addCriterion
(
"
s
tate in"
,
values
,
"state"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStateNotIn
(
List
<
Boolean
>
values
)
{
addCriterion
(
"
S
tate not in"
,
values
,
"state"
);
addCriterion
(
"
s
tate not in"
,
values
,
"state"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStateBetween
(
Boolean
value1
,
Boolean
value2
)
{
addCriterion
(
"
S
tate between"
,
value1
,
value2
,
"state"
);
addCriterion
(
"
s
tate between"
,
value1
,
value2
,
"state"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStateNotBetween
(
Boolean
value1
,
Boolean
value2
)
{
addCriterion
(
"
S
tate not between"
,
value1
,
value2
,
"state"
);
addCriterion
(
"
s
tate not between"
,
value1
,
value2
,
"state"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortIsNull
()
{
addCriterion
(
"
S
ort is null"
);
addCriterion
(
"
s
ort is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortIsNotNull
()
{
addCriterion
(
"
S
ort is not null"
);
addCriterion
(
"
s
ort is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortEqualTo
(
String
value
)
{
addCriterion
(
"
S
ort ="
,
value
,
"sort"
);
addCriterion
(
"
s
ort ="
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortNotEqualTo
(
String
value
)
{
addCriterion
(
"
S
ort <>"
,
value
,
"sort"
);
addCriterion
(
"
s
ort <>"
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortGreaterThan
(
String
value
)
{
addCriterion
(
"
S
ort >"
,
value
,
"sort"
);
addCriterion
(
"
s
ort >"
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
S
ort >="
,
value
,
"sort"
);
addCriterion
(
"
s
ort >="
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortLessThan
(
String
value
)
{
addCriterion
(
"
S
ort <"
,
value
,
"sort"
);
addCriterion
(
"
s
ort <"
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
S
ort <="
,
value
,
"sort"
);
addCriterion
(
"
s
ort <="
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortLike
(
String
value
)
{
addCriterion
(
"
S
ort like"
,
value
,
"sort"
);
addCriterion
(
"
s
ort like"
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortNotLike
(
String
value
)
{
addCriterion
(
"
S
ort not like"
,
value
,
"sort"
);
addCriterion
(
"
s
ort not like"
,
value
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortIn
(
List
<
String
>
values
)
{
addCriterion
(
"
S
ort in"
,
values
,
"sort"
);
addCriterion
(
"
s
ort in"
,
values
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
S
ort not in"
,
values
,
"sort"
);
addCriterion
(
"
s
ort not in"
,
values
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
S
ort between"
,
value1
,
value2
,
"sort"
);
addCriterion
(
"
s
ort between"
,
value1
,
value2
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
S
ort not between"
,
value1
,
value2
,
"sort"
);
addCriterion
(
"
s
ort not between"
,
value1
,
value2
,
"sort"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledIsNull
()
{
addCriterion
(
"
E
nabled is null"
);
addCriterion
(
"
e
nabled is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledIsNotNull
()
{
addCriterion
(
"
E
nabled is not null"
);
addCriterion
(
"
e
nabled is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledEqualTo
(
Boolean
value
)
{
addCriterion
(
"
E
nabled ="
,
value
,
"enabled"
);
addCriterion
(
"
e
nabled ="
,
value
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledNotEqualTo
(
Boolean
value
)
{
addCriterion
(
"
E
nabled <>"
,
value
,
"enabled"
);
addCriterion
(
"
e
nabled <>"
,
value
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledGreaterThan
(
Boolean
value
)
{
addCriterion
(
"
E
nabled >"
,
value
,
"enabled"
);
addCriterion
(
"
e
nabled >"
,
value
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledGreaterThanOrEqualTo
(
Boolean
value
)
{
addCriterion
(
"
E
nabled >="
,
value
,
"enabled"
);
addCriterion
(
"
e
nabled >="
,
value
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledLessThan
(
Boolean
value
)
{
addCriterion
(
"
E
nabled <"
,
value
,
"enabled"
);
addCriterion
(
"
e
nabled <"
,
value
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledLessThanOrEqualTo
(
Boolean
value
)
{
addCriterion
(
"
E
nabled <="
,
value
,
"enabled"
);
addCriterion
(
"
e
nabled <="
,
value
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledIn
(
List
<
Boolean
>
values
)
{
addCriterion
(
"
E
nabled in"
,
values
,
"enabled"
);
addCriterion
(
"
e
nabled in"
,
values
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledNotIn
(
List
<
Boolean
>
values
)
{
addCriterion
(
"
E
nabled not in"
,
values
,
"enabled"
);
addCriterion
(
"
e
nabled not in"
,
values
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledBetween
(
Boolean
value1
,
Boolean
value2
)
{
addCriterion
(
"
E
nabled between"
,
value1
,
value2
,
"enabled"
);
addCriterion
(
"
e
nabled between"
,
value1
,
value2
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledNotBetween
(
Boolean
value1
,
Boolean
value2
)
{
addCriterion
(
"
E
nabled not between"
,
value1
,
value2
,
"enabled"
);
addCriterion
(
"
e
nabled not between"
,
value1
,
value2
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNull
()
{
addCriterion
(
"
T
ype is null"
);
addCriterion
(
"
t
ype is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNotNull
()
{
addCriterion
(
"
T
ype is not null"
);
addCriterion
(
"
t
ype is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeEqualTo
(
String
value
)
{
addCriterion
(
"
T
ype ="
,
value
,
"type"
);
addCriterion
(
"
t
ype ="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotEqualTo
(
String
value
)
{
addCriterion
(
"
T
ype <>"
,
value
,
"type"
);
addCriterion
(
"
t
ype <>"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThan
(
String
value
)
{
addCriterion
(
"
T
ype >"
,
value
,
"type"
);
addCriterion
(
"
t
ype >"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
T
ype >="
,
value
,
"type"
);
addCriterion
(
"
t
ype >="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThan
(
String
value
)
{
addCriterion
(
"
T
ype <"
,
value
,
"type"
);
addCriterion
(
"
t
ype <"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
T
ype <="
,
value
,
"type"
);
addCriterion
(
"
t
ype <="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLike
(
String
value
)
{
addCriterion
(
"
T
ype like"
,
value
,
"type"
);
addCriterion
(
"
t
ype like"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotLike
(
String
value
)
{
addCriterion
(
"
T
ype not like"
,
value
,
"type"
);
addCriterion
(
"
t
ype not like"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIn
(
List
<
String
>
values
)
{
addCriterion
(
"
T
ype in"
,
values
,
"type"
);
addCriterion
(
"
t
ype in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
T
ype not in"
,
values
,
"type"
);
addCriterion
(
"
t
ype not in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
T
ype between"
,
value1
,
value2
,
"type"
);
addCriterion
(
"
t
ype between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
T
ype not between"
,
value1
,
value2
,
"type"
);
addCriterion
(
"
t
ype not between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPush
b
tnIsNull
()
{
addCriterion
(
"
P
ush
B
tn is null"
);
public
Criteria
andPush
B
tnIsNull
()
{
addCriterion
(
"
p
ush
_b
tn is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPush
b
tnIsNotNull
()
{
addCriterion
(
"
P
ush
B
tn is not null"
);
public
Criteria
andPush
B
tnIsNotNull
()
{
addCriterion
(
"
p
ush
_b
tn is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPush
b
tnEqualTo
(
String
value
)
{
addCriterion
(
"
P
ush
B
tn ="
,
value
,
"push
b
tn"
);
public
Criteria
andPush
B
tnEqualTo
(
String
value
)
{
addCriterion
(
"
p
ush
_b
tn ="
,
value
,
"push
B
tn"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPush
b
tnNotEqualTo
(
String
value
)
{
addCriterion
(
"
P
ush
B
tn <>"
,
value
,
"push
b
tn"
);
public
Criteria
andPush
B
tnNotEqualTo
(
String
value
)
{
addCriterion
(
"
p
ush
_b
tn <>"
,
value
,
"push
B
tn"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPush
b
tnGreaterThan
(
String
value
)
{
addCriterion
(
"
P
ush
B
tn >"
,
value
,
"push
b
tn"
);
public
Criteria
andPush
B
tnGreaterThan
(
String
value
)
{
addCriterion
(
"
p
ush
_b
tn >"
,
value
,
"push
B
tn"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPush
b
tnGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
P
ush
B
tn >="
,
value
,
"push
b
tn"
);
public
Criteria
andPush
B
tnGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
p
ush
_b
tn >="
,
value
,
"push
B
tn"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPush
b
tnLessThan
(
String
value
)
{
addCriterion
(
"
P
ush
B
tn <"
,
value
,
"push
b
tn"
);
public
Criteria
andPush
B
tnLessThan
(
String
value
)
{
addCriterion
(
"
p
ush
_b
tn <"
,
value
,
"push
B
tn"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPush
b
tnLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
P
ush
B
tn <="
,
value
,
"push
b
tn"
);
public
Criteria
andPush
B
tnLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
p
ush
_b
tn <="
,
value
,
"push
B
tn"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPush
b
tnLike
(
String
value
)
{
addCriterion
(
"
P
ush
B
tn like"
,
value
,
"push
b
tn"
);
public
Criteria
andPush
B
tnLike
(
String
value
)
{
addCriterion
(
"
p
ush
_b
tn like"
,
value
,
"push
B
tn"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPush
b
tnNotLike
(
String
value
)
{
addCriterion
(
"
P
ush
B
tn not like"
,
value
,
"push
b
tn"
);
public
Criteria
andPush
B
tnNotLike
(
String
value
)
{
addCriterion
(
"
p
ush
_b
tn not like"
,
value
,
"push
B
tn"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPush
b
tnIn
(
List
<
String
>
values
)
{
addCriterion
(
"
P
ush
B
tn in"
,
values
,
"push
b
tn"
);
public
Criteria
andPush
B
tnIn
(
List
<
String
>
values
)
{
addCriterion
(
"
p
ush
_b
tn in"
,
values
,
"push
B
tn"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPush
b
tnNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
P
ush
B
tn not in"
,
values
,
"push
b
tn"
);
public
Criteria
andPush
B
tnNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
p
ush
_b
tn not in"
,
values
,
"push
B
tn"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPush
b
tnBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
P
ush
B
tn between"
,
value1
,
value2
,
"push
b
tn"
);
public
Criteria
andPush
B
tnBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
p
ush
_b
tn between"
,
value1
,
value2
,
"push
B
tn"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPush
b
tnNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
P
ush
B
tn not between"
,
value1
,
value2
,
"push
b
tn"
);
public
Criteria
andPush
B
tnNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
p
ush
_b
tn not between"
,
value1
,
value2
,
"push
B
tn"
);
return
(
Criteria
)
this
;
}
...
...
@@ -935,95 +845,82 @@ public class FunctionsExample {
}
public
Criteria
andDeleteFlagIsNull
()
{
addCriterion
(
"delete_
F
lag is null"
);
addCriterion
(
"delete_
f
lag is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagIsNotNull
()
{
addCriterion
(
"delete_
F
lag is not null"
);
addCriterion
(
"delete_
f
lag is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag ="
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag ="
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag <>"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag <>"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagGreaterThan
(
String
value
)
{
addCriterion
(
"delete_
F
lag >"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag >"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag >="
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag >="
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagLessThan
(
String
value
)
{
addCriterion
(
"delete_
F
lag <"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag <"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag <="
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag <="
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagLike
(
String
value
)
{
addCriterion
(
"delete_
F
lag like"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag like"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotLike
(
String
value
)
{
addCriterion
(
"delete_
F
lag not like"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag not like"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagIn
(
List
<
String
>
values
)
{
addCriterion
(
"delete_
F
lag in"
,
values
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag in"
,
values
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"delete_
F
lag not in"
,
values
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag not in"
,
values
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"delete_
F
lag between"
,
value1
,
value2
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag between"
,
value1
,
value2
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"delete_
F
lag not between"
,
value1
,
value2
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag not between"
,
value1
,
value2
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_functions
*
* @mbggenerated do_not_delete_during_merge
*/
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_functions
*
* @mbggenerated
*/
public
static
class
Criterion
{
private
String
condition
;
...
...
src/main/java/com/jsh/erp/datasource/entities/Functions.java
deleted
100644 → 0
View file @
13932441
package
com.jsh.erp.datasource.entities
;
public
class
Functions
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_functions.Id
*
* @mbggenerated
*/
private
Long
id
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_functions.Number
*
* @mbggenerated
*/
private
String
number
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_functions.Name
*
* @mbggenerated
*/
private
String
name
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_functions.PNumber
*
* @mbggenerated
*/
private
String
pnumber
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_functions.URL
*
* @mbggenerated
*/
private
String
url
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_functions.State
*
* @mbggenerated
*/
private
Boolean
state
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_functions.Sort
*
* @mbggenerated
*/
private
String
sort
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_functions.Enabled
*
* @mbggenerated
*/
private
Boolean
enabled
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_functions.Type
*
* @mbggenerated
*/
private
String
type
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_functions.PushBtn
*
* @mbggenerated
*/
private
String
pushbtn
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_functions.icon
*
* @mbggenerated
*/
private
String
icon
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_functions.delete_Flag
*
* @mbggenerated
*/
private
String
deleteFlag
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_functions.Id
*
* @return the value of jsh_functions.Id
*
* @mbggenerated
*/
public
Long
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_functions.Id
*
* @param id the value for jsh_functions.Id
*
* @mbggenerated
*/
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_functions.Number
*
* @return the value of jsh_functions.Number
*
* @mbggenerated
*/
public
String
getNumber
()
{
return
number
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_functions.Number
*
* @param number the value for jsh_functions.Number
*
* @mbggenerated
*/
public
void
setNumber
(
String
number
)
{
this
.
number
=
number
==
null
?
null
:
number
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_functions.Name
*
* @return the value of jsh_functions.Name
*
* @mbggenerated
*/
public
String
getName
()
{
return
name
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_functions.Name
*
* @param name the value for jsh_functions.Name
*
* @mbggenerated
*/
public
void
setName
(
String
name
)
{
this
.
name
=
name
==
null
?
null
:
name
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_functions.PNumber
*
* @return the value of jsh_functions.PNumber
*
* @mbggenerated
*/
public
String
getPnumber
()
{
return
pnumber
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_functions.PNumber
*
* @param pnumber the value for jsh_functions.PNumber
*
* @mbggenerated
*/
public
void
setPnumber
(
String
pnumber
)
{
this
.
pnumber
=
pnumber
==
null
?
null
:
pnumber
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_functions.URL
*
* @return the value of jsh_functions.URL
*
* @mbggenerated
*/
public
String
getUrl
()
{
return
url
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_functions.URL
*
* @param url the value for jsh_functions.URL
*
* @mbggenerated
*/
public
void
setUrl
(
String
url
)
{
this
.
url
=
url
==
null
?
null
:
url
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_functions.State
*
* @return the value of jsh_functions.State
*
* @mbggenerated
*/
public
Boolean
getState
()
{
return
state
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_functions.State
*
* @param state the value for jsh_functions.State
*
* @mbggenerated
*/
public
void
setState
(
Boolean
state
)
{
this
.
state
=
state
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_functions.Sort
*
* @return the value of jsh_functions.Sort
*
* @mbggenerated
*/
public
String
getSort
()
{
return
sort
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_functions.Sort
*
* @param sort the value for jsh_functions.Sort
*
* @mbggenerated
*/
public
void
setSort
(
String
sort
)
{
this
.
sort
=
sort
==
null
?
null
:
sort
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_functions.Enabled
*
* @return the value of jsh_functions.Enabled
*
* @mbggenerated
*/
public
Boolean
getEnabled
()
{
return
enabled
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_functions.Enabled
*
* @param enabled the value for jsh_functions.Enabled
*
* @mbggenerated
*/
public
void
setEnabled
(
Boolean
enabled
)
{
this
.
enabled
=
enabled
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_functions.Type
*
* @return the value of jsh_functions.Type
*
* @mbggenerated
*/
public
String
getType
()
{
return
type
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_functions.Type
*
* @param type the value for jsh_functions.Type
*
* @mbggenerated
*/
public
void
setType
(
String
type
)
{
this
.
type
=
type
==
null
?
null
:
type
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_functions.PushBtn
*
* @return the value of jsh_functions.PushBtn
*
* @mbggenerated
*/
public
String
getPushbtn
()
{
return
pushbtn
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_functions.PushBtn
*
* @param pushbtn the value for jsh_functions.PushBtn
*
* @mbggenerated
*/
public
void
setPushbtn
(
String
pushbtn
)
{
this
.
pushbtn
=
pushbtn
==
null
?
null
:
pushbtn
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_functions.icon
*
* @return the value of jsh_functions.icon
*
* @mbggenerated
*/
public
String
getIcon
()
{
return
icon
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_functions.icon
*
* @param icon the value for jsh_functions.icon
*
* @mbggenerated
*/
public
void
setIcon
(
String
icon
)
{
this
.
icon
=
icon
==
null
?
null
:
icon
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_functions.delete_Flag
*
* @return the value of jsh_functions.delete_Flag
*
* @mbggenerated
*/
public
String
getDeleteFlag
()
{
return
deleteFlag
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_functions.delete_Flag
*
* @param deleteFlag the value for jsh_functions.delete_Flag
*
* @mbggenerated
*/
public
void
setDeleteFlag
(
String
deleteFlag
)
{
this
.
deleteFlag
=
deleteFlag
==
null
?
null
:
deleteFlag
.
trim
();
}
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/entities/InOutItem.java
View file @
70f0dae4
package
com.jsh.erp.datasource.entities
;
public
class
InOutItem
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_inoutitem.Id
*
* @mbggenerated
*/
private
Long
id
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_inoutitem.Name
*
* @mbggenerated
*/
private
String
name
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_inoutitem.Type
*
* @mbggenerated
*/
private
String
type
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_inoutitem.Remark
*
* @mbggenerated
*/
private
String
remark
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_inoutitem.tenant_id
*
* @mbggenerated
*/
private
Long
tenantId
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_inoutitem.delete_Flag
*
* @mbggenerated
*/
private
String
deleteFlag
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_inoutitem.Id
*
* @return the value of jsh_inoutitem.Id
*
* @mbggenerated
*/
public
Long
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_inoutitem.Id
*
* @param id the value for jsh_inoutitem.Id
*
* @mbggenerated
*/
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_inoutitem.Name
*
* @return the value of jsh_inoutitem.Name
*
* @mbggenerated
*/
public
String
getName
()
{
return
name
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_inoutitem.Name
*
* @param name the value for jsh_inoutitem.Name
*
* @mbggenerated
*/
public
void
setName
(
String
name
)
{
this
.
name
=
name
==
null
?
null
:
name
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_inoutitem.Type
*
* @return the value of jsh_inoutitem.Type
*
* @mbggenerated
*/
public
String
getType
()
{
return
type
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_inoutitem.Type
*
* @param type the value for jsh_inoutitem.Type
*
* @mbggenerated
*/
public
void
setType
(
String
type
)
{
this
.
type
=
type
==
null
?
null
:
type
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_inoutitem.Remark
*
* @return the value of jsh_inoutitem.Remark
*
* @mbggenerated
*/
public
String
getRemark
()
{
return
remark
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_inoutitem.Remark
*
* @param remark the value for jsh_inoutitem.Remark
*
* @mbggenerated
*/
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
==
null
?
null
:
remark
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_inoutitem.tenant_id
*
* @return the value of jsh_inoutitem.tenant_id
*
* @mbggenerated
*/
public
Long
getTenantId
()
{
return
tenantId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_inoutitem.tenant_id
*
* @param tenantId the value for jsh_inoutitem.tenant_id
*
* @mbggenerated
*/
public
void
setTenantId
(
Long
tenantId
)
{
this
.
tenantId
=
tenantId
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_inoutitem.delete_Flag
*
* @return the value of jsh_inoutitem.delete_Flag
*
* @mbggenerated
*/
public
String
getDeleteFlag
()
{
return
deleteFlag
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_inoutitem.delete_Flag
*
* @param deleteFlag the value for jsh_inoutitem.delete_Flag
*
* @mbggenerated
*/
public
void
setDeleteFlag
(
String
deleteFlag
)
{
this
.
deleteFlag
=
deleteFlag
==
null
?
null
:
deleteFlag
.
trim
();
}
...
...
src/main/java/com/jsh/erp/datasource/entities/InOutItemExample.java
View file @
70f0dae4
...
...
@@ -4,118 +4,46 @@ import java.util.ArrayList;
import
java.util.List
;
public
class
InOutItemExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_inoutitem
*
* @mbggenerated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_inoutitem
*
* @mbggenerated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_inoutitem
*
* @mbggenerated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_inoutitem
*
* @mbggenerated
*/
public
InOutItemExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
oredCriteria
=
new
ArrayList
<>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_inoutitem
*
* @mbggenerated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_inoutitem
*
* @mbggenerated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_inoutitem
*
* @mbggenerated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_inoutitem
*
* @mbggenerated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_inoutitem
*
* @mbggenerated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_inoutitem
*
* @mbggenerated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_inoutitem
*
* @mbggenerated
*/
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_inoutitem
*
* @mbggenerated
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
...
...
@@ -124,41 +52,23 @@ public class InOutItemExample {
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_inoutitem
*
* @mbggenerated
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_inoutitem
*
* @mbggenerated
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_inoutitem
*
* @mbggenerated
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
criteria
=
new
ArrayList
<>();
}
public
boolean
isValid
()
{
...
...
@@ -195,272 +105,272 @@ public class InOutItemExample {
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"
I
d is null"
);
addCriterion
(
"
i
d is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"
I
d is not null"
);
addCriterion
(
"
i
d is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d ="
,
value
,
"id"
);
addCriterion
(
"
i
d ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d <>"
,
value
,
"id"
);
addCriterion
(
"
i
d <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"
I
d >"
,
value
,
"id"
);
addCriterion
(
"
i
d >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d >="
,
value
,
"id"
);
addCriterion
(
"
i
d >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"
I
d <"
,
value
,
"id"
);
addCriterion
(
"
i
d <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d <="
,
value
,
"id"
);
addCriterion
(
"
i
d <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"
I
d in"
,
values
,
"id"
);
addCriterion
(
"
i
d in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"
I
d not in"
,
values
,
"id"
);
addCriterion
(
"
i
d not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"
I
d between"
,
value1
,
value2
,
"id"
);
addCriterion
(
"
i
d between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"
I
d not between"
,
value1
,
value2
,
"id"
);
addCriterion
(
"
i
d not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNull
()
{
addCriterion
(
"
N
ame is null"
);
addCriterion
(
"
n
ame is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNotNull
()
{
addCriterion
(
"
N
ame is not null"
);
addCriterion
(
"
n
ame is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame ="
,
value
,
"name"
);
addCriterion
(
"
n
ame ="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame <>"
,
value
,
"name"
);
addCriterion
(
"
n
ame <>"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThan
(
String
value
)
{
addCriterion
(
"
N
ame >"
,
value
,
"name"
);
addCriterion
(
"
n
ame >"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame >="
,
value
,
"name"
);
addCriterion
(
"
n
ame >="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThan
(
String
value
)
{
addCriterion
(
"
N
ame <"
,
value
,
"name"
);
addCriterion
(
"
n
ame <"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame <="
,
value
,
"name"
);
addCriterion
(
"
n
ame <="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLike
(
String
value
)
{
addCriterion
(
"
N
ame like"
,
value
,
"name"
);
addCriterion
(
"
n
ame like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotLike
(
String
value
)
{
addCriterion
(
"
N
ame not like"
,
value
,
"name"
);
addCriterion
(
"
n
ame not like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"
N
ame in"
,
values
,
"name"
);
addCriterion
(
"
n
ame in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
N
ame not in"
,
values
,
"name"
);
addCriterion
(
"
n
ame not in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
N
ame between"
,
value1
,
value2
,
"name"
);
addCriterion
(
"
n
ame between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
N
ame not between"
,
value1
,
value2
,
"name"
);
addCriterion
(
"
n
ame not between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNull
()
{
addCriterion
(
"
T
ype is null"
);
addCriterion
(
"
t
ype is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNotNull
()
{
addCriterion
(
"
T
ype is not null"
);
addCriterion
(
"
t
ype is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeEqualTo
(
String
value
)
{
addCriterion
(
"
T
ype ="
,
value
,
"type"
);
addCriterion
(
"
t
ype ="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotEqualTo
(
String
value
)
{
addCriterion
(
"
T
ype <>"
,
value
,
"type"
);
addCriterion
(
"
t
ype <>"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThan
(
String
value
)
{
addCriterion
(
"
T
ype >"
,
value
,
"type"
);
addCriterion
(
"
t
ype >"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
T
ype >="
,
value
,
"type"
);
addCriterion
(
"
t
ype >="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThan
(
String
value
)
{
addCriterion
(
"
T
ype <"
,
value
,
"type"
);
addCriterion
(
"
t
ype <"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
T
ype <="
,
value
,
"type"
);
addCriterion
(
"
t
ype <="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLike
(
String
value
)
{
addCriterion
(
"
T
ype like"
,
value
,
"type"
);
addCriterion
(
"
t
ype like"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotLike
(
String
value
)
{
addCriterion
(
"
T
ype not like"
,
value
,
"type"
);
addCriterion
(
"
t
ype not like"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIn
(
List
<
String
>
values
)
{
addCriterion
(
"
T
ype in"
,
values
,
"type"
);
addCriterion
(
"
t
ype in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
T
ype not in"
,
values
,
"type"
);
addCriterion
(
"
t
ype not in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
T
ype between"
,
value1
,
value2
,
"type"
);
addCriterion
(
"
t
ype between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
T
ype not between"
,
value1
,
value2
,
"type"
);
addCriterion
(
"
t
ype not between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNull
()
{
addCriterion
(
"
R
emark is null"
);
addCriterion
(
"
r
emark is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNotNull
()
{
addCriterion
(
"
R
emark is not null"
);
addCriterion
(
"
r
emark is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkEqualTo
(
String
value
)
{
addCriterion
(
"
R
emark ="
,
value
,
"remark"
);
addCriterion
(
"
r
emark ="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotEqualTo
(
String
value
)
{
addCriterion
(
"
R
emark <>"
,
value
,
"remark"
);
addCriterion
(
"
r
emark <>"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThan
(
String
value
)
{
addCriterion
(
"
R
emark >"
,
value
,
"remark"
);
addCriterion
(
"
r
emark >"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
R
emark >="
,
value
,
"remark"
);
addCriterion
(
"
r
emark >="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThan
(
String
value
)
{
addCriterion
(
"
R
emark <"
,
value
,
"remark"
);
addCriterion
(
"
r
emark <"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
R
emark <="
,
value
,
"remark"
);
addCriterion
(
"
r
emark <="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLike
(
String
value
)
{
addCriterion
(
"
R
emark like"
,
value
,
"remark"
);
addCriterion
(
"
r
emark like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotLike
(
String
value
)
{
addCriterion
(
"
R
emark not like"
,
value
,
"remark"
);
addCriterion
(
"
r
emark not like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIn
(
List
<
String
>
values
)
{
addCriterion
(
"
R
emark in"
,
values
,
"remark"
);
addCriterion
(
"
r
emark in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
R
emark not in"
,
values
,
"remark"
);
addCriterion
(
"
r
emark not in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
R
emark between"
,
value1
,
value2
,
"remark"
);
addCriterion
(
"
r
emark between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
R
emark not between"
,
value1
,
value2
,
"remark"
);
addCriterion
(
"
r
emark not between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
...
...
@@ -525,95 +435,82 @@ public class InOutItemExample {
}
public
Criteria
andDeleteFlagIsNull
()
{
addCriterion
(
"delete_
F
lag is null"
);
addCriterion
(
"delete_
f
lag is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagIsNotNull
()
{
addCriterion
(
"delete_
F
lag is not null"
);
addCriterion
(
"delete_
f
lag is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag ="
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag ="
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag <>"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag <>"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagGreaterThan
(
String
value
)
{
addCriterion
(
"delete_
F
lag >"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag >"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag >="
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag >="
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagLessThan
(
String
value
)
{
addCriterion
(
"delete_
F
lag <"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag <"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag <="
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag <="
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagLike
(
String
value
)
{
addCriterion
(
"delete_
F
lag like"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag like"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotLike
(
String
value
)
{
addCriterion
(
"delete_
F
lag not like"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag not like"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagIn
(
List
<
String
>
values
)
{
addCriterion
(
"delete_
F
lag in"
,
values
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag in"
,
values
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"delete_
F
lag not in"
,
values
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag not in"
,
values
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"delete_
F
lag between"
,
value1
,
value2
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag between"
,
value1
,
value2
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"delete_
F
lag not between"
,
value1
,
value2
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag not between"
,
value1
,
value2
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_inoutitem
*
* @mbggenerated do_not_delete_during_merge
*/
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_inoutitem
*
* @mbggenerated
*/
public
static
class
Criterion
{
private
String
condition
;
...
...
src/main/java/com/jsh/erp/datasource/entities/Log.java
View file @
70f0dae4
...
...
@@ -3,290 +3,82 @@ package com.jsh.erp.datasource.entities;
import
java.util.Date
;
public
class
Log
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_log.id
*
* @mbggenerated
*/
private
Long
id
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_log.userID
*
* @mbggenerated
*/
private
Long
userid
;
private
Long
userId
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_log.operation
*
* @mbggenerated
*/
private
String
operation
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_log.clientIP
*
* @mbggenerated
*/
private
String
clientip
;
private
String
clientIp
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_log.createtime
*
* @mbggenerated
*/
private
Date
createtime
;
private
Date
createTime
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_log.status
*
* @mbggenerated
*/
private
Byte
status
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_log.contentdetails
*
* @mbggenerated
*/
private
String
contentdetails
;
private
String
content
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_log.remark
*
* @mbggenerated
*/
private
String
remark
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_log.tenant_id
*
* @mbggenerated
*/
private
Long
tenantId
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_log.id
*
* @return the value of jsh_log.id
*
* @mbggenerated
*/
public
Long
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_log.id
*
* @param id the value for jsh_log.id
*
* @mbggenerated
*/
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_log.userID
*
* @return the value of jsh_log.userID
*
* @mbggenerated
*/
public
Long
getUserid
()
{
return
userid
;
public
Long
getUserId
()
{
return
userId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_log.userID
*
* @param userid the value for jsh_log.userID
*
* @mbggenerated
*/
public
void
setUserid
(
Long
userid
)
{
this
.
userid
=
userid
;
public
void
setUserId
(
Long
userId
)
{
this
.
userId
=
userId
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_log.operation
*
* @return the value of jsh_log.operation
*
* @mbggenerated
*/
public
String
getOperation
()
{
return
operation
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_log.operation
*
* @param operation the value for jsh_log.operation
*
* @mbggenerated
*/
public
void
setOperation
(
String
operation
)
{
this
.
operation
=
operation
==
null
?
null
:
operation
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_log.clientIP
*
* @return the value of jsh_log.clientIP
*
* @mbggenerated
*/
public
String
getClientip
()
{
return
clientip
;
public
String
getClientIp
()
{
return
clientIp
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_log.clientIP
*
* @param clientip the value for jsh_log.clientIP
*
* @mbggenerated
*/
public
void
setClientip
(
String
clientip
)
{
this
.
clientip
=
clientip
==
null
?
null
:
clientip
.
trim
();
public
void
setClientIp
(
String
clientIp
)
{
this
.
clientIp
=
clientIp
==
null
?
null
:
clientIp
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_log.createtime
*
* @return the value of jsh_log.createtime
*
* @mbggenerated
*/
public
Date
getCreatetime
()
{
return
createtime
;
public
Date
getCreateTime
()
{
return
createTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_log.createtime
*
* @param createtime the value for jsh_log.createtime
*
* @mbggenerated
*/
public
void
setCreatetime
(
Date
createtime
)
{
this
.
createtime
=
createtime
;
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_log.status
*
* @return the value of jsh_log.status
*
* @mbggenerated
*/
public
Byte
getStatus
()
{
return
status
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_log.status
*
* @param status the value for jsh_log.status
*
* @mbggenerated
*/
public
void
setStatus
(
Byte
status
)
{
this
.
status
=
status
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_log.contentdetails
*
* @return the value of jsh_log.contentdetails
*
* @mbggenerated
*/
public
String
getContentdetails
()
{
return
contentdetails
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_log.contentdetails
*
* @param contentdetails the value for jsh_log.contentdetails
*
* @mbggenerated
*/
public
void
setContentdetails
(
String
contentdetails
)
{
this
.
contentdetails
=
contentdetails
==
null
?
null
:
contentdetails
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_log.remark
*
* @return the value of jsh_log.remark
*
* @mbggenerated
*/
public
String
getRemark
()
{
return
remark
;
public
String
getContent
()
{
return
content
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_log.remark
*
* @param remark the value for jsh_log.remark
*
* @mbggenerated
*/
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
==
null
?
null
:
remark
.
trim
();
public
void
setContent
(
String
content
)
{
this
.
content
=
content
==
null
?
null
:
content
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_log.tenant_id
*
* @return the value of jsh_log.tenant_id
*
* @mbggenerated
*/
public
Long
getTenantId
()
{
return
tenantId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_log.tenant_id
*
* @param tenantId the value for jsh_log.tenant_id
*
* @mbggenerated
*/
public
void
setTenantId
(
Long
tenantId
)
{
this
.
tenantId
=
tenantId
;
}
...
...
src/main/java/com/jsh/erp/datasource/entities/LogExample.java
View file @
70f0dae4
...
...
@@ -5,118 +5,46 @@ import java.util.Date;
import
java.util.List
;
public
class
LogExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_log
*
* @mbggenerated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_log
*
* @mbggenerated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_log
*
* @mbggenerated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
public
LogExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
oredCriteria
=
new
ArrayList
<>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
...
...
@@ -125,41 +53,23 @@ public class LogExample {
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_log
*
* @mbggenerated
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_log
*
* @mbggenerated
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
criteria
=
new
ArrayList
<>();
}
public
boolean
isValid
()
{
...
...
@@ -255,63 +165,63 @@ public class LogExample {
return
(
Criteria
)
this
;
}
public
Criteria
andUser
i
dIsNull
()
{
addCriterion
(
"user
ID
is null"
);
public
Criteria
andUser
I
dIsNull
()
{
addCriterion
(
"user
_id
is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUser
i
dIsNotNull
()
{
addCriterion
(
"user
ID
is not null"
);
public
Criteria
andUser
I
dIsNotNull
()
{
addCriterion
(
"user
_id
is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUser
i
dEqualTo
(
Long
value
)
{
addCriterion
(
"user
ID
="
,
value
,
"user
i
d"
);
public
Criteria
andUser
I
dEqualTo
(
Long
value
)
{
addCriterion
(
"user
_id
="
,
value
,
"user
I
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUser
i
dNotEqualTo
(
Long
value
)
{
addCriterion
(
"user
ID
<>"
,
value
,
"user
i
d"
);
public
Criteria
andUser
I
dNotEqualTo
(
Long
value
)
{
addCriterion
(
"user
_id
<>"
,
value
,
"user
I
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUser
i
dGreaterThan
(
Long
value
)
{
addCriterion
(
"user
ID
>"
,
value
,
"user
i
d"
);
public
Criteria
andUser
I
dGreaterThan
(
Long
value
)
{
addCriterion
(
"user
_id
>"
,
value
,
"user
I
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUser
i
dGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"user
ID
>="
,
value
,
"user
i
d"
);
public
Criteria
andUser
I
dGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"user
_id
>="
,
value
,
"user
I
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUser
i
dLessThan
(
Long
value
)
{
addCriterion
(
"user
ID
<"
,
value
,
"user
i
d"
);
public
Criteria
andUser
I
dLessThan
(
Long
value
)
{
addCriterion
(
"user
_id
<"
,
value
,
"user
I
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUser
i
dLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"user
ID
<="
,
value
,
"user
i
d"
);
public
Criteria
andUser
I
dLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"user
_id
<="
,
value
,
"user
I
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUser
i
dIn
(
List
<
Long
>
values
)
{
addCriterion
(
"user
ID
in"
,
values
,
"user
i
d"
);
public
Criteria
andUser
I
dIn
(
List
<
Long
>
values
)
{
addCriterion
(
"user
_id
in"
,
values
,
"user
I
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUser
i
dNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"user
ID
not in"
,
values
,
"user
i
d"
);
public
Criteria
andUser
I
dNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"user
_id
not in"
,
values
,
"user
I
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUser
i
dBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"user
ID
between"
,
value1
,
value2
,
"user
i
d"
);
public
Criteria
andUser
I
dBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"user
_id
between"
,
value1
,
value2
,
"user
I
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUser
i
dNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"user
ID
not between"
,
value1
,
value2
,
"user
i
d"
);
public
Criteria
andUser
I
dNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"user
_id
not between"
,
value1
,
value2
,
"user
I
d"
);
return
(
Criteria
)
this
;
}
...
...
@@ -385,133 +295,133 @@ public class LogExample {
return
(
Criteria
)
this
;
}
public
Criteria
andClient
i
pIsNull
()
{
addCriterion
(
"client
IP
is null"
);
public
Criteria
andClient
I
pIsNull
()
{
addCriterion
(
"client
_ip
is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClient
i
pIsNotNull
()
{
addCriterion
(
"client
IP
is not null"
);
public
Criteria
andClient
I
pIsNotNull
()
{
addCriterion
(
"client
_ip
is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClient
i
pEqualTo
(
String
value
)
{
addCriterion
(
"client
IP
="
,
value
,
"client
i
p"
);
public
Criteria
andClient
I
pEqualTo
(
String
value
)
{
addCriterion
(
"client
_ip
="
,
value
,
"client
I
p"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClient
i
pNotEqualTo
(
String
value
)
{
addCriterion
(
"client
IP
<>"
,
value
,
"client
i
p"
);
public
Criteria
andClient
I
pNotEqualTo
(
String
value
)
{
addCriterion
(
"client
_ip
<>"
,
value
,
"client
I
p"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClient
i
pGreaterThan
(
String
value
)
{
addCriterion
(
"client
IP
>"
,
value
,
"client
i
p"
);
public
Criteria
andClient
I
pGreaterThan
(
String
value
)
{
addCriterion
(
"client
_ip
>"
,
value
,
"client
I
p"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClient
i
pGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"client
IP
>="
,
value
,
"client
i
p"
);
public
Criteria
andClient
I
pGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"client
_ip
>="
,
value
,
"client
I
p"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClient
i
pLessThan
(
String
value
)
{
addCriterion
(
"client
IP
<"
,
value
,
"client
i
p"
);
public
Criteria
andClient
I
pLessThan
(
String
value
)
{
addCriterion
(
"client
_ip
<"
,
value
,
"client
I
p"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClient
i
pLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"client
IP
<="
,
value
,
"client
i
p"
);
public
Criteria
andClient
I
pLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"client
_ip
<="
,
value
,
"client
I
p"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClient
i
pLike
(
String
value
)
{
addCriterion
(
"client
IP
like"
,
value
,
"client
i
p"
);
public
Criteria
andClient
I
pLike
(
String
value
)
{
addCriterion
(
"client
_ip
like"
,
value
,
"client
I
p"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClient
i
pNotLike
(
String
value
)
{
addCriterion
(
"client
IP
not like"
,
value
,
"client
i
p"
);
public
Criteria
andClient
I
pNotLike
(
String
value
)
{
addCriterion
(
"client
_ip
not like"
,
value
,
"client
I
p"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClient
i
pIn
(
List
<
String
>
values
)
{
addCriterion
(
"client
IP
in"
,
values
,
"client
i
p"
);
public
Criteria
andClient
I
pIn
(
List
<
String
>
values
)
{
addCriterion
(
"client
_ip
in"
,
values
,
"client
I
p"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClient
i
pNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"client
IP
not in"
,
values
,
"client
i
p"
);
public
Criteria
andClient
I
pNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"client
_ip
not in"
,
values
,
"client
I
p"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClient
i
pBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"client
IP
between"
,
value1
,
value2
,
"client
i
p"
);
public
Criteria
andClient
I
pBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"client
_ip
between"
,
value1
,
value2
,
"client
I
p"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClient
i
pNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"client
IP
not between"
,
value1
,
value2
,
"client
i
p"
);
public
Criteria
andClient
I
pNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"client
_ip
not between"
,
value1
,
value2
,
"client
I
p"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreate
t
imeIsNull
()
{
addCriterion
(
"createtime is null"
);
public
Criteria
andCreate
T
imeIsNull
()
{
addCriterion
(
"create
_
time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreate
t
imeIsNotNull
()
{
addCriterion
(
"createtime is not null"
);
public
Criteria
andCreate
T
imeIsNotNull
()
{
addCriterion
(
"create
_
time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreate
t
imeEqualTo
(
Date
value
)
{
addCriterion
(
"createtime ="
,
value
,
"create
t
ime"
);
public
Criteria
andCreate
T
imeEqualTo
(
Date
value
)
{
addCriterion
(
"create
_
time ="
,
value
,
"create
T
ime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreate
t
imeNotEqualTo
(
Date
value
)
{
addCriterion
(
"createtime <>"
,
value
,
"create
t
ime"
);
public
Criteria
andCreate
T
imeNotEqualTo
(
Date
value
)
{
addCriterion
(
"create
_
time <>"
,
value
,
"create
T
ime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreate
t
imeGreaterThan
(
Date
value
)
{
addCriterion
(
"createtime >"
,
value
,
"create
t
ime"
);
public
Criteria
andCreate
T
imeGreaterThan
(
Date
value
)
{
addCriterion
(
"create
_
time >"
,
value
,
"create
T
ime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreate
t
imeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"createtime >="
,
value
,
"create
t
ime"
);
public
Criteria
andCreate
T
imeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create
_
time >="
,
value
,
"create
T
ime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreate
t
imeLessThan
(
Date
value
)
{
addCriterion
(
"createtime <"
,
value
,
"create
t
ime"
);
public
Criteria
andCreate
T
imeLessThan
(
Date
value
)
{
addCriterion
(
"create
_
time <"
,
value
,
"create
T
ime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreate
t
imeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"createtime <="
,
value
,
"create
t
ime"
);
public
Criteria
andCreate
T
imeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"create
_
time <="
,
value
,
"create
T
ime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreate
t
imeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"createtime in"
,
values
,
"create
t
ime"
);
public
Criteria
andCreate
T
imeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create
_
time in"
,
values
,
"create
T
ime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreate
t
imeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"createtime not in"
,
values
,
"create
t
ime"
);
public
Criteria
andCreate
T
imeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"create
_
time not in"
,
values
,
"create
T
ime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreate
t
imeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"createtime between"
,
value1
,
value2
,
"create
t
ime"
);
public
Criteria
andCreate
T
imeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create
_
time between"
,
value1
,
value2
,
"create
T
ime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreate
t
imeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"createtime not between"
,
value1
,
value2
,
"create
t
ime"
);
public
Criteria
andCreate
T
imeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"create
_
time not between"
,
value1
,
value2
,
"create
T
ime"
);
return
(
Criteria
)
this
;
}
...
...
@@ -575,143 +485,73 @@ public class LogExample {
return
(
Criteria
)
this
;
}
public
Criteria
andContent
details
IsNull
()
{
addCriterion
(
"content
details
is null"
);
public
Criteria
andContentIsNull
()
{
addCriterion
(
"content is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContent
details
IsNotNull
()
{
addCriterion
(
"content
details
is not null"
);
public
Criteria
andContentIsNotNull
()
{
addCriterion
(
"content is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContent
details
EqualTo
(
String
value
)
{
addCriterion
(
"content
details
="
,
value
,
"content
details
"
);
public
Criteria
andContentEqualTo
(
String
value
)
{
addCriterion
(
"content ="
,
value
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContent
details
NotEqualTo
(
String
value
)
{
addCriterion
(
"content
details
<>"
,
value
,
"content
details
"
);
public
Criteria
andContentNotEqualTo
(
String
value
)
{
addCriterion
(
"content <>"
,
value
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContent
details
GreaterThan
(
String
value
)
{
addCriterion
(
"content
details
>"
,
value
,
"content
details
"
);
public
Criteria
andContentGreaterThan
(
String
value
)
{
addCriterion
(
"content >"
,
value
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContent
details
GreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"content
details
>="
,
value
,
"content
details
"
);
public
Criteria
andContentGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"content >="
,
value
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContent
details
LessThan
(
String
value
)
{
addCriterion
(
"content
details
<"
,
value
,
"content
details
"
);
public
Criteria
andContentLessThan
(
String
value
)
{
addCriterion
(
"content <"
,
value
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContent
details
LessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"content
details
<="
,
value
,
"content
details
"
);
public
Criteria
andContentLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"content <="
,
value
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContent
details
Like
(
String
value
)
{
addCriterion
(
"content
details
like"
,
value
,
"content
details
"
);
public
Criteria
andContentLike
(
String
value
)
{
addCriterion
(
"content like"
,
value
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContent
details
NotLike
(
String
value
)
{
addCriterion
(
"content
details
not like"
,
value
,
"content
details
"
);
public
Criteria
andContentNotLike
(
String
value
)
{
addCriterion
(
"content not like"
,
value
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContent
details
In
(
List
<
String
>
values
)
{
addCriterion
(
"content
details
in"
,
values
,
"content
details
"
);
public
Criteria
andContentIn
(
List
<
String
>
values
)
{
addCriterion
(
"content in"
,
values
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContent
details
NotIn
(
List
<
String
>
values
)
{
addCriterion
(
"content
details
not in"
,
values
,
"content
details
"
);
public
Criteria
andContentNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"content not in"
,
values
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContent
details
Between
(
String
value1
,
String
value2
)
{
addCriterion
(
"content
details
between"
,
value1
,
value2
,
"content
details
"
);
public
Criteria
andContentBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"content between"
,
value1
,
value2
,
"content"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContentdetailsNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"contentdetails not between"
,
value1
,
value2
,
"contentdetails"
);
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"
);
public
Criteria
andContentNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"content not between"
,
value1
,
value2
,
"content"
);
return
(
Criteria
)
this
;
}
...
...
@@ -776,25 +616,12 @@ public class LogExample {
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_log
*
* @mbggenerated do_not_delete_during_merge
*/
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_log
*
* @mbggenerated
*/
public
static
class
Criterion
{
private
String
condition
;
...
...
src/main/java/com/jsh/erp/datasource/entities/MaterialCategory.java
View file @
70f0dae4
...
...
@@ -3,418 +3,132 @@ package com.jsh.erp.datasource.entities;
import
java.util.Date
;
public
class
MaterialCategory
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_materialcategory.Id
*
* @mbggenerated
*/
private
Long
id
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_materialcategory.Name
*
* @mbggenerated
*/
private
String
name
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_materialcategory.CategoryLevel
*
* @mbggenerated
*/
private
Short
categorylevel
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_materialcategory.ParentId
*
* @mbggenerated
*/
private
Long
parentid
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_materialcategory.sort
*
* @mbggenerated
*/
private
Short
categoryLevel
;
private
Long
parentId
;
private
String
sort
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_materialcategory.status
*
* @mbggenerated
*/
private
String
status
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_materialcategory.serial_no
*
* @mbggenerated
*/
private
String
serialNo
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_materialcategory.remark
*
* @mbggenerated
*/
private
String
remark
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_materialcategory.create_time
*
* @mbggenerated
*/
private
Date
createTime
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_materialcategory.creator
*
* @mbggenerated
*/
private
Long
creator
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_materialcategory.update_time
*
* @mbggenerated
*/
private
Date
updateTime
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_materialcategory.updater
*
* @mbggenerated
*/
private
Long
updater
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_materialcategory.tenant_id
*
* @mbggenerated
*/
private
Long
tenantId
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_materialcategory.Id
*
* @return the value of jsh_materialcategory.Id
*
* @mbggenerated
*/
public
Long
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_materialcategory.Id
*
* @param id the value for jsh_materialcategory.Id
*
* @mbggenerated
*/
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_materialcategory.Name
*
* @return the value of jsh_materialcategory.Name
*
* @mbggenerated
*/
public
String
getName
()
{
return
name
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_materialcategory.Name
*
* @param name the value for jsh_materialcategory.Name
*
* @mbggenerated
*/
public
void
setName
(
String
name
)
{
this
.
name
=
name
==
null
?
null
:
name
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_materialcategory.CategoryLevel
*
* @return the value of jsh_materialcategory.CategoryLevel
*
* @mbggenerated
*/
public
Short
getCategorylevel
()
{
return
categorylevel
;
public
Short
getCategoryLevel
()
{
return
categoryLevel
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_materialcategory.CategoryLevel
*
* @param categorylevel the value for jsh_materialcategory.CategoryLevel
*
* @mbggenerated
*/
public
void
setCategorylevel
(
Short
categorylevel
)
{
this
.
categorylevel
=
categorylevel
;
public
void
setCategoryLevel
(
Short
categoryLevel
)
{
this
.
categoryLevel
=
categoryLevel
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_materialcategory.ParentId
*
* @return the value of jsh_materialcategory.ParentId
*
* @mbggenerated
*/
public
Long
getParentid
()
{
return
parentid
;
public
Long
getParentId
()
{
return
parentId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_materialcategory.ParentId
*
* @param parentid the value for jsh_materialcategory.ParentId
*
* @mbggenerated
*/
public
void
setParentid
(
Long
parentid
)
{
this
.
parentid
=
parentid
;
public
void
setParentId
(
Long
parentId
)
{
this
.
parentId
=
parentId
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_materialcategory.sort
*
* @return the value of jsh_materialcategory.sort
*
* @mbggenerated
*/
public
String
getSort
()
{
return
sort
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_materialcategory.sort
*
* @param sort the value for jsh_materialcategory.sort
*
* @mbggenerated
*/
public
void
setSort
(
String
sort
)
{
this
.
sort
=
sort
==
null
?
null
:
sort
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_materialcategory.status
*
* @return the value of jsh_materialcategory.status
*
* @mbggenerated
*/
public
String
getStatus
()
{
return
status
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_materialcategory.status
*
* @param status the value for jsh_materialcategory.status
*
* @mbggenerated
*/
public
void
setStatus
(
String
status
)
{
this
.
status
=
status
==
null
?
null
:
status
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_materialcategory.serial_no
*
* @return the value of jsh_materialcategory.serial_no
*
* @mbggenerated
*/
public
String
getSerialNo
()
{
return
serialNo
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_materialcategory.serial_no
*
* @param serialNo the value for jsh_materialcategory.serial_no
*
* @mbggenerated
*/
public
void
setSerialNo
(
String
serialNo
)
{
this
.
serialNo
=
serialNo
==
null
?
null
:
serialNo
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_materialcategory.remark
*
* @return the value of jsh_materialcategory.remark
*
* @mbggenerated
*/
public
String
getRemark
()
{
return
remark
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_materialcategory.remark
*
* @param remark the value for jsh_materialcategory.remark
*
* @mbggenerated
*/
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
==
null
?
null
:
remark
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_materialcategory.create_time
*
* @return the value of jsh_materialcategory.create_time
*
* @mbggenerated
*/
public
Date
getCreateTime
()
{
return
createTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_materialcategory.create_time
*
* @param createTime the value for jsh_materialcategory.create_time
*
* @mbggenerated
*/
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_materialcategory.creator
*
* @return the value of jsh_materialcategory.creator
*
* @mbggenerated
*/
public
Long
getCreator
()
{
return
creator
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_materialcategory.creator
*
* @param creator the value for jsh_materialcategory.creator
*
* @mbggenerated
*/
public
void
setCreator
(
Long
creator
)
{
this
.
creator
=
creator
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_materialcategory.update_time
*
* @return the value of jsh_materialcategory.update_time
*
* @mbggenerated
*/
public
Date
getUpdateTime
()
{
return
updateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_materialcategory.update_time
*
* @param updateTime the value for jsh_materialcategory.update_time
*
* @mbggenerated
*/
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_materialcategory.updater
*
* @return the value of jsh_materialcategory.updater
*
* @mbggenerated
*/
public
Long
getUpdater
()
{
return
updater
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_materialcategory.updater
*
* @param updater the value for jsh_materialcategory.updater
*
* @mbggenerated
*/
public
void
setUpdater
(
Long
updater
)
{
this
.
updater
=
updater
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_materialcategory.tenant_id
*
* @return the value of jsh_materialcategory.tenant_id
*
* @mbggenerated
*/
public
Long
getTenantId
()
{
return
tenantId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_materialcategory.tenant_id
*
* @param tenantId the value for jsh_materialcategory.tenant_id
*
* @mbggenerated
*/
public
void
setTenantId
(
Long
tenantId
)
{
this
.
tenantId
=
tenantId
;
}
...
...
src/main/java/com/jsh/erp/datasource/entities/MaterialCategoryExample.java
View file @
70f0dae4
...
...
@@ -5,118 +5,46 @@ import java.util.Date;
import
java.util.List
;
public
class
MaterialCategoryExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_materialcategory
*
* @mbggenerated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_materialcategory
*
* @mbggenerated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_materialcategory
*
* @mbggenerated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialcategory
*
* @mbggenerated
*/
public
MaterialCategoryExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
oredCriteria
=
new
ArrayList
<>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialcategory
*
* @mbggenerated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialcategory
*
* @mbggenerated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialcategory
*
* @mbggenerated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialcategory
*
* @mbggenerated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialcategory
*
* @mbggenerated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialcategory
*
* @mbggenerated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialcategory
*
* @mbggenerated
*/
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialcategory
*
* @mbggenerated
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
...
...
@@ -125,41 +53,23 @@ public class MaterialCategoryExample {
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialcategory
*
* @mbggenerated
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialcategory
*
* @mbggenerated
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_materialcategory
*
* @mbggenerated
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
criteria
=
new
ArrayList
<>();
}
public
boolean
isValid
()
{
...
...
@@ -196,252 +106,252 @@ public class MaterialCategoryExample {
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"
I
d is null"
);
addCriterion
(
"
i
d is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"
I
d is not null"
);
addCriterion
(
"
i
d is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d ="
,
value
,
"id"
);
addCriterion
(
"
i
d ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d <>"
,
value
,
"id"
);
addCriterion
(
"
i
d <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"
I
d >"
,
value
,
"id"
);
addCriterion
(
"
i
d >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d >="
,
value
,
"id"
);
addCriterion
(
"
i
d >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"
I
d <"
,
value
,
"id"
);
addCriterion
(
"
i
d <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d <="
,
value
,
"id"
);
addCriterion
(
"
i
d <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"
I
d in"
,
values
,
"id"
);
addCriterion
(
"
i
d in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"
I
d not in"
,
values
,
"id"
);
addCriterion
(
"
i
d not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"
I
d between"
,
value1
,
value2
,
"id"
);
addCriterion
(
"
i
d between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"
I
d not between"
,
value1
,
value2
,
"id"
);
addCriterion
(
"
i
d not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNull
()
{
addCriterion
(
"
N
ame is null"
);
addCriterion
(
"
n
ame is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNotNull
()
{
addCriterion
(
"
N
ame is not null"
);
addCriterion
(
"
n
ame is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame ="
,
value
,
"name"
);
addCriterion
(
"
n
ame ="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame <>"
,
value
,
"name"
);
addCriterion
(
"
n
ame <>"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThan
(
String
value
)
{
addCriterion
(
"
N
ame >"
,
value
,
"name"
);
addCriterion
(
"
n
ame >"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame >="
,
value
,
"name"
);
addCriterion
(
"
n
ame >="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThan
(
String
value
)
{
addCriterion
(
"
N
ame <"
,
value
,
"name"
);
addCriterion
(
"
n
ame <"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame <="
,
value
,
"name"
);
addCriterion
(
"
n
ame <="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLike
(
String
value
)
{
addCriterion
(
"
N
ame like"
,
value
,
"name"
);
addCriterion
(
"
n
ame like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotLike
(
String
value
)
{
addCriterion
(
"
N
ame not like"
,
value
,
"name"
);
addCriterion
(
"
n
ame not like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"
N
ame in"
,
values
,
"name"
);
addCriterion
(
"
n
ame in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
N
ame not in"
,
values
,
"name"
);
addCriterion
(
"
n
ame not in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
N
ame between"
,
value1
,
value2
,
"name"
);
addCriterion
(
"
n
ame between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
N
ame not between"
,
value1
,
value2
,
"name"
);
addCriterion
(
"
n
ame not between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategory
l
evelIsNull
()
{
addCriterion
(
"
C
ategory
L
evel is null"
);
public
Criteria
andCategory
L
evelIsNull
()
{
addCriterion
(
"
c
ategory
_l
evel is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategory
l
evelIsNotNull
()
{
addCriterion
(
"
C
ategory
L
evel is not null"
);
public
Criteria
andCategory
L
evelIsNotNull
()
{
addCriterion
(
"
c
ategory
_l
evel is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategory
l
evelEqualTo
(
Short
value
)
{
addCriterion
(
"
C
ategory
L
evel ="
,
value
,
"category
l
evel"
);
public
Criteria
andCategory
L
evelEqualTo
(
Short
value
)
{
addCriterion
(
"
c
ategory
_l
evel ="
,
value
,
"category
L
evel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategory
l
evelNotEqualTo
(
Short
value
)
{
addCriterion
(
"
C
ategory
L
evel <>"
,
value
,
"category
l
evel"
);
public
Criteria
andCategory
L
evelNotEqualTo
(
Short
value
)
{
addCriterion
(
"
c
ategory
_l
evel <>"
,
value
,
"category
L
evel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategory
l
evelGreaterThan
(
Short
value
)
{
addCriterion
(
"
C
ategory
L
evel >"
,
value
,
"category
l
evel"
);
public
Criteria
andCategory
L
evelGreaterThan
(
Short
value
)
{
addCriterion
(
"
c
ategory
_l
evel >"
,
value
,
"category
L
evel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategory
l
evelGreaterThanOrEqualTo
(
Short
value
)
{
addCriterion
(
"
C
ategory
L
evel >="
,
value
,
"category
l
evel"
);
public
Criteria
andCategory
L
evelGreaterThanOrEqualTo
(
Short
value
)
{
addCriterion
(
"
c
ategory
_l
evel >="
,
value
,
"category
L
evel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategory
l
evelLessThan
(
Short
value
)
{
addCriterion
(
"
C
ategory
L
evel <"
,
value
,
"category
l
evel"
);
public
Criteria
andCategory
L
evelLessThan
(
Short
value
)
{
addCriterion
(
"
c
ategory
_l
evel <"
,
value
,
"category
L
evel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategory
l
evelLessThanOrEqualTo
(
Short
value
)
{
addCriterion
(
"
C
ategory
L
evel <="
,
value
,
"category
l
evel"
);
public
Criteria
andCategory
L
evelLessThanOrEqualTo
(
Short
value
)
{
addCriterion
(
"
c
ategory
_l
evel <="
,
value
,
"category
L
evel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategory
l
evelIn
(
List
<
Short
>
values
)
{
addCriterion
(
"
C
ategory
L
evel in"
,
values
,
"category
l
evel"
);
public
Criteria
andCategory
L
evelIn
(
List
<
Short
>
values
)
{
addCriterion
(
"
c
ategory
_l
evel in"
,
values
,
"category
L
evel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategory
l
evelNotIn
(
List
<
Short
>
values
)
{
addCriterion
(
"
C
ategory
L
evel not in"
,
values
,
"category
l
evel"
);
public
Criteria
andCategory
L
evelNotIn
(
List
<
Short
>
values
)
{
addCriterion
(
"
c
ategory
_l
evel not in"
,
values
,
"category
L
evel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategory
l
evelBetween
(
Short
value1
,
Short
value2
)
{
addCriterion
(
"
C
ategory
L
evel between"
,
value1
,
value2
,
"category
l
evel"
);
public
Criteria
andCategory
L
evelBetween
(
Short
value1
,
Short
value2
)
{
addCriterion
(
"
c
ategory
_l
evel between"
,
value1
,
value2
,
"category
L
evel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCategory
l
evelNotBetween
(
Short
value1
,
Short
value2
)
{
addCriterion
(
"
C
ategory
L
evel not between"
,
value1
,
value2
,
"category
l
evel"
);
public
Criteria
andCategory
L
evelNotBetween
(
Short
value1
,
Short
value2
)
{
addCriterion
(
"
c
ategory
_l
evel not between"
,
value1
,
value2
,
"category
L
evel"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParent
i
dIsNull
()
{
addCriterion
(
"
P
arent
I
d is null"
);
public
Criteria
andParent
I
dIsNull
()
{
addCriterion
(
"
p
arent
_i
d is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParent
i
dIsNotNull
()
{
addCriterion
(
"
P
arent
I
d is not null"
);
public
Criteria
andParent
I
dIsNotNull
()
{
addCriterion
(
"
p
arent
_i
d is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParent
i
dEqualTo
(
Long
value
)
{
addCriterion
(
"
P
arent
I
d ="
,
value
,
"parent
i
d"
);
public
Criteria
andParent
I
dEqualTo
(
Long
value
)
{
addCriterion
(
"
p
arent
_i
d ="
,
value
,
"parent
I
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParent
i
dNotEqualTo
(
Long
value
)
{
addCriterion
(
"
P
arent
I
d <>"
,
value
,
"parent
i
d"
);
public
Criteria
andParent
I
dNotEqualTo
(
Long
value
)
{
addCriterion
(
"
p
arent
_i
d <>"
,
value
,
"parent
I
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParent
i
dGreaterThan
(
Long
value
)
{
addCriterion
(
"
P
arent
I
d >"
,
value
,
"parent
i
d"
);
public
Criteria
andParent
I
dGreaterThan
(
Long
value
)
{
addCriterion
(
"
p
arent
_i
d >"
,
value
,
"parent
I
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParent
i
dGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"
P
arent
I
d >="
,
value
,
"parent
i
d"
);
public
Criteria
andParent
I
dGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"
p
arent
_i
d >="
,
value
,
"parent
I
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParent
i
dLessThan
(
Long
value
)
{
addCriterion
(
"
P
arent
I
d <"
,
value
,
"parent
i
d"
);
public
Criteria
andParent
I
dLessThan
(
Long
value
)
{
addCriterion
(
"
p
arent
_i
d <"
,
value
,
"parent
I
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParent
i
dLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"
P
arent
I
d <="
,
value
,
"parent
i
d"
);
public
Criteria
andParent
I
dLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"
p
arent
_i
d <="
,
value
,
"parent
I
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParent
i
dIn
(
List
<
Long
>
values
)
{
addCriterion
(
"
P
arent
I
d in"
,
values
,
"parent
i
d"
);
public
Criteria
andParent
I
dIn
(
List
<
Long
>
values
)
{
addCriterion
(
"
p
arent
_i
d in"
,
values
,
"parent
I
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParent
i
dNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"
P
arent
I
d not in"
,
values
,
"parent
i
d"
);
public
Criteria
andParent
I
dNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"
p
arent
_i
d not in"
,
values
,
"parent
I
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParent
i
dBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"
P
arent
I
d between"
,
value1
,
value2
,
"parent
i
d"
);
public
Criteria
andParent
I
dBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"
p
arent
_i
d between"
,
value1
,
value2
,
"parent
I
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParent
i
dNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"
P
arent
I
d not between"
,
value1
,
value2
,
"parent
i
d"
);
public
Criteria
andParent
I
dNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"
p
arent
_i
d not between"
,
value1
,
value2
,
"parent
I
d"
);
return
(
Criteria
)
this
;
}
...
...
@@ -1026,25 +936,12 @@ public class MaterialCategoryExample {
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_materialcategory
*
* @mbggenerated do_not_delete_during_merge
*/
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_materialcategory
*
* @mbggenerated
*/
public
static
class
Criterion
{
private
String
condition
;
...
...
src/main/java/com/jsh/erp/datasource/entities/MaterialProperty.java
View file @
70f0dae4
package
com.jsh.erp.datasource.entities
;
public
class
MaterialProperty
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_materialproperty.id
*
* @mbggenerated
*/
private
Long
id
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_materialproperty.nativeName
*
* @mbggenerated
*/
private
String
nativename
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_materialproperty.enabled
*
* @mbggenerated
*/
private
String
nativeName
;
private
Boolean
enabled
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_materialproperty.sort
*
* @mbggenerated
*/
private
String
sort
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_materialproperty.anotherName
*
* @mbggenerated
*/
private
String
anothername
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_materialproperty.delete_Flag
*
* @mbggenerated
*/
private
String
anotherName
;
private
String
deleteFlag
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_materialproperty.id
*
* @return the value of jsh_materialproperty.id
*
* @mbggenerated
*/
public
Long
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_materialproperty.id
*
* @param id the value for jsh_materialproperty.id
*
* @mbggenerated
*/
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_materialproperty.nativeName
*
* @return the value of jsh_materialproperty.nativeName
*
* @mbggenerated
*/
public
String
getNativename
()
{
return
nativename
;
public
String
getNativeName
()
{
return
nativeName
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_materialproperty.nativeName
*
* @param nativename the value for jsh_materialproperty.nativeName
*
* @mbggenerated
*/
public
void
setNativename
(
String
nativename
)
{
this
.
nativename
=
nativename
==
null
?
null
:
nativename
.
trim
();
public
void
setNativeName
(
String
nativeName
)
{
this
.
nativeName
=
nativeName
==
null
?
null
:
nativeName
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_materialproperty.enabled
*
* @return the value of jsh_materialproperty.enabled
*
* @mbggenerated
*/
public
Boolean
getEnabled
()
{
return
enabled
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_materialproperty.enabled
*
* @param enabled the value for jsh_materialproperty.enabled
*
* @mbggenerated
*/
public
void
setEnabled
(
Boolean
enabled
)
{
this
.
enabled
=
enabled
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_materialproperty.sort
*
* @return the value of jsh_materialproperty.sort
*
* @mbggenerated
*/
public
String
getSort
()
{
return
sort
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_materialproperty.sort
*
* @param sort the value for jsh_materialproperty.sort
*
* @mbggenerated
*/
public
void
setSort
(
String
sort
)
{
this
.
sort
=
sort
==
null
?
null
:
sort
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_materialproperty.anotherName
*
* @return the value of jsh_materialproperty.anotherName
*
* @mbggenerated
*/
public
String
getAnothername
()
{
return
anothername
;
public
String
getAnotherName
()
{
return
anotherName
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_materialproperty.anotherName
*
* @param anothername the value for jsh_materialproperty.anotherName
*
* @mbggenerated
*/
public
void
setAnothername
(
String
anothername
)
{
this
.
anothername
=
anothername
==
null
?
null
:
anothername
.
trim
();
public
void
setAnotherName
(
String
anotherName
)
{
this
.
anotherName
=
anotherName
==
null
?
null
:
anotherName
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_materialproperty.delete_Flag
*
* @return the value of jsh_materialproperty.delete_Flag
*
* @mbggenerated
*/
public
String
getDeleteFlag
()
{
return
deleteFlag
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_materialproperty.delete_Flag
*
* @param deleteFlag the value for jsh_materialproperty.delete_Flag
*
* @mbggenerated
*/
public
void
setDeleteFlag
(
String
deleteFlag
)
{
this
.
deleteFlag
=
deleteFlag
==
null
?
null
:
deleteFlag
.
trim
();
}
...
...
src/main/java/com/jsh/erp/datasource/entities/MaterialPropertyExample.java
View file @
70f0dae4
...
...
@@ -4,118 +4,46 @@ import java.util.ArrayList;
import
java.util.List
;
public
class
MaterialPropertyExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_materialproperty
*
* @mbggenerated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_materialproperty
*
* @mbggenerated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_materialproperty
*
* @mbggenerated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialproperty
*
* @mbggenerated
*/
public
MaterialPropertyExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
oredCriteria
=
new
ArrayList
<>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialproperty
*
* @mbggenerated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialproperty
*
* @mbggenerated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialproperty
*
* @mbggenerated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialproperty
*
* @mbggenerated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialproperty
*
* @mbggenerated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialproperty
*
* @mbggenerated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialproperty
*
* @mbggenerated
*/
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialproperty
*
* @mbggenerated
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
...
...
@@ -124,41 +52,23 @@ public class MaterialPropertyExample {
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialproperty
*
* @mbggenerated
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_materialproperty
*
* @mbggenerated
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_materialproperty
*
* @mbggenerated
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
criteria
=
new
ArrayList
<>();
}
public
boolean
isValid
()
{
...
...
@@ -254,73 +164,73 @@ public class MaterialPropertyExample {
return
(
Criteria
)
this
;
}
public
Criteria
andNative
n
ameIsNull
()
{
addCriterion
(
"native
N
ame is null"
);
public
Criteria
andNative
N
ameIsNull
()
{
addCriterion
(
"native
_n
ame is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNative
n
ameIsNotNull
()
{
addCriterion
(
"native
N
ame is not null"
);
public
Criteria
andNative
N
ameIsNotNull
()
{
addCriterion
(
"native
_n
ame is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNative
n
ameEqualTo
(
String
value
)
{
addCriterion
(
"native
N
ame ="
,
value
,
"native
n
ame"
);
public
Criteria
andNative
N
ameEqualTo
(
String
value
)
{
addCriterion
(
"native
_n
ame ="
,
value
,
"native
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNative
n
ameNotEqualTo
(
String
value
)
{
addCriterion
(
"native
N
ame <>"
,
value
,
"native
n
ame"
);
public
Criteria
andNative
N
ameNotEqualTo
(
String
value
)
{
addCriterion
(
"native
_n
ame <>"
,
value
,
"native
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNative
n
ameGreaterThan
(
String
value
)
{
addCriterion
(
"native
N
ame >"
,
value
,
"native
n
ame"
);
public
Criteria
andNative
N
ameGreaterThan
(
String
value
)
{
addCriterion
(
"native
_n
ame >"
,
value
,
"native
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNative
n
ameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"native
N
ame >="
,
value
,
"native
n
ame"
);
public
Criteria
andNative
N
ameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"native
_n
ame >="
,
value
,
"native
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNative
n
ameLessThan
(
String
value
)
{
addCriterion
(
"native
N
ame <"
,
value
,
"native
n
ame"
);
public
Criteria
andNative
N
ameLessThan
(
String
value
)
{
addCriterion
(
"native
_n
ame <"
,
value
,
"native
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNative
n
ameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"native
N
ame <="
,
value
,
"native
n
ame"
);
public
Criteria
andNative
N
ameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"native
_n
ame <="
,
value
,
"native
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNative
n
ameLike
(
String
value
)
{
addCriterion
(
"native
N
ame like"
,
value
,
"native
n
ame"
);
public
Criteria
andNative
N
ameLike
(
String
value
)
{
addCriterion
(
"native
_n
ame like"
,
value
,
"native
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNative
n
ameNotLike
(
String
value
)
{
addCriterion
(
"native
N
ame not like"
,
value
,
"native
n
ame"
);
public
Criteria
andNative
N
ameNotLike
(
String
value
)
{
addCriterion
(
"native
_n
ame not like"
,
value
,
"native
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNative
n
ameIn
(
List
<
String
>
values
)
{
addCriterion
(
"native
N
ame in"
,
values
,
"native
n
ame"
);
public
Criteria
andNative
N
ameIn
(
List
<
String
>
values
)
{
addCriterion
(
"native
_n
ame in"
,
values
,
"native
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNative
n
ameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"native
N
ame not in"
,
values
,
"native
n
ame"
);
public
Criteria
andNative
N
ameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"native
_n
ame not in"
,
values
,
"native
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNative
n
ameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"native
N
ame between"
,
value1
,
value2
,
"native
n
ame"
);
public
Criteria
andNative
N
ameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"native
_n
ame between"
,
value1
,
value2
,
"native
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNative
n
ameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"native
N
ame not between"
,
value1
,
value2
,
"native
n
ame"
);
public
Criteria
andNative
N
ameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"native
_n
ame not between"
,
value1
,
value2
,
"native
N
ame"
);
return
(
Criteria
)
this
;
}
...
...
@@ -454,166 +364,153 @@ public class MaterialPropertyExample {
return
(
Criteria
)
this
;
}
public
Criteria
andAnother
n
ameIsNull
()
{
addCriterion
(
"another
N
ame is null"
);
public
Criteria
andAnother
N
ameIsNull
()
{
addCriterion
(
"another
_n
ame is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAnother
n
ameIsNotNull
()
{
addCriterion
(
"another
N
ame is not null"
);
public
Criteria
andAnother
N
ameIsNotNull
()
{
addCriterion
(
"another
_n
ame is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAnother
n
ameEqualTo
(
String
value
)
{
addCriterion
(
"another
N
ame ="
,
value
,
"another
n
ame"
);
public
Criteria
andAnother
N
ameEqualTo
(
String
value
)
{
addCriterion
(
"another
_n
ame ="
,
value
,
"another
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAnother
n
ameNotEqualTo
(
String
value
)
{
addCriterion
(
"another
N
ame <>"
,
value
,
"another
n
ame"
);
public
Criteria
andAnother
N
ameNotEqualTo
(
String
value
)
{
addCriterion
(
"another
_n
ame <>"
,
value
,
"another
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAnother
n
ameGreaterThan
(
String
value
)
{
addCriterion
(
"another
N
ame >"
,
value
,
"another
n
ame"
);
public
Criteria
andAnother
N
ameGreaterThan
(
String
value
)
{
addCriterion
(
"another
_n
ame >"
,
value
,
"another
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAnother
n
ameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"another
N
ame >="
,
value
,
"another
n
ame"
);
public
Criteria
andAnother
N
ameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"another
_n
ame >="
,
value
,
"another
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAnother
n
ameLessThan
(
String
value
)
{
addCriterion
(
"another
N
ame <"
,
value
,
"another
n
ame"
);
public
Criteria
andAnother
N
ameLessThan
(
String
value
)
{
addCriterion
(
"another
_n
ame <"
,
value
,
"another
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAnother
n
ameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"another
N
ame <="
,
value
,
"another
n
ame"
);
public
Criteria
andAnother
N
ameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"another
_n
ame <="
,
value
,
"another
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAnother
n
ameLike
(
String
value
)
{
addCriterion
(
"another
N
ame like"
,
value
,
"another
n
ame"
);
public
Criteria
andAnother
N
ameLike
(
String
value
)
{
addCriterion
(
"another
_n
ame like"
,
value
,
"another
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAnother
n
ameNotLike
(
String
value
)
{
addCriterion
(
"another
N
ame not like"
,
value
,
"another
n
ame"
);
public
Criteria
andAnother
N
ameNotLike
(
String
value
)
{
addCriterion
(
"another
_n
ame not like"
,
value
,
"another
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAnother
n
ameIn
(
List
<
String
>
values
)
{
addCriterion
(
"another
N
ame in"
,
values
,
"another
n
ame"
);
public
Criteria
andAnother
N
ameIn
(
List
<
String
>
values
)
{
addCriterion
(
"another
_n
ame in"
,
values
,
"another
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAnother
n
ameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"another
N
ame not in"
,
values
,
"another
n
ame"
);
public
Criteria
andAnother
N
ameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"another
_n
ame not in"
,
values
,
"another
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAnother
n
ameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"another
N
ame between"
,
value1
,
value2
,
"another
n
ame"
);
public
Criteria
andAnother
N
ameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"another
_n
ame between"
,
value1
,
value2
,
"another
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAnother
n
ameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"another
N
ame not between"
,
value1
,
value2
,
"another
n
ame"
);
public
Criteria
andAnother
N
ameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"another
_n
ame not between"
,
value1
,
value2
,
"another
N
ame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagIsNull
()
{
addCriterion
(
"delete_
F
lag is null"
);
addCriterion
(
"delete_
f
lag is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagIsNotNull
()
{
addCriterion
(
"delete_
F
lag is not null"
);
addCriterion
(
"delete_
f
lag is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag ="
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag ="
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag <>"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag <>"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagGreaterThan
(
String
value
)
{
addCriterion
(
"delete_
F
lag >"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag >"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag >="
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag >="
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagLessThan
(
String
value
)
{
addCriterion
(
"delete_
F
lag <"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag <"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag <="
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag <="
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagLike
(
String
value
)
{
addCriterion
(
"delete_
F
lag like"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag like"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotLike
(
String
value
)
{
addCriterion
(
"delete_
F
lag not like"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag not like"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagIn
(
List
<
String
>
values
)
{
addCriterion
(
"delete_
F
lag in"
,
values
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag in"
,
values
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"delete_
F
lag not in"
,
values
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag not in"
,
values
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"delete_
F
lag between"
,
value1
,
value2
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag between"
,
value1
,
value2
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"delete_
F
lag not between"
,
value1
,
value2
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag not between"
,
value1
,
value2
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_materialproperty
*
* @mbggenerated do_not_delete_during_merge
*/
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_materialproperty
*
* @mbggenerated
*/
public
static
class
Criterion
{
private
String
condition
;
...
...
src/main/java/com/jsh/erp/datasource/entities/Person.java
View file @
70f0dae4
package
com.jsh.erp.datasource.entities
;
public
class
Person
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_person.Id
*
* @mbggenerated
*/
private
Long
id
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_person.Type
*
* @mbggenerated
*/
private
String
type
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_person.Name
*
* @mbggenerated
*/
private
String
name
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_person.tenant_id
*
* @mbggenerated
*/
private
Long
tenantId
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_person.delete_Flag
*
* @mbggenerated
*/
private
String
deleteFlag
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_person.Id
*
* @return the value of jsh_person.Id
*
* @mbggenerated
*/
public
Long
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_person.Id
*
* @param id the value for jsh_person.Id
*
* @mbggenerated
*/
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_person.Type
*
* @return the value of jsh_person.Type
*
* @mbggenerated
*/
public
String
getType
()
{
return
type
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_person.Type
*
* @param type the value for jsh_person.Type
*
* @mbggenerated
*/
public
void
setType
(
String
type
)
{
this
.
type
=
type
==
null
?
null
:
type
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_person.Name
*
* @return the value of jsh_person.Name
*
* @mbggenerated
*/
public
String
getName
()
{
return
name
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_person.Name
*
* @param name the value for jsh_person.Name
*
* @mbggenerated
*/
public
void
setName
(
String
name
)
{
this
.
name
=
name
==
null
?
null
:
name
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_person.tenant_id
*
* @return the value of jsh_person.tenant_id
*
* @mbggenerated
*/
public
Long
getTenantId
()
{
return
tenantId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_person.tenant_id
*
* @param tenantId the value for jsh_person.tenant_id
*
* @mbggenerated
*/
public
void
setTenantId
(
Long
tenantId
)
{
this
.
tenantId
=
tenantId
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_person.delete_Flag
*
* @return the value of jsh_person.delete_Flag
*
* @mbggenerated
*/
public
String
getDeleteFlag
()
{
return
deleteFlag
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_person.delete_Flag
*
* @param deleteFlag the value for jsh_person.delete_Flag
*
* @mbggenerated
*/
public
void
setDeleteFlag
(
String
deleteFlag
)
{
this
.
deleteFlag
=
deleteFlag
==
null
?
null
:
deleteFlag
.
trim
();
}
...
...
src/main/java/com/jsh/erp/datasource/entities/PersonExample.java
View file @
70f0dae4
...
...
@@ -4,118 +4,46 @@ import java.util.ArrayList;
import
java.util.List
;
public
class
PersonExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_person
*
* @mbggenerated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_person
*
* @mbggenerated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_person
*
* @mbggenerated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_person
*
* @mbggenerated
*/
public
PersonExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
oredCriteria
=
new
ArrayList
<>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_person
*
* @mbggenerated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_person
*
* @mbggenerated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_person
*
* @mbggenerated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_person
*
* @mbggenerated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_person
*
* @mbggenerated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_person
*
* @mbggenerated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_person
*
* @mbggenerated
*/
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_person
*
* @mbggenerated
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
...
...
@@ -124,41 +52,23 @@ public class PersonExample {
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_person
*
* @mbggenerated
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_person
*
* @mbggenerated
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_person
*
* @mbggenerated
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
criteria
=
new
ArrayList
<>();
}
public
boolean
isValid
()
{
...
...
@@ -195,202 +105,202 @@ public class PersonExample {
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"
I
d is null"
);
addCriterion
(
"
i
d is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"
I
d is not null"
);
addCriterion
(
"
i
d is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d ="
,
value
,
"id"
);
addCriterion
(
"
i
d ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d <>"
,
value
,
"id"
);
addCriterion
(
"
i
d <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"
I
d >"
,
value
,
"id"
);
addCriterion
(
"
i
d >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d >="
,
value
,
"id"
);
addCriterion
(
"
i
d >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"
I
d <"
,
value
,
"id"
);
addCriterion
(
"
i
d <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"
I
d <="
,
value
,
"id"
);
addCriterion
(
"
i
d <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"
I
d in"
,
values
,
"id"
);
addCriterion
(
"
i
d in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"
I
d not in"
,
values
,
"id"
);
addCriterion
(
"
i
d not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"
I
d between"
,
value1
,
value2
,
"id"
);
addCriterion
(
"
i
d between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"
I
d not between"
,
value1
,
value2
,
"id"
);
addCriterion
(
"
i
d not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNull
()
{
addCriterion
(
"
T
ype is null"
);
addCriterion
(
"
t
ype is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNotNull
()
{
addCriterion
(
"
T
ype is not null"
);
addCriterion
(
"
t
ype is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeEqualTo
(
String
value
)
{
addCriterion
(
"
T
ype ="
,
value
,
"type"
);
addCriterion
(
"
t
ype ="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotEqualTo
(
String
value
)
{
addCriterion
(
"
T
ype <>"
,
value
,
"type"
);
addCriterion
(
"
t
ype <>"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThan
(
String
value
)
{
addCriterion
(
"
T
ype >"
,
value
,
"type"
);
addCriterion
(
"
t
ype >"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
T
ype >="
,
value
,
"type"
);
addCriterion
(
"
t
ype >="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThan
(
String
value
)
{
addCriterion
(
"
T
ype <"
,
value
,
"type"
);
addCriterion
(
"
t
ype <"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
T
ype <="
,
value
,
"type"
);
addCriterion
(
"
t
ype <="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLike
(
String
value
)
{
addCriterion
(
"
T
ype like"
,
value
,
"type"
);
addCriterion
(
"
t
ype like"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotLike
(
String
value
)
{
addCriterion
(
"
T
ype not like"
,
value
,
"type"
);
addCriterion
(
"
t
ype not like"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIn
(
List
<
String
>
values
)
{
addCriterion
(
"
T
ype in"
,
values
,
"type"
);
addCriterion
(
"
t
ype in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
T
ype not in"
,
values
,
"type"
);
addCriterion
(
"
t
ype not in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
T
ype between"
,
value1
,
value2
,
"type"
);
addCriterion
(
"
t
ype between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
T
ype not between"
,
value1
,
value2
,
"type"
);
addCriterion
(
"
t
ype not between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNull
()
{
addCriterion
(
"
N
ame is null"
);
addCriterion
(
"
n
ame is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNotNull
()
{
addCriterion
(
"
N
ame is not null"
);
addCriterion
(
"
n
ame is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame ="
,
value
,
"name"
);
addCriterion
(
"
n
ame ="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame <>"
,
value
,
"name"
);
addCriterion
(
"
n
ame <>"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThan
(
String
value
)
{
addCriterion
(
"
N
ame >"
,
value
,
"name"
);
addCriterion
(
"
n
ame >"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame >="
,
value
,
"name"
);
addCriterion
(
"
n
ame >="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThan
(
String
value
)
{
addCriterion
(
"
N
ame <"
,
value
,
"name"
);
addCriterion
(
"
n
ame <"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
N
ame <="
,
value
,
"name"
);
addCriterion
(
"
n
ame <="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLike
(
String
value
)
{
addCriterion
(
"
N
ame like"
,
value
,
"name"
);
addCriterion
(
"
n
ame like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotLike
(
String
value
)
{
addCriterion
(
"
N
ame not like"
,
value
,
"name"
);
addCriterion
(
"
n
ame not like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"
N
ame in"
,
values
,
"name"
);
addCriterion
(
"
n
ame in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
N
ame not in"
,
values
,
"name"
);
addCriterion
(
"
n
ame not in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
N
ame between"
,
value1
,
value2
,
"name"
);
addCriterion
(
"
n
ame between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
N
ame not between"
,
value1
,
value2
,
"name"
);
addCriterion
(
"
n
ame not between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
...
...
@@ -455,95 +365,82 @@ public class PersonExample {
}
public
Criteria
andDeleteFlagIsNull
()
{
addCriterion
(
"delete_
F
lag is null"
);
addCriterion
(
"delete_
f
lag is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagIsNotNull
()
{
addCriterion
(
"delete_
F
lag is not null"
);
addCriterion
(
"delete_
f
lag is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag ="
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag ="
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag <>"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag <>"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagGreaterThan
(
String
value
)
{
addCriterion
(
"delete_
F
lag >"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag >"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag >="
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag >="
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagLessThan
(
String
value
)
{
addCriterion
(
"delete_
F
lag <"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag <"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"delete_
F
lag <="
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag <="
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagLike
(
String
value
)
{
addCriterion
(
"delete_
F
lag like"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag like"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotLike
(
String
value
)
{
addCriterion
(
"delete_
F
lag not like"
,
value
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag not like"
,
value
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagIn
(
List
<
String
>
values
)
{
addCriterion
(
"delete_
F
lag in"
,
values
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag in"
,
values
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"delete_
F
lag not in"
,
values
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag not in"
,
values
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"delete_
F
lag between"
,
value1
,
value2
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag between"
,
value1
,
value2
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteFlagNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"delete_
F
lag not between"
,
value1
,
value2
,
"deleteFlag"
);
addCriterion
(
"delete_
f
lag not between"
,
value1
,
value2
,
"deleteFlag"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_person
*
* @mbggenerated do_not_delete_during_merge
*/
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_person
*
* @mbggenerated
*/
public
static
class
Criterion
{
private
String
condition
;
...
...
Prev
1
2
3
4
5
6
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment