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
5cc26a22
Commit
5cc26a22
authored
Dec 19, 2018
by
季圣华
Browse files
更新后端,采用Springboot+mybatis
parent
bb6f5528
Changes
187
Hide whitespace changes
Inline
Side-by-side
Too many changes to show.
To preserve performance only
20 of 187+
files are displayed.
Plain diff
Email patch
src/main/java/com/jsh/erp/datasource/entities/RoleExample.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.entities
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
RoleExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_role
*
* @mbggenerated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_role
*
* @mbggenerated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_role
*
* @mbggenerated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_role
*
* @mbggenerated
*/
public
RoleExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_role
*
* @mbggenerated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_role
*
* @mbggenerated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_role
*
* @mbggenerated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_role
*
* @mbggenerated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_role
*
* @mbggenerated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_role
*
* @mbggenerated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_role
*
* @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_role
*
* @mbggenerated
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_role
*
* @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_role
*
* @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_role
*
* @mbggenerated
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"Id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"Id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"Id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"Id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"Id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"Id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"Id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"Id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"Id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"Id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"Id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"Id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNull
()
{
addCriterion
(
"Name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNotNull
()
{
addCriterion
(
"Name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameEqualTo
(
String
value
)
{
addCriterion
(
"Name ="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotEqualTo
(
String
value
)
{
addCriterion
(
"Name <>"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThan
(
String
value
)
{
addCriterion
(
"Name >"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Name >="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThan
(
String
value
)
{
addCriterion
(
"Name <"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Name <="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLike
(
String
value
)
{
addCriterion
(
"Name like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotLike
(
String
value
)
{
addCriterion
(
"Name not like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"Name in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Name not in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Name between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Name not between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNull
()
{
addCriterion
(
"type is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNotNull
()
{
addCriterion
(
"type is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeEqualTo
(
String
value
)
{
addCriterion
(
"type ="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotEqualTo
(
String
value
)
{
addCriterion
(
"type <>"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThan
(
String
value
)
{
addCriterion
(
"type >"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"type >="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThan
(
String
value
)
{
addCriterion
(
"type <"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"type <="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLike
(
String
value
)
{
addCriterion
(
"type like"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotLike
(
String
value
)
{
addCriterion
(
"type not like"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIn
(
List
<
String
>
values
)
{
addCriterion
(
"type in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"type not in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"type between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"type not between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueIsNull
()
{
addCriterion
(
"value is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueIsNotNull
()
{
addCriterion
(
"value is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueEqualTo
(
String
value
)
{
addCriterion
(
"value ="
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueNotEqualTo
(
String
value
)
{
addCriterion
(
"value <>"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueGreaterThan
(
String
value
)
{
addCriterion
(
"value >"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"value >="
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueLessThan
(
String
value
)
{
addCriterion
(
"value <"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"value <="
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueLike
(
String
value
)
{
addCriterion
(
"value like"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueNotLike
(
String
value
)
{
addCriterion
(
"value not like"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueIn
(
List
<
String
>
values
)
{
addCriterion
(
"value in"
,
values
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"value not in"
,
values
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"value between"
,
value1
,
value2
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"value not between"
,
value1
,
value2
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIsNull
()
{
addCriterion
(
"description is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIsNotNull
()
{
addCriterion
(
"description is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionEqualTo
(
String
value
)
{
addCriterion
(
"description ="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotEqualTo
(
String
value
)
{
addCriterion
(
"description <>"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionGreaterThan
(
String
value
)
{
addCriterion
(
"description >"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"description >="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLessThan
(
String
value
)
{
addCriterion
(
"description <"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"description <="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLike
(
String
value
)
{
addCriterion
(
"description like"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotLike
(
String
value
)
{
addCriterion
(
"description not like"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIn
(
List
<
String
>
values
)
{
addCriterion
(
"description in"
,
values
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"description not in"
,
values
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"description between"
,
value1
,
value2
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"description not between"
,
value1
,
value2
,
"description"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_role
*
* @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_role
*
* @mbggenerated
*/
public
static
class
Criterion
{
private
String
condition
;
private
Object
value
;
private
Object
secondValue
;
private
boolean
noValue
;
private
boolean
singleValue
;
private
boolean
betweenValue
;
private
boolean
listValue
;
private
String
typeHandler
;
public
String
getCondition
()
{
return
condition
;
}
public
Object
getValue
()
{
return
value
;
}
public
Object
getSecondValue
()
{
return
secondValue
;
}
public
boolean
isNoValue
()
{
return
noValue
;
}
public
boolean
isSingleValue
()
{
return
singleValue
;
}
public
boolean
isBetweenValue
()
{
return
betweenValue
;
}
public
boolean
isListValue
()
{
return
listValue
;
}
public
String
getTypeHandler
()
{
return
typeHandler
;
}
protected
Criterion
(
String
condition
)
{
super
();
this
.
condition
=
condition
;
this
.
typeHandler
=
null
;
this
.
noValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
typeHandler
=
typeHandler
;
if
(
value
instanceof
List
<?>)
{
this
.
listValue
=
true
;
}
else
{
this
.
singleValue
=
true
;
}
}
protected
Criterion
(
String
condition
,
Object
value
)
{
this
(
condition
,
value
,
null
);
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
secondValue
=
secondValue
;
this
.
typeHandler
=
typeHandler
;
this
.
betweenValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
)
{
this
(
condition
,
value
,
secondValue
,
null
);
}
}
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/entities/Supplier.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.entities
;
public
class
Supplier
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.id
*
* @mbggenerated
*/
private
Long
id
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.supplier
*
* @mbggenerated
*/
private
String
supplier
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.contacts
*
* @mbggenerated
*/
private
String
contacts
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.phonenum
*
* @mbggenerated
*/
private
String
phonenum
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.email
*
* @mbggenerated
*/
private
String
email
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.description
*
* @mbggenerated
*/
private
String
description
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.isystem
*
* @mbggenerated
*/
private
Byte
isystem
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.type
*
* @mbggenerated
*/
private
String
type
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.enabled
*
* @mbggenerated
*/
private
Boolean
enabled
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.AdvanceIn
*
* @mbggenerated
*/
private
Double
advancein
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.BeginNeedGet
*
* @mbggenerated
*/
private
Double
beginneedget
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.BeginNeedPay
*
* @mbggenerated
*/
private
Double
beginneedpay
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.AllNeedGet
*
* @mbggenerated
*/
private
Double
allneedget
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.AllNeedPay
*
* @mbggenerated
*/
private
Double
allneedpay
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.fax
*
* @mbggenerated
*/
private
String
fax
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.telephone
*
* @mbggenerated
*/
private
String
telephone
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.address
*
* @mbggenerated
*/
private
String
address
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.taxNum
*
* @mbggenerated
*/
private
String
taxnum
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.bankName
*
* @mbggenerated
*/
private
String
bankname
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.accountNumber
*
* @mbggenerated
*/
private
String
accountnumber
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_supplier.taxRate
*
* @mbggenerated
*/
private
Double
taxrate
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_supplier.id
*
* @return the value of jsh_supplier.id
*
* @mbggenerated
*/
public
Long
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.id
*
* @param id the value for jsh_supplier.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_supplier.supplier
*
* @return the value of jsh_supplier.supplier
*
* @mbggenerated
*/
public
String
getSupplier
()
{
return
supplier
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.supplier
*
* @param supplier the value for jsh_supplier.supplier
*
* @mbggenerated
*/
public
void
setSupplier
(
String
supplier
)
{
this
.
supplier
=
supplier
==
null
?
null
:
supplier
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_supplier.contacts
*
* @return the value of jsh_supplier.contacts
*
* @mbggenerated
*/
public
String
getContacts
()
{
return
contacts
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.contacts
*
* @param contacts the value for jsh_supplier.contacts
*
* @mbggenerated
*/
public
void
setContacts
(
String
contacts
)
{
this
.
contacts
=
contacts
==
null
?
null
:
contacts
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_supplier.phonenum
*
* @return the value of jsh_supplier.phonenum
*
* @mbggenerated
*/
public
String
getPhonenum
()
{
return
phonenum
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.phonenum
*
* @param phonenum the value for jsh_supplier.phonenum
*
* @mbggenerated
*/
public
void
setPhonenum
(
String
phonenum
)
{
this
.
phonenum
=
phonenum
==
null
?
null
:
phonenum
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_supplier.email
*
* @return the value of jsh_supplier.email
*
* @mbggenerated
*/
public
String
getEmail
()
{
return
email
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.email
*
* @param email the value for jsh_supplier.email
*
* @mbggenerated
*/
public
void
setEmail
(
String
email
)
{
this
.
email
=
email
==
null
?
null
:
email
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_supplier.description
*
* @return the value of jsh_supplier.description
*
* @mbggenerated
*/
public
String
getDescription
()
{
return
description
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.description
*
* @param description the value for jsh_supplier.description
*
* @mbggenerated
*/
public
void
setDescription
(
String
description
)
{
this
.
description
=
description
==
null
?
null
:
description
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_supplier.isystem
*
* @return the value of jsh_supplier.isystem
*
* @mbggenerated
*/
public
Byte
getIsystem
()
{
return
isystem
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.isystem
*
* @param isystem the value for jsh_supplier.isystem
*
* @mbggenerated
*/
public
void
setIsystem
(
Byte
isystem
)
{
this
.
isystem
=
isystem
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_supplier.type
*
* @return the value of jsh_supplier.type
*
* @mbggenerated
*/
public
String
getType
()
{
return
type
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.type
*
* @param type the value for jsh_supplier.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_supplier.enabled
*
* @return the value of jsh_supplier.enabled
*
* @mbggenerated
*/
public
Boolean
getEnabled
()
{
return
enabled
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.enabled
*
* @param enabled the value for jsh_supplier.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_supplier.AdvanceIn
*
* @return the value of jsh_supplier.AdvanceIn
*
* @mbggenerated
*/
public
Double
getAdvancein
()
{
return
advancein
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.AdvanceIn
*
* @param advancein the value for jsh_supplier.AdvanceIn
*
* @mbggenerated
*/
public
void
setAdvancein
(
Double
advancein
)
{
this
.
advancein
=
advancein
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_supplier.BeginNeedGet
*
* @return the value of jsh_supplier.BeginNeedGet
*
* @mbggenerated
*/
public
Double
getBeginneedget
()
{
return
beginneedget
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.BeginNeedGet
*
* @param beginneedget the value for jsh_supplier.BeginNeedGet
*
* @mbggenerated
*/
public
void
setBeginneedget
(
Double
beginneedget
)
{
this
.
beginneedget
=
beginneedget
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_supplier.BeginNeedPay
*
* @return the value of jsh_supplier.BeginNeedPay
*
* @mbggenerated
*/
public
Double
getBeginneedpay
()
{
return
beginneedpay
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.BeginNeedPay
*
* @param beginneedpay the value for jsh_supplier.BeginNeedPay
*
* @mbggenerated
*/
public
void
setBeginneedpay
(
Double
beginneedpay
)
{
this
.
beginneedpay
=
beginneedpay
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_supplier.AllNeedGet
*
* @return the value of jsh_supplier.AllNeedGet
*
* @mbggenerated
*/
public
Double
getAllneedget
()
{
return
allneedget
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.AllNeedGet
*
* @param allneedget the value for jsh_supplier.AllNeedGet
*
* @mbggenerated
*/
public
void
setAllneedget
(
Double
allneedget
)
{
this
.
allneedget
=
allneedget
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_supplier.AllNeedPay
*
* @return the value of jsh_supplier.AllNeedPay
*
* @mbggenerated
*/
public
Double
getAllneedpay
()
{
return
allneedpay
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.AllNeedPay
*
* @param allneedpay the value for jsh_supplier.AllNeedPay
*
* @mbggenerated
*/
public
void
setAllneedpay
(
Double
allneedpay
)
{
this
.
allneedpay
=
allneedpay
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_supplier.fax
*
* @return the value of jsh_supplier.fax
*
* @mbggenerated
*/
public
String
getFax
()
{
return
fax
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.fax
*
* @param fax the value for jsh_supplier.fax
*
* @mbggenerated
*/
public
void
setFax
(
String
fax
)
{
this
.
fax
=
fax
==
null
?
null
:
fax
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_supplier.telephone
*
* @return the value of jsh_supplier.telephone
*
* @mbggenerated
*/
public
String
getTelephone
()
{
return
telephone
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.telephone
*
* @param telephone the value for jsh_supplier.telephone
*
* @mbggenerated
*/
public
void
setTelephone
(
String
telephone
)
{
this
.
telephone
=
telephone
==
null
?
null
:
telephone
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_supplier.address
*
* @return the value of jsh_supplier.address
*
* @mbggenerated
*/
public
String
getAddress
()
{
return
address
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.address
*
* @param address the value for jsh_supplier.address
*
* @mbggenerated
*/
public
void
setAddress
(
String
address
)
{
this
.
address
=
address
==
null
?
null
:
address
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_supplier.taxNum
*
* @return the value of jsh_supplier.taxNum
*
* @mbggenerated
*/
public
String
getTaxnum
()
{
return
taxnum
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.taxNum
*
* @param taxnum the value for jsh_supplier.taxNum
*
* @mbggenerated
*/
public
void
setTaxnum
(
String
taxnum
)
{
this
.
taxnum
=
taxnum
==
null
?
null
:
taxnum
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_supplier.bankName
*
* @return the value of jsh_supplier.bankName
*
* @mbggenerated
*/
public
String
getBankname
()
{
return
bankname
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.bankName
*
* @param bankname the value for jsh_supplier.bankName
*
* @mbggenerated
*/
public
void
setBankname
(
String
bankname
)
{
this
.
bankname
=
bankname
==
null
?
null
:
bankname
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_supplier.accountNumber
*
* @return the value of jsh_supplier.accountNumber
*
* @mbggenerated
*/
public
String
getAccountnumber
()
{
return
accountnumber
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.accountNumber
*
* @param accountnumber the value for jsh_supplier.accountNumber
*
* @mbggenerated
*/
public
void
setAccountnumber
(
String
accountnumber
)
{
this
.
accountnumber
=
accountnumber
==
null
?
null
:
accountnumber
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_supplier.taxRate
*
* @return the value of jsh_supplier.taxRate
*
* @mbggenerated
*/
public
Double
getTaxrate
()
{
return
taxrate
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_supplier.taxRate
*
* @param taxrate the value for jsh_supplier.taxRate
*
* @mbggenerated
*/
public
void
setTaxrate
(
Double
taxrate
)
{
this
.
taxrate
=
taxrate
;
}
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/entities/SupplierExample.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.entities
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
SupplierExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_supplier
*
* @mbggenerated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_supplier
*
* @mbggenerated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_supplier
*
* @mbggenerated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_supplier
*
* @mbggenerated
*/
public
SupplierExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_supplier
*
* @mbggenerated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_supplier
*
* @mbggenerated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_supplier
*
* @mbggenerated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_supplier
*
* @mbggenerated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_supplier
*
* @mbggenerated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_supplier
*
* @mbggenerated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_supplier
*
* @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_supplier
*
* @mbggenerated
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_supplier
*
* @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_supplier
*
* @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_supplier
*
* @mbggenerated
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSupplierIsNull
()
{
addCriterion
(
"supplier is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSupplierIsNotNull
()
{
addCriterion
(
"supplier is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSupplierEqualTo
(
String
value
)
{
addCriterion
(
"supplier ="
,
value
,
"supplier"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSupplierNotEqualTo
(
String
value
)
{
addCriterion
(
"supplier <>"
,
value
,
"supplier"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSupplierGreaterThan
(
String
value
)
{
addCriterion
(
"supplier >"
,
value
,
"supplier"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSupplierGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"supplier >="
,
value
,
"supplier"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSupplierLessThan
(
String
value
)
{
addCriterion
(
"supplier <"
,
value
,
"supplier"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSupplierLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"supplier <="
,
value
,
"supplier"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSupplierLike
(
String
value
)
{
addCriterion
(
"supplier like"
,
value
,
"supplier"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSupplierNotLike
(
String
value
)
{
addCriterion
(
"supplier not like"
,
value
,
"supplier"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSupplierIn
(
List
<
String
>
values
)
{
addCriterion
(
"supplier in"
,
values
,
"supplier"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSupplierNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"supplier not in"
,
values
,
"supplier"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSupplierBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"supplier between"
,
value1
,
value2
,
"supplier"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSupplierNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"supplier not between"
,
value1
,
value2
,
"supplier"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactsIsNull
()
{
addCriterion
(
"contacts is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactsIsNotNull
()
{
addCriterion
(
"contacts is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactsEqualTo
(
String
value
)
{
addCriterion
(
"contacts ="
,
value
,
"contacts"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactsNotEqualTo
(
String
value
)
{
addCriterion
(
"contacts <>"
,
value
,
"contacts"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactsGreaterThan
(
String
value
)
{
addCriterion
(
"contacts >"
,
value
,
"contacts"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactsGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"contacts >="
,
value
,
"contacts"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactsLessThan
(
String
value
)
{
addCriterion
(
"contacts <"
,
value
,
"contacts"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactsLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"contacts <="
,
value
,
"contacts"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactsLike
(
String
value
)
{
addCriterion
(
"contacts like"
,
value
,
"contacts"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactsNotLike
(
String
value
)
{
addCriterion
(
"contacts not like"
,
value
,
"contacts"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactsIn
(
List
<
String
>
values
)
{
addCriterion
(
"contacts in"
,
values
,
"contacts"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactsNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"contacts not in"
,
values
,
"contacts"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactsBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"contacts between"
,
value1
,
value2
,
"contacts"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContactsNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"contacts not between"
,
value1
,
value2
,
"contacts"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumIsNull
()
{
addCriterion
(
"phonenum is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumIsNotNull
()
{
addCriterion
(
"phonenum is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumEqualTo
(
String
value
)
{
addCriterion
(
"phonenum ="
,
value
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumNotEqualTo
(
String
value
)
{
addCriterion
(
"phonenum <>"
,
value
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumGreaterThan
(
String
value
)
{
addCriterion
(
"phonenum >"
,
value
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"phonenum >="
,
value
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumLessThan
(
String
value
)
{
addCriterion
(
"phonenum <"
,
value
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"phonenum <="
,
value
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumLike
(
String
value
)
{
addCriterion
(
"phonenum like"
,
value
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumNotLike
(
String
value
)
{
addCriterion
(
"phonenum not like"
,
value
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumIn
(
List
<
String
>
values
)
{
addCriterion
(
"phonenum in"
,
values
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"phonenum not in"
,
values
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"phonenum between"
,
value1
,
value2
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"phonenum not between"
,
value1
,
value2
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailIsNull
()
{
addCriterion
(
"email is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailIsNotNull
()
{
addCriterion
(
"email is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailEqualTo
(
String
value
)
{
addCriterion
(
"email ="
,
value
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailNotEqualTo
(
String
value
)
{
addCriterion
(
"email <>"
,
value
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailGreaterThan
(
String
value
)
{
addCriterion
(
"email >"
,
value
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"email >="
,
value
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailLessThan
(
String
value
)
{
addCriterion
(
"email <"
,
value
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"email <="
,
value
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailLike
(
String
value
)
{
addCriterion
(
"email like"
,
value
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailNotLike
(
String
value
)
{
addCriterion
(
"email not like"
,
value
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailIn
(
List
<
String
>
values
)
{
addCriterion
(
"email in"
,
values
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"email not in"
,
values
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"email between"
,
value1
,
value2
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"email not between"
,
value1
,
value2
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIsNull
()
{
addCriterion
(
"description is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIsNotNull
()
{
addCriterion
(
"description is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionEqualTo
(
String
value
)
{
addCriterion
(
"description ="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotEqualTo
(
String
value
)
{
addCriterion
(
"description <>"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionGreaterThan
(
String
value
)
{
addCriterion
(
"description >"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"description >="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLessThan
(
String
value
)
{
addCriterion
(
"description <"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"description <="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLike
(
String
value
)
{
addCriterion
(
"description like"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotLike
(
String
value
)
{
addCriterion
(
"description not like"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIn
(
List
<
String
>
values
)
{
addCriterion
(
"description in"
,
values
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"description not in"
,
values
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"description between"
,
value1
,
value2
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"description not between"
,
value1
,
value2
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemIsNull
()
{
addCriterion
(
"isystem is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemIsNotNull
()
{
addCriterion
(
"isystem is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemEqualTo
(
Byte
value
)
{
addCriterion
(
"isystem ="
,
value
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemNotEqualTo
(
Byte
value
)
{
addCriterion
(
"isystem <>"
,
value
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemGreaterThan
(
Byte
value
)
{
addCriterion
(
"isystem >"
,
value
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"isystem >="
,
value
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemLessThan
(
Byte
value
)
{
addCriterion
(
"isystem <"
,
value
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"isystem <="
,
value
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"isystem in"
,
values
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"isystem not in"
,
values
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"isystem between"
,
value1
,
value2
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"isystem not between"
,
value1
,
value2
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNull
()
{
addCriterion
(
"type is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNotNull
()
{
addCriterion
(
"type is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeEqualTo
(
String
value
)
{
addCriterion
(
"type ="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotEqualTo
(
String
value
)
{
addCriterion
(
"type <>"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThan
(
String
value
)
{
addCriterion
(
"type >"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"type >="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThan
(
String
value
)
{
addCriterion
(
"type <"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"type <="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLike
(
String
value
)
{
addCriterion
(
"type like"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotLike
(
String
value
)
{
addCriterion
(
"type not like"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIn
(
List
<
String
>
values
)
{
addCriterion
(
"type in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"type not in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"type between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"type not between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledIsNull
()
{
addCriterion
(
"enabled is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledIsNotNull
()
{
addCriterion
(
"enabled is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledEqualTo
(
Boolean
value
)
{
addCriterion
(
"enabled ="
,
value
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledNotEqualTo
(
Boolean
value
)
{
addCriterion
(
"enabled <>"
,
value
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledGreaterThan
(
Boolean
value
)
{
addCriterion
(
"enabled >"
,
value
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledGreaterThanOrEqualTo
(
Boolean
value
)
{
addCriterion
(
"enabled >="
,
value
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledLessThan
(
Boolean
value
)
{
addCriterion
(
"enabled <"
,
value
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledLessThanOrEqualTo
(
Boolean
value
)
{
addCriterion
(
"enabled <="
,
value
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledIn
(
List
<
Boolean
>
values
)
{
addCriterion
(
"enabled in"
,
values
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledNotIn
(
List
<
Boolean
>
values
)
{
addCriterion
(
"enabled not in"
,
values
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledBetween
(
Boolean
value1
,
Boolean
value2
)
{
addCriterion
(
"enabled between"
,
value1
,
value2
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEnabledNotBetween
(
Boolean
value1
,
Boolean
value2
)
{
addCriterion
(
"enabled not between"
,
value1
,
value2
,
"enabled"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAdvanceinIsNull
()
{
addCriterion
(
"AdvanceIn is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAdvanceinIsNotNull
()
{
addCriterion
(
"AdvanceIn is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAdvanceinEqualTo
(
Double
value
)
{
addCriterion
(
"AdvanceIn ="
,
value
,
"advancein"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAdvanceinNotEqualTo
(
Double
value
)
{
addCriterion
(
"AdvanceIn <>"
,
value
,
"advancein"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAdvanceinGreaterThan
(
Double
value
)
{
addCriterion
(
"AdvanceIn >"
,
value
,
"advancein"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAdvanceinGreaterThanOrEqualTo
(
Double
value
)
{
addCriterion
(
"AdvanceIn >="
,
value
,
"advancein"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAdvanceinLessThan
(
Double
value
)
{
addCriterion
(
"AdvanceIn <"
,
value
,
"advancein"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAdvanceinLessThanOrEqualTo
(
Double
value
)
{
addCriterion
(
"AdvanceIn <="
,
value
,
"advancein"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAdvanceinIn
(
List
<
Double
>
values
)
{
addCriterion
(
"AdvanceIn in"
,
values
,
"advancein"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAdvanceinNotIn
(
List
<
Double
>
values
)
{
addCriterion
(
"AdvanceIn not in"
,
values
,
"advancein"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAdvanceinBetween
(
Double
value1
,
Double
value2
)
{
addCriterion
(
"AdvanceIn between"
,
value1
,
value2
,
"advancein"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAdvanceinNotBetween
(
Double
value1
,
Double
value2
)
{
addCriterion
(
"AdvanceIn not between"
,
value1
,
value2
,
"advancein"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedgetIsNull
()
{
addCriterion
(
"BeginNeedGet is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedgetIsNotNull
()
{
addCriterion
(
"BeginNeedGet is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedgetEqualTo
(
Double
value
)
{
addCriterion
(
"BeginNeedGet ="
,
value
,
"beginneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedgetNotEqualTo
(
Double
value
)
{
addCriterion
(
"BeginNeedGet <>"
,
value
,
"beginneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedgetGreaterThan
(
Double
value
)
{
addCriterion
(
"BeginNeedGet >"
,
value
,
"beginneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedgetGreaterThanOrEqualTo
(
Double
value
)
{
addCriterion
(
"BeginNeedGet >="
,
value
,
"beginneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedgetLessThan
(
Double
value
)
{
addCriterion
(
"BeginNeedGet <"
,
value
,
"beginneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedgetLessThanOrEqualTo
(
Double
value
)
{
addCriterion
(
"BeginNeedGet <="
,
value
,
"beginneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedgetIn
(
List
<
Double
>
values
)
{
addCriterion
(
"BeginNeedGet in"
,
values
,
"beginneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedgetNotIn
(
List
<
Double
>
values
)
{
addCriterion
(
"BeginNeedGet not in"
,
values
,
"beginneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedgetBetween
(
Double
value1
,
Double
value2
)
{
addCriterion
(
"BeginNeedGet between"
,
value1
,
value2
,
"beginneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedgetNotBetween
(
Double
value1
,
Double
value2
)
{
addCriterion
(
"BeginNeedGet not between"
,
value1
,
value2
,
"beginneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedpayIsNull
()
{
addCriterion
(
"BeginNeedPay is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedpayIsNotNull
()
{
addCriterion
(
"BeginNeedPay is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedpayEqualTo
(
Double
value
)
{
addCriterion
(
"BeginNeedPay ="
,
value
,
"beginneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedpayNotEqualTo
(
Double
value
)
{
addCriterion
(
"BeginNeedPay <>"
,
value
,
"beginneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedpayGreaterThan
(
Double
value
)
{
addCriterion
(
"BeginNeedPay >"
,
value
,
"beginneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedpayGreaterThanOrEqualTo
(
Double
value
)
{
addCriterion
(
"BeginNeedPay >="
,
value
,
"beginneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedpayLessThan
(
Double
value
)
{
addCriterion
(
"BeginNeedPay <"
,
value
,
"beginneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedpayLessThanOrEqualTo
(
Double
value
)
{
addCriterion
(
"BeginNeedPay <="
,
value
,
"beginneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedpayIn
(
List
<
Double
>
values
)
{
addCriterion
(
"BeginNeedPay in"
,
values
,
"beginneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedpayNotIn
(
List
<
Double
>
values
)
{
addCriterion
(
"BeginNeedPay not in"
,
values
,
"beginneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedpayBetween
(
Double
value1
,
Double
value2
)
{
addCriterion
(
"BeginNeedPay between"
,
value1
,
value2
,
"beginneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBeginneedpayNotBetween
(
Double
value1
,
Double
value2
)
{
addCriterion
(
"BeginNeedPay not between"
,
value1
,
value2
,
"beginneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedgetIsNull
()
{
addCriterion
(
"AllNeedGet is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedgetIsNotNull
()
{
addCriterion
(
"AllNeedGet is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedgetEqualTo
(
Double
value
)
{
addCriterion
(
"AllNeedGet ="
,
value
,
"allneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedgetNotEqualTo
(
Double
value
)
{
addCriterion
(
"AllNeedGet <>"
,
value
,
"allneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedgetGreaterThan
(
Double
value
)
{
addCriterion
(
"AllNeedGet >"
,
value
,
"allneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedgetGreaterThanOrEqualTo
(
Double
value
)
{
addCriterion
(
"AllNeedGet >="
,
value
,
"allneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedgetLessThan
(
Double
value
)
{
addCriterion
(
"AllNeedGet <"
,
value
,
"allneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedgetLessThanOrEqualTo
(
Double
value
)
{
addCriterion
(
"AllNeedGet <="
,
value
,
"allneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedgetIn
(
List
<
Double
>
values
)
{
addCriterion
(
"AllNeedGet in"
,
values
,
"allneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedgetNotIn
(
List
<
Double
>
values
)
{
addCriterion
(
"AllNeedGet not in"
,
values
,
"allneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedgetBetween
(
Double
value1
,
Double
value2
)
{
addCriterion
(
"AllNeedGet between"
,
value1
,
value2
,
"allneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedgetNotBetween
(
Double
value1
,
Double
value2
)
{
addCriterion
(
"AllNeedGet not between"
,
value1
,
value2
,
"allneedget"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedpayIsNull
()
{
addCriterion
(
"AllNeedPay is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedpayIsNotNull
()
{
addCriterion
(
"AllNeedPay is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedpayEqualTo
(
Double
value
)
{
addCriterion
(
"AllNeedPay ="
,
value
,
"allneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedpayNotEqualTo
(
Double
value
)
{
addCriterion
(
"AllNeedPay <>"
,
value
,
"allneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedpayGreaterThan
(
Double
value
)
{
addCriterion
(
"AllNeedPay >"
,
value
,
"allneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedpayGreaterThanOrEqualTo
(
Double
value
)
{
addCriterion
(
"AllNeedPay >="
,
value
,
"allneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedpayLessThan
(
Double
value
)
{
addCriterion
(
"AllNeedPay <"
,
value
,
"allneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedpayLessThanOrEqualTo
(
Double
value
)
{
addCriterion
(
"AllNeedPay <="
,
value
,
"allneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedpayIn
(
List
<
Double
>
values
)
{
addCriterion
(
"AllNeedPay in"
,
values
,
"allneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedpayNotIn
(
List
<
Double
>
values
)
{
addCriterion
(
"AllNeedPay not in"
,
values
,
"allneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedpayBetween
(
Double
value1
,
Double
value2
)
{
addCriterion
(
"AllNeedPay between"
,
value1
,
value2
,
"allneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAllneedpayNotBetween
(
Double
value1
,
Double
value2
)
{
addCriterion
(
"AllNeedPay not between"
,
value1
,
value2
,
"allneedpay"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFaxIsNull
()
{
addCriterion
(
"fax is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFaxIsNotNull
()
{
addCriterion
(
"fax is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFaxEqualTo
(
String
value
)
{
addCriterion
(
"fax ="
,
value
,
"fax"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFaxNotEqualTo
(
String
value
)
{
addCriterion
(
"fax <>"
,
value
,
"fax"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFaxGreaterThan
(
String
value
)
{
addCriterion
(
"fax >"
,
value
,
"fax"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFaxGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"fax >="
,
value
,
"fax"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFaxLessThan
(
String
value
)
{
addCriterion
(
"fax <"
,
value
,
"fax"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFaxLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"fax <="
,
value
,
"fax"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFaxLike
(
String
value
)
{
addCriterion
(
"fax like"
,
value
,
"fax"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFaxNotLike
(
String
value
)
{
addCriterion
(
"fax not like"
,
value
,
"fax"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFaxIn
(
List
<
String
>
values
)
{
addCriterion
(
"fax in"
,
values
,
"fax"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFaxNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"fax not in"
,
values
,
"fax"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFaxBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"fax between"
,
value1
,
value2
,
"fax"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFaxNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"fax not between"
,
value1
,
value2
,
"fax"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTelephoneIsNull
()
{
addCriterion
(
"telephone is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTelephoneIsNotNull
()
{
addCriterion
(
"telephone is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTelephoneEqualTo
(
String
value
)
{
addCriterion
(
"telephone ="
,
value
,
"telephone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTelephoneNotEqualTo
(
String
value
)
{
addCriterion
(
"telephone <>"
,
value
,
"telephone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTelephoneGreaterThan
(
String
value
)
{
addCriterion
(
"telephone >"
,
value
,
"telephone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTelephoneGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"telephone >="
,
value
,
"telephone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTelephoneLessThan
(
String
value
)
{
addCriterion
(
"telephone <"
,
value
,
"telephone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTelephoneLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"telephone <="
,
value
,
"telephone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTelephoneLike
(
String
value
)
{
addCriterion
(
"telephone like"
,
value
,
"telephone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTelephoneNotLike
(
String
value
)
{
addCriterion
(
"telephone not like"
,
value
,
"telephone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTelephoneIn
(
List
<
String
>
values
)
{
addCriterion
(
"telephone in"
,
values
,
"telephone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTelephoneNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"telephone not in"
,
values
,
"telephone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTelephoneBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"telephone between"
,
value1
,
value2
,
"telephone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTelephoneNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"telephone not between"
,
value1
,
value2
,
"telephone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAddressIsNull
()
{
addCriterion
(
"address is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAddressIsNotNull
()
{
addCriterion
(
"address is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAddressEqualTo
(
String
value
)
{
addCriterion
(
"address ="
,
value
,
"address"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAddressNotEqualTo
(
String
value
)
{
addCriterion
(
"address <>"
,
value
,
"address"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAddressGreaterThan
(
String
value
)
{
addCriterion
(
"address >"
,
value
,
"address"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAddressGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"address >="
,
value
,
"address"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAddressLessThan
(
String
value
)
{
addCriterion
(
"address <"
,
value
,
"address"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAddressLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"address <="
,
value
,
"address"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAddressLike
(
String
value
)
{
addCriterion
(
"address like"
,
value
,
"address"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAddressNotLike
(
String
value
)
{
addCriterion
(
"address not like"
,
value
,
"address"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAddressIn
(
List
<
String
>
values
)
{
addCriterion
(
"address in"
,
values
,
"address"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAddressNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"address not in"
,
values
,
"address"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAddressBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"address between"
,
value1
,
value2
,
"address"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAddressNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"address not between"
,
value1
,
value2
,
"address"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxnumIsNull
()
{
addCriterion
(
"taxNum is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxnumIsNotNull
()
{
addCriterion
(
"taxNum is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxnumEqualTo
(
String
value
)
{
addCriterion
(
"taxNum ="
,
value
,
"taxnum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxnumNotEqualTo
(
String
value
)
{
addCriterion
(
"taxNum <>"
,
value
,
"taxnum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxnumGreaterThan
(
String
value
)
{
addCriterion
(
"taxNum >"
,
value
,
"taxnum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxnumGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"taxNum >="
,
value
,
"taxnum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxnumLessThan
(
String
value
)
{
addCriterion
(
"taxNum <"
,
value
,
"taxnum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxnumLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"taxNum <="
,
value
,
"taxnum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxnumLike
(
String
value
)
{
addCriterion
(
"taxNum like"
,
value
,
"taxnum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxnumNotLike
(
String
value
)
{
addCriterion
(
"taxNum not like"
,
value
,
"taxnum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxnumIn
(
List
<
String
>
values
)
{
addCriterion
(
"taxNum in"
,
values
,
"taxnum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxnumNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"taxNum not in"
,
values
,
"taxnum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxnumBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"taxNum between"
,
value1
,
value2
,
"taxnum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxnumNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"taxNum not between"
,
value1
,
value2
,
"taxnum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBanknameIsNull
()
{
addCriterion
(
"bankName is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBanknameIsNotNull
()
{
addCriterion
(
"bankName is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBanknameEqualTo
(
String
value
)
{
addCriterion
(
"bankName ="
,
value
,
"bankname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBanknameNotEqualTo
(
String
value
)
{
addCriterion
(
"bankName <>"
,
value
,
"bankname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBanknameGreaterThan
(
String
value
)
{
addCriterion
(
"bankName >"
,
value
,
"bankname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBanknameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"bankName >="
,
value
,
"bankname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBanknameLessThan
(
String
value
)
{
addCriterion
(
"bankName <"
,
value
,
"bankname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBanknameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"bankName <="
,
value
,
"bankname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBanknameLike
(
String
value
)
{
addCriterion
(
"bankName like"
,
value
,
"bankname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBanknameNotLike
(
String
value
)
{
addCriterion
(
"bankName not like"
,
value
,
"bankname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBanknameIn
(
List
<
String
>
values
)
{
addCriterion
(
"bankName in"
,
values
,
"bankname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBanknameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"bankName not in"
,
values
,
"bankname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBanknameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"bankName between"
,
value1
,
value2
,
"bankname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBanknameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"bankName not between"
,
value1
,
value2
,
"bankname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountnumberIsNull
()
{
addCriterion
(
"accountNumber is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountnumberIsNotNull
()
{
addCriterion
(
"accountNumber is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountnumberEqualTo
(
String
value
)
{
addCriterion
(
"accountNumber ="
,
value
,
"accountnumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountnumberNotEqualTo
(
String
value
)
{
addCriterion
(
"accountNumber <>"
,
value
,
"accountnumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountnumberGreaterThan
(
String
value
)
{
addCriterion
(
"accountNumber >"
,
value
,
"accountnumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountnumberGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"accountNumber >="
,
value
,
"accountnumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountnumberLessThan
(
String
value
)
{
addCriterion
(
"accountNumber <"
,
value
,
"accountnumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountnumberLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"accountNumber <="
,
value
,
"accountnumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountnumberLike
(
String
value
)
{
addCriterion
(
"accountNumber like"
,
value
,
"accountnumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountnumberNotLike
(
String
value
)
{
addCriterion
(
"accountNumber not like"
,
value
,
"accountnumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountnumberIn
(
List
<
String
>
values
)
{
addCriterion
(
"accountNumber in"
,
values
,
"accountnumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountnumberNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"accountNumber not in"
,
values
,
"accountnumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountnumberBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"accountNumber between"
,
value1
,
value2
,
"accountnumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAccountnumberNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"accountNumber not between"
,
value1
,
value2
,
"accountnumber"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxrateIsNull
()
{
addCriterion
(
"taxRate is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxrateIsNotNull
()
{
addCriterion
(
"taxRate is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxrateEqualTo
(
Double
value
)
{
addCriterion
(
"taxRate ="
,
value
,
"taxrate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxrateNotEqualTo
(
Double
value
)
{
addCriterion
(
"taxRate <>"
,
value
,
"taxrate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxrateGreaterThan
(
Double
value
)
{
addCriterion
(
"taxRate >"
,
value
,
"taxrate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxrateGreaterThanOrEqualTo
(
Double
value
)
{
addCriterion
(
"taxRate >="
,
value
,
"taxrate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxrateLessThan
(
Double
value
)
{
addCriterion
(
"taxRate <"
,
value
,
"taxrate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxrateLessThanOrEqualTo
(
Double
value
)
{
addCriterion
(
"taxRate <="
,
value
,
"taxrate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxrateIn
(
List
<
Double
>
values
)
{
addCriterion
(
"taxRate in"
,
values
,
"taxrate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxrateNotIn
(
List
<
Double
>
values
)
{
addCriterion
(
"taxRate not in"
,
values
,
"taxrate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxrateBetween
(
Double
value1
,
Double
value2
)
{
addCriterion
(
"taxRate between"
,
value1
,
value2
,
"taxrate"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTaxrateNotBetween
(
Double
value1
,
Double
value2
)
{
addCriterion
(
"taxRate not between"
,
value1
,
value2
,
"taxrate"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_supplier
*
* @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_supplier
*
* @mbggenerated
*/
public
static
class
Criterion
{
private
String
condition
;
private
Object
value
;
private
Object
secondValue
;
private
boolean
noValue
;
private
boolean
singleValue
;
private
boolean
betweenValue
;
private
boolean
listValue
;
private
String
typeHandler
;
public
String
getCondition
()
{
return
condition
;
}
public
Object
getValue
()
{
return
value
;
}
public
Object
getSecondValue
()
{
return
secondValue
;
}
public
boolean
isNoValue
()
{
return
noValue
;
}
public
boolean
isSingleValue
()
{
return
singleValue
;
}
public
boolean
isBetweenValue
()
{
return
betweenValue
;
}
public
boolean
isListValue
()
{
return
listValue
;
}
public
String
getTypeHandler
()
{
return
typeHandler
;
}
protected
Criterion
(
String
condition
)
{
super
();
this
.
condition
=
condition
;
this
.
typeHandler
=
null
;
this
.
noValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
typeHandler
=
typeHandler
;
if
(
value
instanceof
List
<?>)
{
this
.
listValue
=
true
;
}
else
{
this
.
singleValue
=
true
;
}
}
protected
Criterion
(
String
condition
,
Object
value
)
{
this
(
condition
,
value
,
null
);
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
secondValue
=
secondValue
;
this
.
typeHandler
=
typeHandler
;
this
.
betweenValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
)
{
this
(
condition
,
value
,
secondValue
,
null
);
}
}
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/entities/SystemConfig.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.entities
;
public
class
SystemConfig
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_systemconfig.id
*
* @mbggenerated
*/
private
Long
id
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_systemconfig.type
*
* @mbggenerated
*/
private
String
type
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_systemconfig.name
*
* @mbggenerated
*/
private
String
name
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_systemconfig.value
*
* @mbggenerated
*/
private
String
value
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_systemconfig.description
*
* @mbggenerated
*/
private
String
description
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_systemconfig.id
*
* @return the value of jsh_systemconfig.id
*
* @mbggenerated
*/
public
Long
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_systemconfig.id
*
* @param id the value for jsh_systemconfig.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_systemconfig.type
*
* @return the value of jsh_systemconfig.type
*
* @mbggenerated
*/
public
String
getType
()
{
return
type
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_systemconfig.type
*
* @param type the value for jsh_systemconfig.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_systemconfig.name
*
* @return the value of jsh_systemconfig.name
*
* @mbggenerated
*/
public
String
getName
()
{
return
name
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_systemconfig.name
*
* @param name the value for jsh_systemconfig.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_systemconfig.value
*
* @return the value of jsh_systemconfig.value
*
* @mbggenerated
*/
public
String
getValue
()
{
return
value
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_systemconfig.value
*
* @param value the value for jsh_systemconfig.value
*
* @mbggenerated
*/
public
void
setValue
(
String
value
)
{
this
.
value
=
value
==
null
?
null
:
value
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_systemconfig.description
*
* @return the value of jsh_systemconfig.description
*
* @mbggenerated
*/
public
String
getDescription
()
{
return
description
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_systemconfig.description
*
* @param description the value for jsh_systemconfig.description
*
* @mbggenerated
*/
public
void
setDescription
(
String
description
)
{
this
.
description
=
description
==
null
?
null
:
description
.
trim
();
}
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/entities/SystemConfigExample.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.entities
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
SystemConfigExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_systemconfig
*
* @mbggenerated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_systemconfig
*
* @mbggenerated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_systemconfig
*
* @mbggenerated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_systemconfig
*
* @mbggenerated
*/
public
SystemConfigExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_systemconfig
*
* @mbggenerated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_systemconfig
*
* @mbggenerated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_systemconfig
*
* @mbggenerated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_systemconfig
*
* @mbggenerated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_systemconfig
*
* @mbggenerated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_systemconfig
*
* @mbggenerated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_systemconfig
*
* @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_systemconfig
*
* @mbggenerated
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_systemconfig
*
* @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_systemconfig
*
* @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_systemconfig
*
* @mbggenerated
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNull
()
{
addCriterion
(
"type is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNotNull
()
{
addCriterion
(
"type is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeEqualTo
(
String
value
)
{
addCriterion
(
"type ="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotEqualTo
(
String
value
)
{
addCriterion
(
"type <>"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThan
(
String
value
)
{
addCriterion
(
"type >"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"type >="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThan
(
String
value
)
{
addCriterion
(
"type <"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"type <="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLike
(
String
value
)
{
addCriterion
(
"type like"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotLike
(
String
value
)
{
addCriterion
(
"type not like"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIn
(
List
<
String
>
values
)
{
addCriterion
(
"type in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"type not in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"type between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"type not between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNull
()
{
addCriterion
(
"name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNotNull
()
{
addCriterion
(
"name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameEqualTo
(
String
value
)
{
addCriterion
(
"name ="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotEqualTo
(
String
value
)
{
addCriterion
(
"name <>"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThan
(
String
value
)
{
addCriterion
(
"name >"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"name >="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThan
(
String
value
)
{
addCriterion
(
"name <"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"name <="
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameLike
(
String
value
)
{
addCriterion
(
"name like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotLike
(
String
value
)
{
addCriterion
(
"name not like"
,
value
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"name in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"name not in"
,
values
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"name between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"name not between"
,
value1
,
value2
,
"name"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueIsNull
()
{
addCriterion
(
"value is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueIsNotNull
()
{
addCriterion
(
"value is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueEqualTo
(
String
value
)
{
addCriterion
(
"value ="
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueNotEqualTo
(
String
value
)
{
addCriterion
(
"value <>"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueGreaterThan
(
String
value
)
{
addCriterion
(
"value >"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"value >="
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueLessThan
(
String
value
)
{
addCriterion
(
"value <"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"value <="
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueLike
(
String
value
)
{
addCriterion
(
"value like"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueNotLike
(
String
value
)
{
addCriterion
(
"value not like"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueIn
(
List
<
String
>
values
)
{
addCriterion
(
"value in"
,
values
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"value not in"
,
values
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"value between"
,
value1
,
value2
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"value not between"
,
value1
,
value2
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIsNull
()
{
addCriterion
(
"description is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIsNotNull
()
{
addCriterion
(
"description is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionEqualTo
(
String
value
)
{
addCriterion
(
"description ="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotEqualTo
(
String
value
)
{
addCriterion
(
"description <>"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionGreaterThan
(
String
value
)
{
addCriterion
(
"description >"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"description >="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLessThan
(
String
value
)
{
addCriterion
(
"description <"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"description <="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLike
(
String
value
)
{
addCriterion
(
"description like"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotLike
(
String
value
)
{
addCriterion
(
"description not like"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIn
(
List
<
String
>
values
)
{
addCriterion
(
"description in"
,
values
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"description not in"
,
values
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"description between"
,
value1
,
value2
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"description not between"
,
value1
,
value2
,
"description"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_systemconfig
*
* @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_systemconfig
*
* @mbggenerated
*/
public
static
class
Criterion
{
private
String
condition
;
private
Object
value
;
private
Object
secondValue
;
private
boolean
noValue
;
private
boolean
singleValue
;
private
boolean
betweenValue
;
private
boolean
listValue
;
private
String
typeHandler
;
public
String
getCondition
()
{
return
condition
;
}
public
Object
getValue
()
{
return
value
;
}
public
Object
getSecondValue
()
{
return
secondValue
;
}
public
boolean
isNoValue
()
{
return
noValue
;
}
public
boolean
isSingleValue
()
{
return
singleValue
;
}
public
boolean
isBetweenValue
()
{
return
betweenValue
;
}
public
boolean
isListValue
()
{
return
listValue
;
}
public
String
getTypeHandler
()
{
return
typeHandler
;
}
protected
Criterion
(
String
condition
)
{
super
();
this
.
condition
=
condition
;
this
.
typeHandler
=
null
;
this
.
noValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
typeHandler
=
typeHandler
;
if
(
value
instanceof
List
<?>)
{
this
.
listValue
=
true
;
}
else
{
this
.
singleValue
=
true
;
}
}
protected
Criterion
(
String
condition
,
Object
value
)
{
this
(
condition
,
value
,
null
);
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
secondValue
=
secondValue
;
this
.
typeHandler
=
typeHandler
;
this
.
betweenValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
)
{
this
(
condition
,
value
,
secondValue
,
null
);
}
}
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/entities/Unit.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.entities
;
public
class
Unit
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_unit.id
*
* @mbggenerated
*/
private
Long
id
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_unit.UName
*
* @mbggenerated
*/
private
String
uname
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_unit.id
*
* @return the value of jsh_unit.id
*
* @mbggenerated
*/
public
Long
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_unit.id
*
* @param id the value for jsh_unit.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_unit.UName
*
* @return the value of jsh_unit.UName
*
* @mbggenerated
*/
public
String
getUname
()
{
return
uname
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_unit.UName
*
* @param uname the value for jsh_unit.UName
*
* @mbggenerated
*/
public
void
setUname
(
String
uname
)
{
this
.
uname
=
uname
==
null
?
null
:
uname
.
trim
();
}
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/entities/UnitExample.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.entities
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
UnitExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_unit
*
* @mbggenerated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_unit
*
* @mbggenerated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_unit
*
* @mbggenerated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_unit
*
* @mbggenerated
*/
public
UnitExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_unit
*
* @mbggenerated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_unit
*
* @mbggenerated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_unit
*
* @mbggenerated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_unit
*
* @mbggenerated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_unit
*
* @mbggenerated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_unit
*
* @mbggenerated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_unit
*
* @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_unit
*
* @mbggenerated
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_unit
*
* @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_unit
*
* @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_unit
*
* @mbggenerated
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUnameIsNull
()
{
addCriterion
(
"UName is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUnameIsNotNull
()
{
addCriterion
(
"UName is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUnameEqualTo
(
String
value
)
{
addCriterion
(
"UName ="
,
value
,
"uname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUnameNotEqualTo
(
String
value
)
{
addCriterion
(
"UName <>"
,
value
,
"uname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUnameGreaterThan
(
String
value
)
{
addCriterion
(
"UName >"
,
value
,
"uname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUnameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"UName >="
,
value
,
"uname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUnameLessThan
(
String
value
)
{
addCriterion
(
"UName <"
,
value
,
"uname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUnameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"UName <="
,
value
,
"uname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUnameLike
(
String
value
)
{
addCriterion
(
"UName like"
,
value
,
"uname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUnameNotLike
(
String
value
)
{
addCriterion
(
"UName not like"
,
value
,
"uname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUnameIn
(
List
<
String
>
values
)
{
addCriterion
(
"UName in"
,
values
,
"uname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUnameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"UName not in"
,
values
,
"uname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUnameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"UName between"
,
value1
,
value2
,
"uname"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUnameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"UName not between"
,
value1
,
value2
,
"uname"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_unit
*
* @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_unit
*
* @mbggenerated
*/
public
static
class
Criterion
{
private
String
condition
;
private
Object
value
;
private
Object
secondValue
;
private
boolean
noValue
;
private
boolean
singleValue
;
private
boolean
betweenValue
;
private
boolean
listValue
;
private
String
typeHandler
;
public
String
getCondition
()
{
return
condition
;
}
public
Object
getValue
()
{
return
value
;
}
public
Object
getSecondValue
()
{
return
secondValue
;
}
public
boolean
isNoValue
()
{
return
noValue
;
}
public
boolean
isSingleValue
()
{
return
singleValue
;
}
public
boolean
isBetweenValue
()
{
return
betweenValue
;
}
public
boolean
isListValue
()
{
return
listValue
;
}
public
String
getTypeHandler
()
{
return
typeHandler
;
}
protected
Criterion
(
String
condition
)
{
super
();
this
.
condition
=
condition
;
this
.
typeHandler
=
null
;
this
.
noValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
typeHandler
=
typeHandler
;
if
(
value
instanceof
List
<?>)
{
this
.
listValue
=
true
;
}
else
{
this
.
singleValue
=
true
;
}
}
protected
Criterion
(
String
condition
,
Object
value
)
{
this
(
condition
,
value
,
null
);
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
secondValue
=
secondValue
;
this
.
typeHandler
=
typeHandler
;
this
.
betweenValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
)
{
this
(
condition
,
value
,
secondValue
,
null
);
}
}
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/entities/User.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.entities
;
public
class
User
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.id
*
* @mbggenerated
*/
private
Long
id
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.username
*
* @mbggenerated
*/
private
String
username
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.loginame
*
* @mbggenerated
*/
private
String
loginame
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.password
*
* @mbggenerated
*/
private
String
password
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.position
*
* @mbggenerated
*/
private
String
position
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.department
*
* @mbggenerated
*/
private
String
department
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.email
*
* @mbggenerated
*/
private
String
email
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.phonenum
*
* @mbggenerated
*/
private
String
phonenum
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.ismanager
*
* @mbggenerated
*/
private
Byte
ismanager
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.isystem
*
* @mbggenerated
*/
private
Byte
isystem
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.status
*
* @mbggenerated
*/
private
Byte
status
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.description
*
* @mbggenerated
*/
private
String
description
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.remark
*
* @mbggenerated
*/
private
String
remark
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.id
*
* @return the value of jsh_user.id
*
* @mbggenerated
*/
public
Long
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.id
*
* @param id the value for jsh_user.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_user.username
*
* @return the value of jsh_user.username
*
* @mbggenerated
*/
public
String
getUsername
()
{
return
username
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.username
*
* @param username the value for jsh_user.username
*
* @mbggenerated
*/
public
void
setUsername
(
String
username
)
{
this
.
username
=
username
==
null
?
null
:
username
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.loginame
*
* @return the value of jsh_user.loginame
*
* @mbggenerated
*/
public
String
getLoginame
()
{
return
loginame
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.loginame
*
* @param loginame the value for jsh_user.loginame
*
* @mbggenerated
*/
public
void
setLoginame
(
String
loginame
)
{
this
.
loginame
=
loginame
==
null
?
null
:
loginame
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.password
*
* @return the value of jsh_user.password
*
* @mbggenerated
*/
public
String
getPassword
()
{
return
password
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.password
*
* @param password the value for jsh_user.password
*
* @mbggenerated
*/
public
void
setPassword
(
String
password
)
{
this
.
password
=
password
==
null
?
null
:
password
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.position
*
* @return the value of jsh_user.position
*
* @mbggenerated
*/
public
String
getPosition
()
{
return
position
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.position
*
* @param position the value for jsh_user.position
*
* @mbggenerated
*/
public
void
setPosition
(
String
position
)
{
this
.
position
=
position
==
null
?
null
:
position
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.department
*
* @return the value of jsh_user.department
*
* @mbggenerated
*/
public
String
getDepartment
()
{
return
department
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.department
*
* @param department the value for jsh_user.department
*
* @mbggenerated
*/
public
void
setDepartment
(
String
department
)
{
this
.
department
=
department
==
null
?
null
:
department
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.email
*
* @return the value of jsh_user.email
*
* @mbggenerated
*/
public
String
getEmail
()
{
return
email
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.email
*
* @param email the value for jsh_user.email
*
* @mbggenerated
*/
public
void
setEmail
(
String
email
)
{
this
.
email
=
email
==
null
?
null
:
email
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.phonenum
*
* @return the value of jsh_user.phonenum
*
* @mbggenerated
*/
public
String
getPhonenum
()
{
return
phonenum
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.phonenum
*
* @param phonenum the value for jsh_user.phonenum
*
* @mbggenerated
*/
public
void
setPhonenum
(
String
phonenum
)
{
this
.
phonenum
=
phonenum
==
null
?
null
:
phonenum
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.ismanager
*
* @return the value of jsh_user.ismanager
*
* @mbggenerated
*/
public
Byte
getIsmanager
()
{
return
ismanager
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.ismanager
*
* @param ismanager the value for jsh_user.ismanager
*
* @mbggenerated
*/
public
void
setIsmanager
(
Byte
ismanager
)
{
this
.
ismanager
=
ismanager
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.isystem
*
* @return the value of jsh_user.isystem
*
* @mbggenerated
*/
public
Byte
getIsystem
()
{
return
isystem
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.isystem
*
* @param isystem the value for jsh_user.isystem
*
* @mbggenerated
*/
public
void
setIsystem
(
Byte
isystem
)
{
this
.
isystem
=
isystem
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.status
*
* @return the value of jsh_user.status
*
* @mbggenerated
*/
public
Byte
getStatus
()
{
return
status
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.status
*
* @param status the value for jsh_user.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_user.description
*
* @return the value of jsh_user.description
*
* @mbggenerated
*/
public
String
getDescription
()
{
return
description
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.description
*
* @param description the value for jsh_user.description
*
* @mbggenerated
*/
public
void
setDescription
(
String
description
)
{
this
.
description
=
description
==
null
?
null
:
description
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.remark
*
* @return the value of jsh_user.remark
*
* @mbggenerated
*/
public
String
getRemark
()
{
return
remark
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.remark
*
* @param remark the value for jsh_user.remark
*
* @mbggenerated
*/
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
==
null
?
null
:
remark
.
trim
();
}
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/entities/UserBusiness.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.entities
;
public
class
UserBusiness
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_userbusiness.Id
*
* @mbggenerated
*/
private
Long
id
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_userbusiness.Type
*
* @mbggenerated
*/
private
String
type
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_userbusiness.KeyId
*
* @mbggenerated
*/
private
String
keyid
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_userbusiness.Value
*
* @mbggenerated
*/
private
String
value
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_userbusiness.BtnStr
*
* @mbggenerated
*/
private
String
btnstr
;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_userbusiness.Id
*
* @return the value of jsh_userbusiness.Id
*
* @mbggenerated
*/
public
Long
getId
()
{
return
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_userbusiness.Id
*
* @param id the value for jsh_userbusiness.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_userbusiness.Type
*
* @return the value of jsh_userbusiness.Type
*
* @mbggenerated
*/
public
String
getType
()
{
return
type
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_userbusiness.Type
*
* @param type the value for jsh_userbusiness.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_userbusiness.KeyId
*
* @return the value of jsh_userbusiness.KeyId
*
* @mbggenerated
*/
public
String
getKeyid
()
{
return
keyid
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_userbusiness.KeyId
*
* @param keyid the value for jsh_userbusiness.KeyId
*
* @mbggenerated
*/
public
void
setKeyid
(
String
keyid
)
{
this
.
keyid
=
keyid
==
null
?
null
:
keyid
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_userbusiness.Value
*
* @return the value of jsh_userbusiness.Value
*
* @mbggenerated
*/
public
String
getValue
()
{
return
value
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_userbusiness.Value
*
* @param value the value for jsh_userbusiness.Value
*
* @mbggenerated
*/
public
void
setValue
(
String
value
)
{
this
.
value
=
value
==
null
?
null
:
value
.
trim
();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_userbusiness.BtnStr
*
* @return the value of jsh_userbusiness.BtnStr
*
* @mbggenerated
*/
public
String
getBtnstr
()
{
return
btnstr
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_userbusiness.BtnStr
*
* @param btnstr the value for jsh_userbusiness.BtnStr
*
* @mbggenerated
*/
public
void
setBtnstr
(
String
btnstr
)
{
this
.
btnstr
=
btnstr
==
null
?
null
:
btnstr
.
trim
();
}
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/entities/UserBusinessExample.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.entities
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
UserBusinessExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_userbusiness
*
* @mbggenerated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_userbusiness
*
* @mbggenerated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_userbusiness
*
* @mbggenerated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_userbusiness
*
* @mbggenerated
*/
public
UserBusinessExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_userbusiness
*
* @mbggenerated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_userbusiness
*
* @mbggenerated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_userbusiness
*
* @mbggenerated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_userbusiness
*
* @mbggenerated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_userbusiness
*
* @mbggenerated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_userbusiness
*
* @mbggenerated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_userbusiness
*
* @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_userbusiness
*
* @mbggenerated
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_userbusiness
*
* @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_userbusiness
*
* @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_userbusiness
*
* @mbggenerated
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"Id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"Id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"Id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"Id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"Id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"Id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"Id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"Id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"Id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"Id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"Id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"Id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNull
()
{
addCriterion
(
"Type is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIsNotNull
()
{
addCriterion
(
"Type is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeEqualTo
(
String
value
)
{
addCriterion
(
"Type ="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotEqualTo
(
String
value
)
{
addCriterion
(
"Type <>"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThan
(
String
value
)
{
addCriterion
(
"Type >"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Type >="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThan
(
String
value
)
{
addCriterion
(
"Type <"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Type <="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLike
(
String
value
)
{
addCriterion
(
"Type like"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotLike
(
String
value
)
{
addCriterion
(
"Type not like"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIn
(
List
<
String
>
values
)
{
addCriterion
(
"Type in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Type not in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Type between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Type not between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyidIsNull
()
{
addCriterion
(
"KeyId is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyidIsNotNull
()
{
addCriterion
(
"KeyId is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyidEqualTo
(
String
value
)
{
addCriterion
(
"KeyId ="
,
value
,
"keyid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyidNotEqualTo
(
String
value
)
{
addCriterion
(
"KeyId <>"
,
value
,
"keyid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyidGreaterThan
(
String
value
)
{
addCriterion
(
"KeyId >"
,
value
,
"keyid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyidGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"KeyId >="
,
value
,
"keyid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyidLessThan
(
String
value
)
{
addCriterion
(
"KeyId <"
,
value
,
"keyid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyidLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"KeyId <="
,
value
,
"keyid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyidLike
(
String
value
)
{
addCriterion
(
"KeyId like"
,
value
,
"keyid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyidNotLike
(
String
value
)
{
addCriterion
(
"KeyId not like"
,
value
,
"keyid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyidIn
(
List
<
String
>
values
)
{
addCriterion
(
"KeyId in"
,
values
,
"keyid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyidNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"KeyId not in"
,
values
,
"keyid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyidBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"KeyId between"
,
value1
,
value2
,
"keyid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andKeyidNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"KeyId not between"
,
value1
,
value2
,
"keyid"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueIsNull
()
{
addCriterion
(
"Value is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueIsNotNull
()
{
addCriterion
(
"Value is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueEqualTo
(
String
value
)
{
addCriterion
(
"Value ="
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueNotEqualTo
(
String
value
)
{
addCriterion
(
"Value <>"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueGreaterThan
(
String
value
)
{
addCriterion
(
"Value >"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Value >="
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueLessThan
(
String
value
)
{
addCriterion
(
"Value <"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Value <="
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueLike
(
String
value
)
{
addCriterion
(
"Value like"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueNotLike
(
String
value
)
{
addCriterion
(
"Value not like"
,
value
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueIn
(
List
<
String
>
values
)
{
addCriterion
(
"Value in"
,
values
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Value not in"
,
values
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Value between"
,
value1
,
value2
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andValueNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Value not between"
,
value1
,
value2
,
"value"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBtnstrIsNull
()
{
addCriterion
(
"BtnStr is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBtnstrIsNotNull
()
{
addCriterion
(
"BtnStr is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBtnstrEqualTo
(
String
value
)
{
addCriterion
(
"BtnStr ="
,
value
,
"btnstr"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBtnstrNotEqualTo
(
String
value
)
{
addCriterion
(
"BtnStr <>"
,
value
,
"btnstr"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBtnstrGreaterThan
(
String
value
)
{
addCriterion
(
"BtnStr >"
,
value
,
"btnstr"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBtnstrGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"BtnStr >="
,
value
,
"btnstr"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBtnstrLessThan
(
String
value
)
{
addCriterion
(
"BtnStr <"
,
value
,
"btnstr"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBtnstrLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"BtnStr <="
,
value
,
"btnstr"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBtnstrLike
(
String
value
)
{
addCriterion
(
"BtnStr like"
,
value
,
"btnstr"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBtnstrNotLike
(
String
value
)
{
addCriterion
(
"BtnStr not like"
,
value
,
"btnstr"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBtnstrIn
(
List
<
String
>
values
)
{
addCriterion
(
"BtnStr in"
,
values
,
"btnstr"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBtnstrNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"BtnStr not in"
,
values
,
"btnstr"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBtnstrBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"BtnStr between"
,
value1
,
value2
,
"btnstr"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBtnstrNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"BtnStr not between"
,
value1
,
value2
,
"btnstr"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_userbusiness
*
* @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_userbusiness
*
* @mbggenerated
*/
public
static
class
Criterion
{
private
String
condition
;
private
Object
value
;
private
Object
secondValue
;
private
boolean
noValue
;
private
boolean
singleValue
;
private
boolean
betweenValue
;
private
boolean
listValue
;
private
String
typeHandler
;
public
String
getCondition
()
{
return
condition
;
}
public
Object
getValue
()
{
return
value
;
}
public
Object
getSecondValue
()
{
return
secondValue
;
}
public
boolean
isNoValue
()
{
return
noValue
;
}
public
boolean
isSingleValue
()
{
return
singleValue
;
}
public
boolean
isBetweenValue
()
{
return
betweenValue
;
}
public
boolean
isListValue
()
{
return
listValue
;
}
public
String
getTypeHandler
()
{
return
typeHandler
;
}
protected
Criterion
(
String
condition
)
{
super
();
this
.
condition
=
condition
;
this
.
typeHandler
=
null
;
this
.
noValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
typeHandler
=
typeHandler
;
if
(
value
instanceof
List
<?>)
{
this
.
listValue
=
true
;
}
else
{
this
.
singleValue
=
true
;
}
}
protected
Criterion
(
String
condition
,
Object
value
)
{
this
(
condition
,
value
,
null
);
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
secondValue
=
secondValue
;
this
.
typeHandler
=
typeHandler
;
this
.
betweenValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
)
{
this
(
condition
,
value
,
secondValue
,
null
);
}
}
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/entities/UserExample.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.entities
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
UserExample
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_user
*
* @mbggenerated
*/
protected
String
orderByClause
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_user
*
* @mbggenerated
*/
protected
boolean
distinct
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_user
*
* @mbggenerated
*/
protected
List
<
Criteria
>
oredCriteria
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @mbggenerated
*/
public
UserExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @mbggenerated
*/
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @mbggenerated
*/
public
String
getOrderByClause
()
{
return
orderByClause
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @mbggenerated
*/
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @mbggenerated
*/
public
boolean
isDistinct
()
{
return
distinct
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @mbggenerated
*/
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @mbggenerated
*/
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @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_user
*
* @mbggenerated
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @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_user
*
* @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_user
*
* @mbggenerated
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
Long
value
)
{
addCriterion
(
"id ="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"id <>"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThan
(
Long
value
)
{
addCriterion
(
"id >"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id >="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThan
(
Long
value
)
{
addCriterion
(
"id <"
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"id <="
,
value
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"id not in"
,
values
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"id not between"
,
value1
,
value2
,
"id"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUsernameIsNull
()
{
addCriterion
(
"username is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUsernameIsNotNull
()
{
addCriterion
(
"username is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUsernameEqualTo
(
String
value
)
{
addCriterion
(
"username ="
,
value
,
"username"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUsernameNotEqualTo
(
String
value
)
{
addCriterion
(
"username <>"
,
value
,
"username"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUsernameGreaterThan
(
String
value
)
{
addCriterion
(
"username >"
,
value
,
"username"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUsernameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"username >="
,
value
,
"username"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUsernameLessThan
(
String
value
)
{
addCriterion
(
"username <"
,
value
,
"username"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUsernameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"username <="
,
value
,
"username"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUsernameLike
(
String
value
)
{
addCriterion
(
"username like"
,
value
,
"username"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUsernameNotLike
(
String
value
)
{
addCriterion
(
"username not like"
,
value
,
"username"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUsernameIn
(
List
<
String
>
values
)
{
addCriterion
(
"username in"
,
values
,
"username"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUsernameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"username not in"
,
values
,
"username"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUsernameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"username between"
,
value1
,
value2
,
"username"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUsernameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"username not between"
,
value1
,
value2
,
"username"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLoginameIsNull
()
{
addCriterion
(
"loginame is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLoginameIsNotNull
()
{
addCriterion
(
"loginame is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLoginameEqualTo
(
String
value
)
{
addCriterion
(
"loginame ="
,
value
,
"loginame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLoginameNotEqualTo
(
String
value
)
{
addCriterion
(
"loginame <>"
,
value
,
"loginame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLoginameGreaterThan
(
String
value
)
{
addCriterion
(
"loginame >"
,
value
,
"loginame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLoginameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"loginame >="
,
value
,
"loginame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLoginameLessThan
(
String
value
)
{
addCriterion
(
"loginame <"
,
value
,
"loginame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLoginameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"loginame <="
,
value
,
"loginame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLoginameLike
(
String
value
)
{
addCriterion
(
"loginame like"
,
value
,
"loginame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLoginameNotLike
(
String
value
)
{
addCriterion
(
"loginame not like"
,
value
,
"loginame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLoginameIn
(
List
<
String
>
values
)
{
addCriterion
(
"loginame in"
,
values
,
"loginame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLoginameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"loginame not in"
,
values
,
"loginame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLoginameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"loginame between"
,
value1
,
value2
,
"loginame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLoginameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"loginame not between"
,
value1
,
value2
,
"loginame"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordIsNull
()
{
addCriterion
(
"password is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordIsNotNull
()
{
addCriterion
(
"password is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordEqualTo
(
String
value
)
{
addCriterion
(
"password ="
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordNotEqualTo
(
String
value
)
{
addCriterion
(
"password <>"
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordGreaterThan
(
String
value
)
{
addCriterion
(
"password >"
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"password >="
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordLessThan
(
String
value
)
{
addCriterion
(
"password <"
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"password <="
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordLike
(
String
value
)
{
addCriterion
(
"password like"
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordNotLike
(
String
value
)
{
addCriterion
(
"password not like"
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordIn
(
List
<
String
>
values
)
{
addCriterion
(
"password in"
,
values
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"password not in"
,
values
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"password between"
,
value1
,
value2
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"password not between"
,
value1
,
value2
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionIsNull
()
{
addCriterion
(
"position is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionIsNotNull
()
{
addCriterion
(
"position is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionEqualTo
(
String
value
)
{
addCriterion
(
"position ="
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionNotEqualTo
(
String
value
)
{
addCriterion
(
"position <>"
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionGreaterThan
(
String
value
)
{
addCriterion
(
"position >"
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"position >="
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionLessThan
(
String
value
)
{
addCriterion
(
"position <"
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"position <="
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionLike
(
String
value
)
{
addCriterion
(
"position like"
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionNotLike
(
String
value
)
{
addCriterion
(
"position not like"
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionIn
(
List
<
String
>
values
)
{
addCriterion
(
"position in"
,
values
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"position not in"
,
values
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"position between"
,
value1
,
value2
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"position not between"
,
value1
,
value2
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentIsNull
()
{
addCriterion
(
"department is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentIsNotNull
()
{
addCriterion
(
"department is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentEqualTo
(
String
value
)
{
addCriterion
(
"department ="
,
value
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentNotEqualTo
(
String
value
)
{
addCriterion
(
"department <>"
,
value
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentGreaterThan
(
String
value
)
{
addCriterion
(
"department >"
,
value
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"department >="
,
value
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentLessThan
(
String
value
)
{
addCriterion
(
"department <"
,
value
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"department <="
,
value
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentLike
(
String
value
)
{
addCriterion
(
"department like"
,
value
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentNotLike
(
String
value
)
{
addCriterion
(
"department not like"
,
value
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentIn
(
List
<
String
>
values
)
{
addCriterion
(
"department in"
,
values
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"department not in"
,
values
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"department between"
,
value1
,
value2
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDepartmentNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"department not between"
,
value1
,
value2
,
"department"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailIsNull
()
{
addCriterion
(
"email is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailIsNotNull
()
{
addCriterion
(
"email is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailEqualTo
(
String
value
)
{
addCriterion
(
"email ="
,
value
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailNotEqualTo
(
String
value
)
{
addCriterion
(
"email <>"
,
value
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailGreaterThan
(
String
value
)
{
addCriterion
(
"email >"
,
value
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"email >="
,
value
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailLessThan
(
String
value
)
{
addCriterion
(
"email <"
,
value
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"email <="
,
value
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailLike
(
String
value
)
{
addCriterion
(
"email like"
,
value
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailNotLike
(
String
value
)
{
addCriterion
(
"email not like"
,
value
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailIn
(
List
<
String
>
values
)
{
addCriterion
(
"email in"
,
values
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"email not in"
,
values
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"email between"
,
value1
,
value2
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andEmailNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"email not between"
,
value1
,
value2
,
"email"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumIsNull
()
{
addCriterion
(
"phonenum is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumIsNotNull
()
{
addCriterion
(
"phonenum is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumEqualTo
(
String
value
)
{
addCriterion
(
"phonenum ="
,
value
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumNotEqualTo
(
String
value
)
{
addCriterion
(
"phonenum <>"
,
value
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumGreaterThan
(
String
value
)
{
addCriterion
(
"phonenum >"
,
value
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"phonenum >="
,
value
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumLessThan
(
String
value
)
{
addCriterion
(
"phonenum <"
,
value
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"phonenum <="
,
value
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumLike
(
String
value
)
{
addCriterion
(
"phonenum like"
,
value
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumNotLike
(
String
value
)
{
addCriterion
(
"phonenum not like"
,
value
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumIn
(
List
<
String
>
values
)
{
addCriterion
(
"phonenum in"
,
values
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"phonenum not in"
,
values
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"phonenum between"
,
value1
,
value2
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhonenumNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"phonenum not between"
,
value1
,
value2
,
"phonenum"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsmanagerIsNull
()
{
addCriterion
(
"ismanager is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsmanagerIsNotNull
()
{
addCriterion
(
"ismanager is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsmanagerEqualTo
(
Byte
value
)
{
addCriterion
(
"ismanager ="
,
value
,
"ismanager"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsmanagerNotEqualTo
(
Byte
value
)
{
addCriterion
(
"ismanager <>"
,
value
,
"ismanager"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsmanagerGreaterThan
(
Byte
value
)
{
addCriterion
(
"ismanager >"
,
value
,
"ismanager"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsmanagerGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"ismanager >="
,
value
,
"ismanager"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsmanagerLessThan
(
Byte
value
)
{
addCriterion
(
"ismanager <"
,
value
,
"ismanager"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsmanagerLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"ismanager <="
,
value
,
"ismanager"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsmanagerIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"ismanager in"
,
values
,
"ismanager"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsmanagerNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"ismanager not in"
,
values
,
"ismanager"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsmanagerBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"ismanager between"
,
value1
,
value2
,
"ismanager"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsmanagerNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"ismanager not between"
,
value1
,
value2
,
"ismanager"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemIsNull
()
{
addCriterion
(
"isystem is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemIsNotNull
()
{
addCriterion
(
"isystem is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemEqualTo
(
Byte
value
)
{
addCriterion
(
"isystem ="
,
value
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemNotEqualTo
(
Byte
value
)
{
addCriterion
(
"isystem <>"
,
value
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemGreaterThan
(
Byte
value
)
{
addCriterion
(
"isystem >"
,
value
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"isystem >="
,
value
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemLessThan
(
Byte
value
)
{
addCriterion
(
"isystem <"
,
value
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"isystem <="
,
value
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"isystem in"
,
values
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"isystem not in"
,
values
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"isystem between"
,
value1
,
value2
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsystemNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"isystem not between"
,
value1
,
value2
,
"isystem"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNull
()
{
addCriterion
(
"status is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNotNull
()
{
addCriterion
(
"status is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusEqualTo
(
Byte
value
)
{
addCriterion
(
"status ="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotEqualTo
(
Byte
value
)
{
addCriterion
(
"status <>"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThan
(
Byte
value
)
{
addCriterion
(
"status >"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"status >="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThan
(
Byte
value
)
{
addCriterion
(
"status <"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"status <="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"status in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"status not in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"status between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"status not between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIsNull
()
{
addCriterion
(
"description is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIsNotNull
()
{
addCriterion
(
"description is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionEqualTo
(
String
value
)
{
addCriterion
(
"description ="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotEqualTo
(
String
value
)
{
addCriterion
(
"description <>"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionGreaterThan
(
String
value
)
{
addCriterion
(
"description >"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"description >="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLessThan
(
String
value
)
{
addCriterion
(
"description <"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"description <="
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionLike
(
String
value
)
{
addCriterion
(
"description like"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotLike
(
String
value
)
{
addCriterion
(
"description not like"
,
value
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionIn
(
List
<
String
>
values
)
{
addCriterion
(
"description in"
,
values
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"description not in"
,
values
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"description between"
,
value1
,
value2
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDescriptionNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"description not between"
,
value1
,
value2
,
"description"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNull
()
{
addCriterion
(
"remark is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIsNotNull
()
{
addCriterion
(
"remark is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkEqualTo
(
String
value
)
{
addCriterion
(
"remark ="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotEqualTo
(
String
value
)
{
addCriterion
(
"remark <>"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThan
(
String
value
)
{
addCriterion
(
"remark >"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remark >="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThan
(
String
value
)
{
addCriterion
(
"remark <"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remark <="
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkLike
(
String
value
)
{
addCriterion
(
"remark like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotLike
(
String
value
)
{
addCriterion
(
"remark not like"
,
value
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkIn
(
List
<
String
>
values
)
{
addCriterion
(
"remark in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"remark not in"
,
values
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remark between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remark not between"
,
value1
,
value2
,
"remark"
);
return
(
Criteria
)
this
;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_user
*
* @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_user
*
* @mbggenerated
*/
public
static
class
Criterion
{
private
String
condition
;
private
Object
value
;
private
Object
secondValue
;
private
boolean
noValue
;
private
boolean
singleValue
;
private
boolean
betweenValue
;
private
boolean
listValue
;
private
String
typeHandler
;
public
String
getCondition
()
{
return
condition
;
}
public
Object
getValue
()
{
return
value
;
}
public
Object
getSecondValue
()
{
return
secondValue
;
}
public
boolean
isNoValue
()
{
return
noValue
;
}
public
boolean
isSingleValue
()
{
return
singleValue
;
}
public
boolean
isBetweenValue
()
{
return
betweenValue
;
}
public
boolean
isListValue
()
{
return
listValue
;
}
public
String
getTypeHandler
()
{
return
typeHandler
;
}
protected
Criterion
(
String
condition
)
{
super
();
this
.
condition
=
condition
;
this
.
typeHandler
=
null
;
this
.
noValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
typeHandler
=
typeHandler
;
if
(
value
instanceof
List
<?>)
{
this
.
listValue
=
true
;
}
else
{
this
.
singleValue
=
true
;
}
}
protected
Criterion
(
String
condition
,
Object
value
)
{
this
(
condition
,
value
,
null
);
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
secondValue
=
secondValue
;
this
.
typeHandler
=
typeHandler
;
this
.
betweenValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
)
{
this
(
condition
,
value
,
secondValue
,
null
);
}
}
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/mappers/AccountHeadMapper.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.mappers
;
import
com.jsh.erp.datasource.entities.AccountHead
;
import
com.jsh.erp.datasource.entities.AccountHeadExample
;
import
java.util.List
;
import
com.jsh.erp.datasource.entities.AccountHeadVo4ListEx
;
import
org.apache.ibatis.annotations.Param
;
public
interface
AccountHeadMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accounthead
*
* @mbggenerated
*/
int
countByExample
(
AccountHeadExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accounthead
*
* @mbggenerated
*/
int
deleteByExample
(
AccountHeadExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accounthead
*
* @mbggenerated
*/
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accounthead
*
* @mbggenerated
*/
int
insert
(
AccountHead
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accounthead
*
* @mbggenerated
*/
int
insertSelective
(
AccountHead
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accounthead
*
* @mbggenerated
*/
List
<
AccountHead
>
selectByExample
(
AccountHeadExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accounthead
*
* @mbggenerated
*/
AccountHead
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accounthead
*
* @mbggenerated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
AccountHead
record
,
@Param
(
"example"
)
AccountHeadExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accounthead
*
* @mbggenerated
*/
int
updateByExample
(
@Param
(
"record"
)
AccountHead
record
,
@Param
(
"example"
)
AccountHeadExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accounthead
*
* @mbggenerated
*/
int
updateByPrimaryKeySelective
(
AccountHead
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accounthead
*
* @mbggenerated
*/
int
updateByPrimaryKey
(
AccountHead
record
);
List
<
AccountHeadVo4ListEx
>
selectByConditionAccountHead
(
@Param
(
"type"
)
String
type
,
@Param
(
"billNo"
)
String
billNo
,
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
,
@Param
(
"offset"
)
Integer
offset
,
@Param
(
"rows"
)
Integer
rows
);
int
countsByAccountHead
(
@Param
(
"type"
)
String
type
,
@Param
(
"billNo"
)
String
billNo
,
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
);
Long
getMaxId
();
Double
findAllMoney
(
@Param
(
"supplierId"
)
Integer
supplierId
,
@Param
(
"type"
)
String
type
,
@Param
(
"modeName"
)
String
modeName
,
@Param
(
"endTime"
)
String
endTime
);
List
<
AccountHeadVo4ListEx
>
getDetailByNumber
(
@Param
(
"billNo"
)
String
billNo
);
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/mappers/AccountItemMapper.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.mappers
;
import
com.jsh.erp.datasource.entities.AccountItem
;
import
com.jsh.erp.datasource.entities.AccountItemExample
;
import
java.util.List
;
import
com.jsh.erp.datasource.vo.AccountItemVo4List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
AccountItemMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accountitem
*
* @mbggenerated
*/
int
countByExample
(
AccountItemExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accountitem
*
* @mbggenerated
*/
int
deleteByExample
(
AccountItemExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accountitem
*
* @mbggenerated
*/
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accountitem
*
* @mbggenerated
*/
int
insert
(
AccountItem
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accountitem
*
* @mbggenerated
*/
int
insertSelective
(
AccountItem
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accountitem
*
* @mbggenerated
*/
List
<
AccountItem
>
selectByExample
(
AccountItemExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accountitem
*
* @mbggenerated
*/
AccountItem
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accountitem
*
* @mbggenerated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
AccountItem
record
,
@Param
(
"example"
)
AccountItemExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accountitem
*
* @mbggenerated
*/
int
updateByExample
(
@Param
(
"record"
)
AccountItem
record
,
@Param
(
"example"
)
AccountItemExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accountitem
*
* @mbggenerated
*/
int
updateByPrimaryKeySelective
(
AccountItem
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_accountitem
*
* @mbggenerated
*/
int
updateByPrimaryKey
(
AccountItem
record
);
List
<
AccountItem
>
selectByConditionAccountItem
(
@Param
(
"name"
)
String
name
,
@Param
(
"type"
)
Integer
type
,
@Param
(
"remark"
)
String
remark
,
@Param
(
"offset"
)
Integer
offset
,
@Param
(
"rows"
)
Integer
rows
);
int
countsByAccountItem
(
@Param
(
"name"
)
String
name
,
@Param
(
"type"
)
Integer
type
,
@Param
(
"remark"
)
String
remark
);
List
<
AccountItemVo4List
>
getDetailList
(
@Param
(
"headerId"
)
Long
headerId
);
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/mappers/AccountMapper.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.mappers
;
import
com.jsh.erp.datasource.entities.Account
;
import
com.jsh.erp.datasource.entities.AccountExample
;
import
java.util.List
;
import
com.jsh.erp.datasource.vo.AccountVo4InOutList
;
import
com.jsh.erp.datasource.vo.AccountVo4List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
AccountMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
int
countByExample
(
AccountExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
int
deleteByExample
(
AccountExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
int
insert
(
Account
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
int
insertSelective
(
Account
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
List
<
Account
>
selectByExample
(
AccountExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
Account
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
Account
record
,
@Param
(
"example"
)
AccountExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
int
updateByExample
(
@Param
(
"record"
)
Account
record
,
@Param
(
"example"
)
AccountExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
int
updateByPrimaryKeySelective
(
Account
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_account
*
* @mbggenerated
*/
int
updateByPrimaryKey
(
Account
record
);
List
<
AccountVo4List
>
selectByConditionAccount
(
@Param
(
"name"
)
String
name
,
@Param
(
"serialNo"
)
String
serialNo
,
@Param
(
"remark"
)
String
remark
,
@Param
(
"offset"
)
Integer
offset
,
@Param
(
"rows"
)
Integer
rows
);
int
countsByAccount
(
@Param
(
"name"
)
String
name
,
@Param
(
"serialNo"
)
String
serialNo
,
@Param
(
"remark"
)
String
remark
);
List
<
AccountVo4InOutList
>
findAccountInOutList
(
@Param
(
"accountId"
)
Long
accountId
,
@Param
(
"offset"
)
Integer
offset
,
@Param
(
"rows"
)
Integer
rows
);
int
findAccountInOutListCount
(
@Param
(
"accountId"
)
Long
accountId
);
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/mappers/AppMapper.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.mappers
;
import
com.jsh.erp.datasource.entities.App
;
import
com.jsh.erp.datasource.entities.AppExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
AppMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
int
countByExample
(
AppExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
int
deleteByExample
(
AppExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
int
insert
(
App
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
int
insertSelective
(
App
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
List
<
App
>
selectByExample
(
AppExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
App
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
App
record
,
@Param
(
"example"
)
AppExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
int
updateByExample
(
@Param
(
"record"
)
App
record
,
@Param
(
"example"
)
AppExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
int
updateByPrimaryKeySelective
(
App
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_app
*
* @mbggenerated
*/
int
updateByPrimaryKey
(
App
record
);
List
<
App
>
selectByConditionApp
(
@Param
(
"name"
)
String
name
,
@Param
(
"type"
)
String
type
,
@Param
(
"offset"
)
Integer
offset
,
@Param
(
"rows"
)
Integer
rows
);
int
countsByApp
(
@Param
(
"name"
)
String
name
,
@Param
(
"type"
)
String
type
);
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/mappers/AssetCategoryMapper.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.mappers
;
import
com.jsh.erp.datasource.entities.AssetCategory
;
import
com.jsh.erp.datasource.entities.AssetCategoryExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
AssetCategoryMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetcategory
*
* @mbggenerated
*/
int
countByExample
(
AssetCategoryExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetcategory
*
* @mbggenerated
*/
int
deleteByExample
(
AssetCategoryExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetcategory
*
* @mbggenerated
*/
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetcategory
*
* @mbggenerated
*/
int
insert
(
AssetCategory
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetcategory
*
* @mbggenerated
*/
int
insertSelective
(
AssetCategory
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetcategory
*
* @mbggenerated
*/
List
<
AssetCategory
>
selectByExample
(
AssetCategoryExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetcategory
*
* @mbggenerated
*/
AssetCategory
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetcategory
*
* @mbggenerated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
AssetCategory
record
,
@Param
(
"example"
)
AssetCategoryExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetcategory
*
* @mbggenerated
*/
int
updateByExample
(
@Param
(
"record"
)
AssetCategory
record
,
@Param
(
"example"
)
AssetCategoryExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetcategory
*
* @mbggenerated
*/
int
updateByPrimaryKeySelective
(
AssetCategory
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetcategory
*
* @mbggenerated
*/
int
updateByPrimaryKey
(
AssetCategory
record
);
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/mappers/AssetMapper.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.mappers
;
import
com.jsh.erp.datasource.entities.Asset
;
import
com.jsh.erp.datasource.entities.AssetExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
AssetMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_asset
*
* @mbggenerated
*/
int
countByExample
(
AssetExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_asset
*
* @mbggenerated
*/
int
deleteByExample
(
AssetExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_asset
*
* @mbggenerated
*/
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_asset
*
* @mbggenerated
*/
int
insert
(
Asset
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_asset
*
* @mbggenerated
*/
int
insertSelective
(
Asset
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_asset
*
* @mbggenerated
*/
List
<
Asset
>
selectByExampleWithBLOBs
(
AssetExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_asset
*
* @mbggenerated
*/
List
<
Asset
>
selectByExample
(
AssetExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_asset
*
* @mbggenerated
*/
Asset
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_asset
*
* @mbggenerated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
Asset
record
,
@Param
(
"example"
)
AssetExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_asset
*
* @mbggenerated
*/
int
updateByExampleWithBLOBs
(
@Param
(
"record"
)
Asset
record
,
@Param
(
"example"
)
AssetExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_asset
*
* @mbggenerated
*/
int
updateByExample
(
@Param
(
"record"
)
Asset
record
,
@Param
(
"example"
)
AssetExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_asset
*
* @mbggenerated
*/
int
updateByPrimaryKeySelective
(
Asset
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_asset
*
* @mbggenerated
*/
int
updateByPrimaryKeyWithBLOBs
(
Asset
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_asset
*
* @mbggenerated
*/
int
updateByPrimaryKey
(
Asset
record
);
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/mappers/AssetNameMapper.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.mappers
;
import
com.jsh.erp.datasource.entities.AssetName
;
import
com.jsh.erp.datasource.entities.AssetNameExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
AssetNameMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetname
*
* @mbggenerated
*/
int
countByExample
(
AssetNameExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetname
*
* @mbggenerated
*/
int
deleteByExample
(
AssetNameExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetname
*
* @mbggenerated
*/
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetname
*
* @mbggenerated
*/
int
insert
(
AssetName
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetname
*
* @mbggenerated
*/
int
insertSelective
(
AssetName
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetname
*
* @mbggenerated
*/
List
<
AssetName
>
selectByExampleWithBLOBs
(
AssetNameExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetname
*
* @mbggenerated
*/
List
<
AssetName
>
selectByExample
(
AssetNameExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetname
*
* @mbggenerated
*/
AssetName
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetname
*
* @mbggenerated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
AssetName
record
,
@Param
(
"example"
)
AssetNameExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetname
*
* @mbggenerated
*/
int
updateByExampleWithBLOBs
(
@Param
(
"record"
)
AssetName
record
,
@Param
(
"example"
)
AssetNameExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetname
*
* @mbggenerated
*/
int
updateByExample
(
@Param
(
"record"
)
AssetName
record
,
@Param
(
"example"
)
AssetNameExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetname
*
* @mbggenerated
*/
int
updateByPrimaryKeySelective
(
AssetName
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetname
*
* @mbggenerated
*/
int
updateByPrimaryKeyWithBLOBs
(
AssetName
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_assetname
*
* @mbggenerated
*/
int
updateByPrimaryKey
(
AssetName
record
);
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/mappers/DepotHeadMapper.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.mappers
;
import
com.jsh.erp.datasource.entities.DepotHead
;
import
com.jsh.erp.datasource.entities.DepotHeadExample
;
import
java.util.List
;
import
com.jsh.erp.datasource.vo.DepotHeadVo4InDetail
;
import
com.jsh.erp.datasource.vo.DepotHeadVo4InOutMCount
;
import
com.jsh.erp.datasource.vo.DepotHeadVo4List
;
import
com.jsh.erp.datasource.vo.DepotHeadVo4StatementAccount
;
import
org.apache.ibatis.annotations.Param
;
public
interface
DepotHeadMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
int
countByExample
(
DepotHeadExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
int
deleteByExample
(
DepotHeadExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
int
insert
(
DepotHead
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
int
insertSelective
(
DepotHead
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
List
<
DepotHead
>
selectByExample
(
DepotHeadExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
DepotHead
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
DepotHead
record
,
@Param
(
"example"
)
DepotHeadExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
int
updateByExample
(
@Param
(
"record"
)
DepotHead
record
,
@Param
(
"example"
)
DepotHeadExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
int
updateByPrimaryKeySelective
(
DepotHead
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
int
updateByPrimaryKey
(
DepotHead
record
);
List
<
DepotHeadVo4List
>
selectByConditionDepotHead
(
@Param
(
"type"
)
String
type
,
@Param
(
"subType"
)
String
subType
,
@Param
(
"number"
)
String
number
,
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
,
@Param
(
"dhIds"
)
String
dhIds
,
@Param
(
"offset"
)
Integer
offset
,
@Param
(
"rows"
)
Integer
rows
);
int
countsByDepotHead
(
@Param
(
"type"
)
String
type
,
@Param
(
"subType"
)
String
subType
,
@Param
(
"number"
)
String
number
,
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
,
@Param
(
"dhIds"
)
String
dhIds
);
Long
getMaxId
();
String
findMaterialsListByHeaderId
(
@Param
(
"id"
)
Long
id
);
List
<
DepotHeadVo4InDetail
>
findByAll
(
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
,
@Param
(
"type"
)
String
type
,
@Param
(
"pid"
)
Integer
pid
,
@Param
(
"dids"
)
String
dids
,
@Param
(
"oId"
)
Integer
oId
,
@Param
(
"offset"
)
Integer
offset
,
@Param
(
"rows"
)
Integer
rows
);
int
findByAllCount
(
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
,
@Param
(
"type"
)
String
type
,
@Param
(
"pid"
)
Integer
pid
,
@Param
(
"dids"
)
String
dids
,
@Param
(
"oId"
)
Integer
oId
);
List
<
DepotHeadVo4InOutMCount
>
findInOutMaterialCount
(
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
,
@Param
(
"type"
)
String
type
,
@Param
(
"pid"
)
Integer
pid
,
@Param
(
"dids"
)
String
dids
,
@Param
(
"oId"
)
Integer
oId
,
@Param
(
"offset"
)
Integer
offset
,
@Param
(
"rows"
)
Integer
rows
);
int
findInOutMaterialCountTotal
(
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
,
@Param
(
"type"
)
String
type
,
@Param
(
"pid"
)
Integer
pid
,
@Param
(
"dids"
)
String
dids
,
@Param
(
"oId"
)
Integer
oId
);
List
<
DepotHeadVo4StatementAccount
>
findStatementAccount
(
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
,
@Param
(
"organId"
)
Integer
organId
,
@Param
(
"supType"
)
String
supType
,
@Param
(
"offset"
)
Integer
offset
,
@Param
(
"rows"
)
Integer
rows
);
int
findStatementAccountCount
(
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
,
@Param
(
"organId"
)
Integer
organId
,
@Param
(
"supType"
)
String
supType
);
Double
findAllMoney
(
@Param
(
"supplierId"
)
Integer
supplierId
,
@Param
(
"type"
)
String
type
,
@Param
(
"subType"
)
String
subType
,
@Param
(
"modeName"
)
String
modeName
,
@Param
(
"endTime"
)
String
endTime
);
List
<
DepotHeadVo4List
>
getDetailByNumber
(
@Param
(
"number"
)
String
number
);
}
\ No newline at end of file
src/main/java/com/jsh/erp/datasource/mappers/DepotItemMapper.java
0 → 100644
View file @
5cc26a22
package
com.jsh.erp.datasource.mappers
;
import
com.jsh.erp.datasource.entities.*
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
DepotItemMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depotitem
*
* @mbggenerated
*/
int
countByExample
(
DepotItemExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depotitem
*
* @mbggenerated
*/
int
deleteByExample
(
DepotItemExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depotitem
*
* @mbggenerated
*/
int
deleteByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depotitem
*
* @mbggenerated
*/
int
insert
(
DepotItem
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depotitem
*
* @mbggenerated
*/
int
insertSelective
(
DepotItem
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depotitem
*
* @mbggenerated
*/
List
<
DepotItem
>
selectByExample
(
DepotItemExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depotitem
*
* @mbggenerated
*/
DepotItem
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depotitem
*
* @mbggenerated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
DepotItem
record
,
@Param
(
"example"
)
DepotItemExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depotitem
*
* @mbggenerated
*/
int
updateByExample
(
@Param
(
"record"
)
DepotItem
record
,
@Param
(
"example"
)
DepotItemExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depotitem
*
* @mbggenerated
*/
int
updateByPrimaryKeySelective
(
DepotItem
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depotitem
*
* @mbggenerated
*/
int
updateByPrimaryKey
(
DepotItem
record
);
List
<
DepotItem
>
selectByConditionDepotItem
(
@Param
(
"name"
)
String
name
,
@Param
(
"type"
)
Integer
type
,
@Param
(
"remark"
)
String
remark
,
@Param
(
"offset"
)
Integer
offset
,
@Param
(
"rows"
)
Integer
rows
);
int
countsByDepotItem
(
@Param
(
"name"
)
String
name
,
@Param
(
"type"
)
Integer
type
,
@Param
(
"remark"
)
String
remark
);
List
<
DepotItemVo4HeaderId
>
getHeaderIdByMaterial
(
@Param
(
"materialParam"
)
String
materialParam
,
@Param
(
"depotIds"
)
String
depotIds
);
List
<
DepotItemVo4DetailByTypeAndMId
>
findDetailByTypeAndMaterialIdList
(
@Param
(
"mId"
)
Long
mId
,
@Param
(
"offset"
)
Integer
offset
,
@Param
(
"rows"
)
Integer
rows
);
int
findDetailByTypeAndMaterialIdCounts
(
@Param
(
"mId"
)
Long
mId
);
List
<
DepotItemVo4Material
>
findStockNumByMaterialIdList
(
@Param
(
"mId"
)
Long
mId
,
@Param
(
"monthTime"
)
String
monthTime
,
@Param
(
"offset"
)
Integer
offset
,
@Param
(
"rows"
)
Integer
rows
);
int
findStockNumByMaterialIdCounts
(
@Param
(
"mId"
)
Long
mId
,
@Param
(
"monthTime"
)
String
monthTime
);
int
findByTypeAndMaterialIdIn
(
@Param
(
"mId"
)
Long
mId
);
int
findByTypeAndMaterialIdOut
(
@Param
(
"mId"
)
Long
mId
);
List
<
DepotItemVo4WithInfoEx
>
getDetailList
(
@Param
(
"headerId"
)
Long
headerId
);
List
<
DepotItemVo4WithInfoEx
>
findByAll
(
@Param
(
"headIds"
)
String
headIds
,
@Param
(
"materialIds"
)
String
materialIds
,
@Param
(
"offset"
)
Integer
offset
,
@Param
(
"rows"
)
Integer
rows
);
int
findByAllCount
(
@Param
(
"headIds"
)
String
headIds
,
@Param
(
"materialIds"
)
String
materialIds
);
Double
findByTypeInIsPrev
(
@Param
(
"ProjectId"
)
Integer
ProjectId
,
@Param
(
"MId"
)
Long
MId
,
@Param
(
"MonthTime"
)
String
MonthTime
);
Double
findByTypeInIsNotPrev
(
@Param
(
"ProjectId"
)
Integer
ProjectId
,
@Param
(
"MId"
)
Long
MId
,
@Param
(
"MonthTime"
)
String
MonthTime
);
Double
findByTypeOutIsPrev
(
@Param
(
"ProjectId"
)
Integer
ProjectId
,
@Param
(
"MId"
)
Long
MId
,
@Param
(
"MonthTime"
)
String
MonthTime
);
Double
findByTypeOutIsNotPrev
(
@Param
(
"ProjectId"
)
Integer
ProjectId
,
@Param
(
"MId"
)
Long
MId
,
@Param
(
"MonthTime"
)
String
MonthTime
);
Double
findPriceByTypeInIsPrev
(
@Param
(
"ProjectId"
)
Integer
ProjectId
,
@Param
(
"MId"
)
Long
MId
,
@Param
(
"MonthTime"
)
String
MonthTime
);
Double
findPriceByTypeInIsNotPrev
(
@Param
(
"ProjectId"
)
Integer
ProjectId
,
@Param
(
"MId"
)
Long
MId
,
@Param
(
"MonthTime"
)
String
MonthTime
);
Double
findPriceByTypeOutIsPrev
(
@Param
(
"ProjectId"
)
Integer
ProjectId
,
@Param
(
"MId"
)
Long
MId
,
@Param
(
"MonthTime"
)
String
MonthTime
);
Double
findPriceByTypeOutIsNotPrev
(
@Param
(
"ProjectId"
)
Integer
ProjectId
,
@Param
(
"MId"
)
Long
MId
,
@Param
(
"MonthTime"
)
String
MonthTime
);
Double
buyOrSaleNumber
(
@Param
(
"type"
)
String
type
,
@Param
(
"subType"
)
String
subType
,
@Param
(
"MId"
)
Long
MId
,
@Param
(
"MonthTime"
)
String
MonthTime
,
@Param
(
"sumType"
)
String
sumType
);
Double
buyOrSalePrice
(
@Param
(
"type"
)
String
type
,
@Param
(
"subType"
)
String
subType
,
@Param
(
"MId"
)
Long
MId
,
@Param
(
"MonthTime"
)
String
MonthTime
,
@Param
(
"sumType"
)
String
sumType
);
Double
findGiftByTypeIn
(
@Param
(
"subType"
)
String
subType
,
@Param
(
"ProjectId"
)
Integer
ProjectId
,
@Param
(
"MId"
)
Long
MId
);
Double
findGiftByTypeOut
(
@Param
(
"subType"
)
String
subType
,
@Param
(
"ProjectId"
)
Integer
ProjectId
,
@Param
(
"MId"
)
Long
MId
);
}
\ No newline at end of file
Prev
1
…
4
5
6
7
8
9
10
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