Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fileServe
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vanke
fileServe
Commits
559c5e83
Commit
559c5e83
authored
Jun 10, 2020
by
XiaHou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权星商品相关接口
parent
e42ffb16
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
2650 additions
and
0 deletions
+2650
-0
PmsSupplierAuditMapper.java
...in/java/com/macro/mall/mapper/PmsSupplierAuditMapper.java
+31
-0
PmsSupplierAuditProductMapper.java
.../com/macro/mall/mapper/PmsSupplierAuditProductMapper.java
+31
-0
PmsSupplierAudit.java
.../src/main/java/com/macro/mall/model/PmsSupplierAudit.java
+196
-0
PmsSupplierAuditExample.java
...in/java/com/macro/mall/model/PmsSupplierAuditExample.java
+1132
-0
PmsSupplierAuditProduct.java
...in/java/com/macro/mall/model/PmsSupplierAuditProduct.java
+97
-0
PmsSupplierAuditProductExample.java
.../com/macro/mall/model/PmsSupplierAuditProductExample.java
+582
-0
PmsSupplierAuditMapper.xml
...esources/com/macro/mall/mapper/PmsSupplierAuditMapper.xml
+354
-0
PmsSupplierAuditProductMapper.xml
...s/com/macro/mall/mapper/PmsSupplierAuditProductMapper.xml
+227
-0
No files found.
mall-mbg/src/main/java/com/macro/mall/mapper/PmsSupplierAuditMapper.java
0 → 100644
View file @
559c5e83
package
com
.
macro
.
mall
.
mapper
;
import
com.macro.mall.model.PmsSupplierAudit
;
import
com.macro.mall.model.PmsSupplierAuditExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
PmsSupplierAuditMapper
{
long
countByExample
(
PmsSupplierAuditExample
example
);
int
deleteByExample
(
PmsSupplierAuditExample
example
);
int
deleteByPrimaryKey
(
Long
id
);
int
insert
(
PmsSupplierAudit
record
);
int
insertSelective
(
PmsSupplierAudit
record
);
List
<
PmsSupplierAudit
>
selectByExample
(
PmsSupplierAuditExample
example
);
PmsSupplierAudit
selectByPrimaryKey
(
Long
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
PmsSupplierAudit
record
,
@Param
(
"example"
)
PmsSupplierAuditExample
example
);
int
updateByExample
(
@Param
(
"record"
)
PmsSupplierAudit
record
,
@Param
(
"example"
)
PmsSupplierAuditExample
example
);
int
updateByPrimaryKeySelective
(
PmsSupplierAudit
record
);
int
updateByPrimaryKey
(
PmsSupplierAudit
record
);
}
\ No newline at end of file
mall-mbg/src/main/java/com/macro/mall/mapper/PmsSupplierAuditProductMapper.java
0 → 100644
View file @
559c5e83
package
com
.
macro
.
mall
.
mapper
;
import
com.macro.mall.model.PmsSupplierAuditProduct
;
import
com.macro.mall.model.PmsSupplierAuditProductExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
PmsSupplierAuditProductMapper
{
long
countByExample
(
PmsSupplierAuditProductExample
example
);
int
deleteByExample
(
PmsSupplierAuditProductExample
example
);
int
deleteByPrimaryKey
(
Long
id
);
int
insert
(
PmsSupplierAuditProduct
record
);
int
insertSelective
(
PmsSupplierAuditProduct
record
);
List
<
PmsSupplierAuditProduct
>
selectByExample
(
PmsSupplierAuditProductExample
example
);
PmsSupplierAuditProduct
selectByPrimaryKey
(
Long
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
PmsSupplierAuditProduct
record
,
@Param
(
"example"
)
PmsSupplierAuditProductExample
example
);
int
updateByExample
(
@Param
(
"record"
)
PmsSupplierAuditProduct
record
,
@Param
(
"example"
)
PmsSupplierAuditProductExample
example
);
int
updateByPrimaryKeySelective
(
PmsSupplierAuditProduct
record
);
int
updateByPrimaryKey
(
PmsSupplierAuditProduct
record
);
}
\ No newline at end of file
mall-mbg/src/main/java/com/macro/mall/model/PmsSupplierAudit.java
0 → 100644
View file @
559c5e83
package
com
.
macro
.
mall
.
model
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.io.Serializable
;
import
java.util.Date
;
import
javax.persistence.*
;
import
org.springframework.format.annotation.DateTimeFormat
;
@Entity
public
class
PmsSupplierAudit
implements
Serializable
{
@ApiModelProperty
(
value
=
"id"
)
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
Long
id
;
@ApiModelProperty
(
value
=
"品牌名称"
)
private
String
brandName
;
@ApiModelProperty
(
value
=
"公司名称"
)
private
String
companyName
;
@ApiModelProperty
(
value
=
"经营许可证"
)
private
String
businessLicense
;
@ApiModelProperty
(
value
=
"营业执照"
)
private
String
business
;
@ApiModelProperty
(
value
=
"注册商标"
)
private
String
trademark
;
@ApiModelProperty
(
value
=
"其他材料"
)
private
String
otherMaterials
;
@ApiModelProperty
(
value
=
"电话"
)
private
String
phone
;
@ApiModelProperty
(
value
=
"密码"
)
private
String
password
;
@ApiModelProperty
(
value
=
"审核状态 0待审核 1审核通过 2审核不通过"
)
private
Integer
status
;
@ApiModelProperty
(
value
=
"备注"
)
private
String
remarks
;
@ApiModelProperty
(
value
=
"删除标识0 未删除 1已删除"
)
private
Integer
deleteStatus
;
@ApiModelProperty
(
value
=
"创建时间"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
createtime
;
@ApiModelProperty
(
value
=
"更新时间"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
updatetime
;
private
static
final
long
serialVersionUID
=
1L
;
public
Long
getId
()
{
return
id
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
String
getBrandName
()
{
return
brandName
;
}
public
void
setBrandName
(
String
brandName
)
{
this
.
brandName
=
brandName
;
}
public
String
getCompanyName
()
{
return
companyName
;
}
public
void
setCompanyName
(
String
companyName
)
{
this
.
companyName
=
companyName
;
}
public
String
getBusinessLicense
()
{
return
businessLicense
;
}
public
void
setBusinessLicense
(
String
businessLicense
)
{
this
.
businessLicense
=
businessLicense
;
}
public
String
getBusiness
()
{
return
business
;
}
public
void
setBusiness
(
String
business
)
{
this
.
business
=
business
;
}
public
String
getTrademark
()
{
return
trademark
;
}
public
void
setTrademark
(
String
trademark
)
{
this
.
trademark
=
trademark
;
}
public
String
getOtherMaterials
()
{
return
otherMaterials
;
}
public
void
setOtherMaterials
(
String
otherMaterials
)
{
this
.
otherMaterials
=
otherMaterials
;
}
public
String
getPhone
()
{
return
phone
;
}
public
void
setPhone
(
String
phone
)
{
this
.
phone
=
phone
;
}
public
String
getPassword
()
{
return
password
;
}
public
void
setPassword
(
String
password
)
{
this
.
password
=
password
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
void
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
}
public
String
getRemarks
()
{
return
remarks
;
}
public
void
setRemarks
(
String
remarks
)
{
this
.
remarks
=
remarks
;
}
public
Integer
getDeleteStatus
()
{
return
deleteStatus
;
}
public
void
setDeleteStatus
(
Integer
deleteStatus
)
{
this
.
deleteStatus
=
deleteStatus
;
}
public
Date
getCreatetime
()
{
return
createtime
;
}
public
void
setCreatetime
(
Date
createtime
)
{
this
.
createtime
=
createtime
;
}
public
Date
getUpdatetime
()
{
return
updatetime
;
}
public
void
setUpdatetime
(
Date
updatetime
)
{
this
.
updatetime
=
updatetime
;
}
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
getClass
().
getSimpleName
());
sb
.
append
(
" ["
);
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", id="
).
append
(
id
);
sb
.
append
(
", brandName="
).
append
(
brandName
);
sb
.
append
(
", companyName="
).
append
(
companyName
);
sb
.
append
(
", businessLicense="
).
append
(
businessLicense
);
sb
.
append
(
", business="
).
append
(
business
);
sb
.
append
(
", trademark="
).
append
(
trademark
);
sb
.
append
(
", otherMaterials="
).
append
(
otherMaterials
);
sb
.
append
(
", phone="
).
append
(
phone
);
sb
.
append
(
", password="
).
append
(
password
);
sb
.
append
(
", status="
).
append
(
status
);
sb
.
append
(
", remarks="
).
append
(
remarks
);
sb
.
append
(
", deleteStatus="
).
append
(
deleteStatus
);
sb
.
append
(
", createtime="
).
append
(
createtime
);
sb
.
append
(
", updatetime="
).
append
(
updatetime
);
sb
.
append
(
", serialVersionUID="
).
append
(
serialVersionUID
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
mall-mbg/src/main/java/com/macro/mall/model/PmsSupplierAuditExample.java
0 → 100644
View file @
559c5e83
package
com
.
macro
.
mall
.
model
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
public
class
PmsSupplierAuditExample
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
PmsSupplierAuditExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
public
String
getOrderByClause
()
{
return
orderByClause
;
}
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
public
boolean
isDistinct
()
{
return
distinct
;
}
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
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
andBrandNameIsNull
()
{
addCriterion
(
"brand_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBrandNameIsNotNull
()
{
addCriterion
(
"brand_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBrandNameEqualTo
(
String
value
)
{
addCriterion
(
"brand_name ="
,
value
,
"brandName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBrandNameNotEqualTo
(
String
value
)
{
addCriterion
(
"brand_name <>"
,
value
,
"brandName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBrandNameGreaterThan
(
String
value
)
{
addCriterion
(
"brand_name >"
,
value
,
"brandName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBrandNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"brand_name >="
,
value
,
"brandName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBrandNameLessThan
(
String
value
)
{
addCriterion
(
"brand_name <"
,
value
,
"brandName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBrandNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"brand_name <="
,
value
,
"brandName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBrandNameLike
(
String
value
)
{
addCriterion
(
"brand_name like"
,
value
,
"brandName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBrandNameNotLike
(
String
value
)
{
addCriterion
(
"brand_name not like"
,
value
,
"brandName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBrandNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"brand_name in"
,
values
,
"brandName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBrandNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"brand_name not in"
,
values
,
"brandName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBrandNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"brand_name between"
,
value1
,
value2
,
"brandName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBrandNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"brand_name not between"
,
value1
,
value2
,
"brandName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompanyNameIsNull
()
{
addCriterion
(
"company_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompanyNameIsNotNull
()
{
addCriterion
(
"company_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompanyNameEqualTo
(
String
value
)
{
addCriterion
(
"company_name ="
,
value
,
"companyName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompanyNameNotEqualTo
(
String
value
)
{
addCriterion
(
"company_name <>"
,
value
,
"companyName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompanyNameGreaterThan
(
String
value
)
{
addCriterion
(
"company_name >"
,
value
,
"companyName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompanyNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"company_name >="
,
value
,
"companyName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompanyNameLessThan
(
String
value
)
{
addCriterion
(
"company_name <"
,
value
,
"companyName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompanyNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"company_name <="
,
value
,
"companyName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompanyNameLike
(
String
value
)
{
addCriterion
(
"company_name like"
,
value
,
"companyName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompanyNameNotLike
(
String
value
)
{
addCriterion
(
"company_name not like"
,
value
,
"companyName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompanyNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"company_name in"
,
values
,
"companyName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompanyNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"company_name not in"
,
values
,
"companyName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompanyNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"company_name between"
,
value1
,
value2
,
"companyName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCompanyNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"company_name not between"
,
value1
,
value2
,
"companyName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessLicenseIsNull
()
{
addCriterion
(
"business_license is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessLicenseIsNotNull
()
{
addCriterion
(
"business_license is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessLicenseEqualTo
(
String
value
)
{
addCriterion
(
"business_license ="
,
value
,
"businessLicense"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessLicenseNotEqualTo
(
String
value
)
{
addCriterion
(
"business_license <>"
,
value
,
"businessLicense"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessLicenseGreaterThan
(
String
value
)
{
addCriterion
(
"business_license >"
,
value
,
"businessLicense"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessLicenseGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"business_license >="
,
value
,
"businessLicense"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessLicenseLessThan
(
String
value
)
{
addCriterion
(
"business_license <"
,
value
,
"businessLicense"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessLicenseLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"business_license <="
,
value
,
"businessLicense"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessLicenseLike
(
String
value
)
{
addCriterion
(
"business_license like"
,
value
,
"businessLicense"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessLicenseNotLike
(
String
value
)
{
addCriterion
(
"business_license not like"
,
value
,
"businessLicense"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessLicenseIn
(
List
<
String
>
values
)
{
addCriterion
(
"business_license in"
,
values
,
"businessLicense"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessLicenseNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"business_license not in"
,
values
,
"businessLicense"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessLicenseBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"business_license between"
,
value1
,
value2
,
"businessLicense"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessLicenseNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"business_license not between"
,
value1
,
value2
,
"businessLicense"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessIsNull
()
{
addCriterion
(
"business is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessIsNotNull
()
{
addCriterion
(
"business is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessEqualTo
(
String
value
)
{
addCriterion
(
"business ="
,
value
,
"business"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessNotEqualTo
(
String
value
)
{
addCriterion
(
"business <>"
,
value
,
"business"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessGreaterThan
(
String
value
)
{
addCriterion
(
"business >"
,
value
,
"business"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"business >="
,
value
,
"business"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessLessThan
(
String
value
)
{
addCriterion
(
"business <"
,
value
,
"business"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"business <="
,
value
,
"business"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessLike
(
String
value
)
{
addCriterion
(
"business like"
,
value
,
"business"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessNotLike
(
String
value
)
{
addCriterion
(
"business not like"
,
value
,
"business"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessIn
(
List
<
String
>
values
)
{
addCriterion
(
"business in"
,
values
,
"business"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"business not in"
,
values
,
"business"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"business between"
,
value1
,
value2
,
"business"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBusinessNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"business not between"
,
value1
,
value2
,
"business"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTrademarkIsNull
()
{
addCriterion
(
"trademark is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTrademarkIsNotNull
()
{
addCriterion
(
"trademark is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTrademarkEqualTo
(
String
value
)
{
addCriterion
(
"trademark ="
,
value
,
"trademark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTrademarkNotEqualTo
(
String
value
)
{
addCriterion
(
"trademark <>"
,
value
,
"trademark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTrademarkGreaterThan
(
String
value
)
{
addCriterion
(
"trademark >"
,
value
,
"trademark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTrademarkGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"trademark >="
,
value
,
"trademark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTrademarkLessThan
(
String
value
)
{
addCriterion
(
"trademark <"
,
value
,
"trademark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTrademarkLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"trademark <="
,
value
,
"trademark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTrademarkLike
(
String
value
)
{
addCriterion
(
"trademark like"
,
value
,
"trademark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTrademarkNotLike
(
String
value
)
{
addCriterion
(
"trademark not like"
,
value
,
"trademark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTrademarkIn
(
List
<
String
>
values
)
{
addCriterion
(
"trademark in"
,
values
,
"trademark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTrademarkNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"trademark not in"
,
values
,
"trademark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTrademarkBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"trademark between"
,
value1
,
value2
,
"trademark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTrademarkNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"trademark not between"
,
value1
,
value2
,
"trademark"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOtherMaterialsIsNull
()
{
addCriterion
(
"other_materials is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOtherMaterialsIsNotNull
()
{
addCriterion
(
"other_materials is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOtherMaterialsEqualTo
(
String
value
)
{
addCriterion
(
"other_materials ="
,
value
,
"otherMaterials"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOtherMaterialsNotEqualTo
(
String
value
)
{
addCriterion
(
"other_materials <>"
,
value
,
"otherMaterials"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOtherMaterialsGreaterThan
(
String
value
)
{
addCriterion
(
"other_materials >"
,
value
,
"otherMaterials"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOtherMaterialsGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"other_materials >="
,
value
,
"otherMaterials"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOtherMaterialsLessThan
(
String
value
)
{
addCriterion
(
"other_materials <"
,
value
,
"otherMaterials"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOtherMaterialsLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"other_materials <="
,
value
,
"otherMaterials"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOtherMaterialsLike
(
String
value
)
{
addCriterion
(
"other_materials like"
,
value
,
"otherMaterials"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOtherMaterialsNotLike
(
String
value
)
{
addCriterion
(
"other_materials not like"
,
value
,
"otherMaterials"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOtherMaterialsIn
(
List
<
String
>
values
)
{
addCriterion
(
"other_materials in"
,
values
,
"otherMaterials"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOtherMaterialsNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"other_materials not in"
,
values
,
"otherMaterials"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOtherMaterialsBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"other_materials between"
,
value1
,
value2
,
"otherMaterials"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOtherMaterialsNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"other_materials not between"
,
value1
,
value2
,
"otherMaterials"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneIsNull
()
{
addCriterion
(
"phone is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneIsNotNull
()
{
addCriterion
(
"phone is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneEqualTo
(
String
value
)
{
addCriterion
(
"phone ="
,
value
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneNotEqualTo
(
String
value
)
{
addCriterion
(
"phone <>"
,
value
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneGreaterThan
(
String
value
)
{
addCriterion
(
"phone >"
,
value
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"phone >="
,
value
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneLessThan
(
String
value
)
{
addCriterion
(
"phone <"
,
value
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"phone <="
,
value
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneLike
(
String
value
)
{
addCriterion
(
"phone like"
,
value
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneNotLike
(
String
value
)
{
addCriterion
(
"phone not like"
,
value
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneIn
(
List
<
String
>
values
)
{
addCriterion
(
"phone in"
,
values
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"phone not in"
,
values
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"phone between"
,
value1
,
value2
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPhoneNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"phone not between"
,
value1
,
value2
,
"phone"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordIsNull
()
{
addCriterion
(
"password is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordIsNotNull
()
{
addCriterion
(
"password is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordEqualTo
(
String
value
)
{
addCriterion
(
"password ="
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordNotEqualTo
(
String
value
)
{
addCriterion
(
"password <>"
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordGreaterThan
(
String
value
)
{
addCriterion
(
"password >"
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"password >="
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordLessThan
(
String
value
)
{
addCriterion
(
"password <"
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"password <="
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordLike
(
String
value
)
{
addCriterion
(
"password like"
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordNotLike
(
String
value
)
{
addCriterion
(
"password not like"
,
value
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordIn
(
List
<
String
>
values
)
{
addCriterion
(
"password in"
,
values
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"password not in"
,
values
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"password between"
,
value1
,
value2
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPasswordNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"password not between"
,
value1
,
value2
,
"password"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNull
()
{
addCriterion
(
"status is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNotNull
()
{
addCriterion
(
"status is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusEqualTo
(
Integer
value
)
{
addCriterion
(
"status ="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotEqualTo
(
Integer
value
)
{
addCriterion
(
"status <>"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThan
(
Integer
value
)
{
addCriterion
(
"status >"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"status >="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThan
(
Integer
value
)
{
addCriterion
(
"status <"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"status <="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"status in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"status not in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"status between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"status not between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarksIsNull
()
{
addCriterion
(
"remarks is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarksIsNotNull
()
{
addCriterion
(
"remarks is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarksEqualTo
(
String
value
)
{
addCriterion
(
"remarks ="
,
value
,
"remarks"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarksNotEqualTo
(
String
value
)
{
addCriterion
(
"remarks <>"
,
value
,
"remarks"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarksGreaterThan
(
String
value
)
{
addCriterion
(
"remarks >"
,
value
,
"remarks"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarksGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remarks >="
,
value
,
"remarks"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarksLessThan
(
String
value
)
{
addCriterion
(
"remarks <"
,
value
,
"remarks"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarksLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"remarks <="
,
value
,
"remarks"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarksLike
(
String
value
)
{
addCriterion
(
"remarks like"
,
value
,
"remarks"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarksNotLike
(
String
value
)
{
addCriterion
(
"remarks not like"
,
value
,
"remarks"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarksIn
(
List
<
String
>
values
)
{
addCriterion
(
"remarks in"
,
values
,
"remarks"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarksNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"remarks not in"
,
values
,
"remarks"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarksBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remarks between"
,
value1
,
value2
,
"remarks"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarksNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"remarks not between"
,
value1
,
value2
,
"remarks"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteStatusIsNull
()
{
addCriterion
(
"delete_status is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteStatusIsNotNull
()
{
addCriterion
(
"delete_status is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteStatusEqualTo
(
Integer
value
)
{
addCriterion
(
"delete_status ="
,
value
,
"deleteStatus"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteStatusNotEqualTo
(
Integer
value
)
{
addCriterion
(
"delete_status <>"
,
value
,
"deleteStatus"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteStatusGreaterThan
(
Integer
value
)
{
addCriterion
(
"delete_status >"
,
value
,
"deleteStatus"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteStatusGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"delete_status >="
,
value
,
"deleteStatus"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteStatusLessThan
(
Integer
value
)
{
addCriterion
(
"delete_status <"
,
value
,
"deleteStatus"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteStatusLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"delete_status <="
,
value
,
"deleteStatus"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteStatusIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"delete_status in"
,
values
,
"deleteStatus"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteStatusNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"delete_status not in"
,
values
,
"deleteStatus"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteStatusBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"delete_status between"
,
value1
,
value2
,
"deleteStatus"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeleteStatusNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"delete_status not between"
,
value1
,
value2
,
"deleteStatus"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeIsNull
()
{
addCriterion
(
"createtime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeIsNotNull
()
{
addCriterion
(
"createtime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeEqualTo
(
Date
value
)
{
addCriterion
(
"createtime ="
,
value
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"createtime <>"
,
value
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeGreaterThan
(
Date
value
)
{
addCriterion
(
"createtime >"
,
value
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"createtime >="
,
value
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeLessThan
(
Date
value
)
{
addCriterion
(
"createtime <"
,
value
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"createtime <="
,
value
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"createtime in"
,
values
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"createtime not in"
,
values
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"createtime between"
,
value1
,
value2
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreatetimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"createtime not between"
,
value1
,
value2
,
"createtime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeIsNull
()
{
addCriterion
(
"updatetime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeIsNotNull
()
{
addCriterion
(
"updatetime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeEqualTo
(
Date
value
)
{
addCriterion
(
"updatetime ="
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"updatetime <>"
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeGreaterThan
(
Date
value
)
{
addCriterion
(
"updatetime >"
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"updatetime >="
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeLessThan
(
Date
value
)
{
addCriterion
(
"updatetime <"
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"updatetime <="
,
value
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"updatetime in"
,
values
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"updatetime not in"
,
values
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"updatetime between"
,
value1
,
value2
,
"updatetime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdatetimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"updatetime not between"
,
value1
,
value2
,
"updatetime"
);
return
(
Criteria
)
this
;
}
}
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
public
static
class
Criterion
{
private
String
condition
;
private
Object
value
;
private
Object
secondValue
;
private
boolean
noValue
;
private
boolean
singleValue
;
private
boolean
betweenValue
;
private
boolean
listValue
;
private
String
typeHandler
;
public
String
getCondition
()
{
return
condition
;
}
public
Object
getValue
()
{
return
value
;
}
public
Object
getSecondValue
()
{
return
secondValue
;
}
public
boolean
isNoValue
()
{
return
noValue
;
}
public
boolean
isSingleValue
()
{
return
singleValue
;
}
public
boolean
isBetweenValue
()
{
return
betweenValue
;
}
public
boolean
isListValue
()
{
return
listValue
;
}
public
String
getTypeHandler
()
{
return
typeHandler
;
}
protected
Criterion
(
String
condition
)
{
super
();
this
.
condition
=
condition
;
this
.
typeHandler
=
null
;
this
.
noValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
typeHandler
=
typeHandler
;
if
(
value
instanceof
List
<?>)
{
this
.
listValue
=
true
;
}
else
{
this
.
singleValue
=
true
;
}
}
protected
Criterion
(
String
condition
,
Object
value
)
{
this
(
condition
,
value
,
null
);
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
secondValue
=
secondValue
;
this
.
typeHandler
=
typeHandler
;
this
.
betweenValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
)
{
this
(
condition
,
value
,
secondValue
,
null
);
}
}
}
\ No newline at end of file
mall-mbg/src/main/java/com/macro/mall/model/PmsSupplierAuditProduct.java
0 → 100644
View file @
559c5e83
package
com
.
macro
.
mall
.
model
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
javax.persistence.*
;
import
org.springframework.format.annotation.DateTimeFormat
;
@Entity
public
class
PmsSupplierAuditProduct
implements
Serializable
{
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
Long
id
;
@ApiModelProperty
(
value
=
"关联账号审核表id"
)
private
Long
auditId
;
@ApiModelProperty
(
value
=
"商品主图"
)
private
String
productPic
;
@ApiModelProperty
(
value
=
"商品标题"
)
private
String
productTitle
;
@ApiModelProperty
(
value
=
"商品库存量"
)
private
Integer
productStock
;
@ApiModelProperty
(
value
=
"商品销售价格"
)
private
BigDecimal
price
;
private
static
final
long
serialVersionUID
=
1L
;
public
Long
getId
()
{
return
id
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
Long
getAuditId
()
{
return
auditId
;
}
public
void
setAuditId
(
Long
auditId
)
{
this
.
auditId
=
auditId
;
}
public
String
getProductPic
()
{
return
productPic
;
}
public
void
setProductPic
(
String
productPic
)
{
this
.
productPic
=
productPic
;
}
public
String
getProductTitle
()
{
return
productTitle
;
}
public
void
setProductTitle
(
String
productTitle
)
{
this
.
productTitle
=
productTitle
;
}
public
Integer
getProductStock
()
{
return
productStock
;
}
public
void
setProductStock
(
Integer
productStock
)
{
this
.
productStock
=
productStock
;
}
public
BigDecimal
getPrice
()
{
return
price
;
}
public
void
setPrice
(
BigDecimal
price
)
{
this
.
price
=
price
;
}
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
getClass
().
getSimpleName
());
sb
.
append
(
" ["
);
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", id="
).
append
(
id
);
sb
.
append
(
", auditId="
).
append
(
auditId
);
sb
.
append
(
", productPic="
).
append
(
productPic
);
sb
.
append
(
", productTitle="
).
append
(
productTitle
);
sb
.
append
(
", productStock="
).
append
(
productStock
);
sb
.
append
(
", price="
).
append
(
price
);
sb
.
append
(
", serialVersionUID="
).
append
(
serialVersionUID
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
mall-mbg/src/main/java/com/macro/mall/model/PmsSupplierAuditProductExample.java
0 → 100644
View file @
559c5e83
package
com
.
macro
.
mall
.
model
;
import
java.math.BigDecimal
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
PmsSupplierAuditProductExample
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
public
PmsSupplierAuditProductExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
public
String
getOrderByClause
()
{
return
orderByClause
;
}
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
public
boolean
isDistinct
()
{
return
distinct
;
}
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andIdIsNull
()
{
addCriterion
(
"id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdIsNotNull
()
{
addCriterion
(
"id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIdEqualTo
(
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
andAuditIdIsNull
()
{
addCriterion
(
"audit_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAuditIdIsNotNull
()
{
addCriterion
(
"audit_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAuditIdEqualTo
(
Long
value
)
{
addCriterion
(
"audit_id ="
,
value
,
"auditId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAuditIdNotEqualTo
(
Long
value
)
{
addCriterion
(
"audit_id <>"
,
value
,
"auditId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAuditIdGreaterThan
(
Long
value
)
{
addCriterion
(
"audit_id >"
,
value
,
"auditId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAuditIdGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"audit_id >="
,
value
,
"auditId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAuditIdLessThan
(
Long
value
)
{
addCriterion
(
"audit_id <"
,
value
,
"auditId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAuditIdLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"audit_id <="
,
value
,
"auditId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAuditIdIn
(
List
<
Long
>
values
)
{
addCriterion
(
"audit_id in"
,
values
,
"auditId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAuditIdNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"audit_id not in"
,
values
,
"auditId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAuditIdBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"audit_id between"
,
value1
,
value2
,
"auditId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAuditIdNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"audit_id not between"
,
value1
,
value2
,
"auditId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductPicIsNull
()
{
addCriterion
(
"product_pic is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductPicIsNotNull
()
{
addCriterion
(
"product_pic is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductPicEqualTo
(
String
value
)
{
addCriterion
(
"product_pic ="
,
value
,
"productPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductPicNotEqualTo
(
String
value
)
{
addCriterion
(
"product_pic <>"
,
value
,
"productPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductPicGreaterThan
(
String
value
)
{
addCriterion
(
"product_pic >"
,
value
,
"productPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductPicGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"product_pic >="
,
value
,
"productPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductPicLessThan
(
String
value
)
{
addCriterion
(
"product_pic <"
,
value
,
"productPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductPicLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"product_pic <="
,
value
,
"productPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductPicLike
(
String
value
)
{
addCriterion
(
"product_pic like"
,
value
,
"productPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductPicNotLike
(
String
value
)
{
addCriterion
(
"product_pic not like"
,
value
,
"productPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductPicIn
(
List
<
String
>
values
)
{
addCriterion
(
"product_pic in"
,
values
,
"productPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductPicNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"product_pic not in"
,
values
,
"productPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductPicBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"product_pic between"
,
value1
,
value2
,
"productPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductPicNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"product_pic not between"
,
value1
,
value2
,
"productPic"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductTitleIsNull
()
{
addCriterion
(
"product_title is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductTitleIsNotNull
()
{
addCriterion
(
"product_title is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductTitleEqualTo
(
String
value
)
{
addCriterion
(
"product_title ="
,
value
,
"productTitle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductTitleNotEqualTo
(
String
value
)
{
addCriterion
(
"product_title <>"
,
value
,
"productTitle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductTitleGreaterThan
(
String
value
)
{
addCriterion
(
"product_title >"
,
value
,
"productTitle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductTitleGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"product_title >="
,
value
,
"productTitle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductTitleLessThan
(
String
value
)
{
addCriterion
(
"product_title <"
,
value
,
"productTitle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductTitleLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"product_title <="
,
value
,
"productTitle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductTitleLike
(
String
value
)
{
addCriterion
(
"product_title like"
,
value
,
"productTitle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductTitleNotLike
(
String
value
)
{
addCriterion
(
"product_title not like"
,
value
,
"productTitle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductTitleIn
(
List
<
String
>
values
)
{
addCriterion
(
"product_title in"
,
values
,
"productTitle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductTitleNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"product_title not in"
,
values
,
"productTitle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductTitleBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"product_title between"
,
value1
,
value2
,
"productTitle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductTitleNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"product_title not between"
,
value1
,
value2
,
"productTitle"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductStockIsNull
()
{
addCriterion
(
"product_stock is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductStockIsNotNull
()
{
addCriterion
(
"product_stock is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductStockEqualTo
(
Integer
value
)
{
addCriterion
(
"product_stock ="
,
value
,
"productStock"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductStockNotEqualTo
(
Integer
value
)
{
addCriterion
(
"product_stock <>"
,
value
,
"productStock"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductStockGreaterThan
(
Integer
value
)
{
addCriterion
(
"product_stock >"
,
value
,
"productStock"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductStockGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"product_stock >="
,
value
,
"productStock"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductStockLessThan
(
Integer
value
)
{
addCriterion
(
"product_stock <"
,
value
,
"productStock"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductStockLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"product_stock <="
,
value
,
"productStock"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductStockIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"product_stock in"
,
values
,
"productStock"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductStockNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"product_stock not in"
,
values
,
"productStock"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductStockBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"product_stock between"
,
value1
,
value2
,
"productStock"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductStockNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"product_stock not between"
,
value1
,
value2
,
"productStock"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceIsNull
()
{
addCriterion
(
"price is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceIsNotNull
()
{
addCriterion
(
"price is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"price ="
,
value
,
"price"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceNotEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"price <>"
,
value
,
"price"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceGreaterThan
(
BigDecimal
value
)
{
addCriterion
(
"price >"
,
value
,
"price"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceGreaterThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"price >="
,
value
,
"price"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceLessThan
(
BigDecimal
value
)
{
addCriterion
(
"price <"
,
value
,
"price"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceLessThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"price <="
,
value
,
"price"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"price in"
,
values
,
"price"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceNotIn
(
List
<
BigDecimal
>
values
)
{
addCriterion
(
"price not in"
,
values
,
"price"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"price between"
,
value1
,
value2
,
"price"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPriceNotBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"price not between"
,
value1
,
value2
,
"price"
);
return
(
Criteria
)
this
;
}
}
public
static
class
Criteria
extends
GeneratedCriteria
{
protected
Criteria
()
{
super
();
}
}
public
static
class
Criterion
{
private
String
condition
;
private
Object
value
;
private
Object
secondValue
;
private
boolean
noValue
;
private
boolean
singleValue
;
private
boolean
betweenValue
;
private
boolean
listValue
;
private
String
typeHandler
;
public
String
getCondition
()
{
return
condition
;
}
public
Object
getValue
()
{
return
value
;
}
public
Object
getSecondValue
()
{
return
secondValue
;
}
public
boolean
isNoValue
()
{
return
noValue
;
}
public
boolean
isSingleValue
()
{
return
singleValue
;
}
public
boolean
isBetweenValue
()
{
return
betweenValue
;
}
public
boolean
isListValue
()
{
return
listValue
;
}
public
String
getTypeHandler
()
{
return
typeHandler
;
}
protected
Criterion
(
String
condition
)
{
super
();
this
.
condition
=
condition
;
this
.
typeHandler
=
null
;
this
.
noValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
typeHandler
=
typeHandler
;
if
(
value
instanceof
List
<?>)
{
this
.
listValue
=
true
;
}
else
{
this
.
singleValue
=
true
;
}
}
protected
Criterion
(
String
condition
,
Object
value
)
{
this
(
condition
,
value
,
null
);
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
secondValue
=
secondValue
;
this
.
typeHandler
=
typeHandler
;
this
.
betweenValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
)
{
this
(
condition
,
value
,
secondValue
,
null
);
}
}
}
\ No newline at end of file
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSupplierAuditMapper.xml
0 → 100644
View file @
559c5e83
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.macro.mall.mapper.PmsSupplierAuditMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.macro.mall.model.PmsSupplierAudit"
>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<result
column=
"brand_name"
jdbcType=
"VARCHAR"
property=
"brandName"
/>
<result
column=
"company_name"
jdbcType=
"VARCHAR"
property=
"companyName"
/>
<result
column=
"business_license"
jdbcType=
"VARCHAR"
property=
"businessLicense"
/>
<result
column=
"business"
jdbcType=
"VARCHAR"
property=
"business"
/>
<result
column=
"trademark"
jdbcType=
"VARCHAR"
property=
"trademark"
/>
<result
column=
"other_materials"
jdbcType=
"VARCHAR"
property=
"otherMaterials"
/>
<result
column=
"phone"
jdbcType=
"VARCHAR"
property=
"phone"
/>
<result
column=
"password"
jdbcType=
"VARCHAR"
property=
"password"
/>
<result
column=
"status"
jdbcType=
"INTEGER"
property=
"status"
/>
<result
column=
"remarks"
jdbcType=
"VARCHAR"
property=
"remarks"
/>
<result
column=
"delete_status"
jdbcType=
"INTEGER"
property=
"deleteStatus"
/>
<result
column=
"createtime"
jdbcType=
"TIMESTAMP"
property=
"createtime"
/>
<result
column=
"updatetime"
jdbcType=
"TIMESTAMP"
property=
"updatetime"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<where>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Update_By_Example_Where_Clause"
>
<where>
<foreach
collection=
"example.oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
id, brand_name, company_name, business_license, business, trademark, other_materials,
phone, password, status, remarks, delete_status, createtime, updatetime
</sql>
<select
id=
"selectByExample"
parameterType=
"com.macro.mall.model.PmsSupplierAuditExample"
resultMap=
"BaseResultMap"
>
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from pms_supplier_audit
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from pms_supplier_audit
where id = #{id,jdbcType=BIGINT}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from pms_supplier_audit
where id = #{id,jdbcType=BIGINT}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.macro.mall.model.PmsSupplierAuditExample"
>
delete from pms_supplier_audit
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.macro.mall.model.PmsSupplierAudit"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
SELECT LAST_INSERT_ID()
</selectKey>
insert into pms_supplier_audit (brand_name, company_name, business_license,
business, trademark, other_materials,
phone, password, status,
remarks, delete_status, createtime,
updatetime)
values (#{brandName,jdbcType=VARCHAR}, #{companyName,jdbcType=VARCHAR}, #{businessLicense,jdbcType=VARCHAR},
#{business,jdbcType=VARCHAR}, #{trademark,jdbcType=VARCHAR}, #{otherMaterials,jdbcType=VARCHAR},
#{phone,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
#{remarks,jdbcType=VARCHAR}, #{deleteStatus,jdbcType=INTEGER}, #{createtime,jdbcType=TIMESTAMP},
#{updatetime,jdbcType=TIMESTAMP})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.macro.mall.model.PmsSupplierAudit"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
SELECT LAST_INSERT_ID()
</selectKey>
insert into pms_supplier_audit
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"brandName != null"
>
brand_name,
</if>
<if
test=
"companyName != null"
>
company_name,
</if>
<if
test=
"businessLicense != null"
>
business_license,
</if>
<if
test=
"business != null"
>
business,
</if>
<if
test=
"trademark != null"
>
trademark,
</if>
<if
test=
"otherMaterials != null"
>
other_materials,
</if>
<if
test=
"phone != null"
>
phone,
</if>
<if
test=
"password != null"
>
password,
</if>
<if
test=
"status != null"
>
status,
</if>
<if
test=
"remarks != null"
>
remarks,
</if>
<if
test=
"deleteStatus != null"
>
delete_status,
</if>
<if
test=
"createtime != null"
>
createtime,
</if>
<if
test=
"updatetime != null"
>
updatetime,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"brandName != null"
>
#{brandName,jdbcType=VARCHAR},
</if>
<if
test=
"companyName != null"
>
#{companyName,jdbcType=VARCHAR},
</if>
<if
test=
"businessLicense != null"
>
#{businessLicense,jdbcType=VARCHAR},
</if>
<if
test=
"business != null"
>
#{business,jdbcType=VARCHAR},
</if>
<if
test=
"trademark != null"
>
#{trademark,jdbcType=VARCHAR},
</if>
<if
test=
"otherMaterials != null"
>
#{otherMaterials,jdbcType=VARCHAR},
</if>
<if
test=
"phone != null"
>
#{phone,jdbcType=VARCHAR},
</if>
<if
test=
"password != null"
>
#{password,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
#{status,jdbcType=INTEGER},
</if>
<if
test=
"remarks != null"
>
#{remarks,jdbcType=VARCHAR},
</if>
<if
test=
"deleteStatus != null"
>
#{deleteStatus,jdbcType=INTEGER},
</if>
<if
test=
"createtime != null"
>
#{createtime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updatetime != null"
>
#{updatetime,jdbcType=TIMESTAMP},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsSupplierAuditExample"
resultType=
"java.lang.Long"
>
select count(*) from pms_supplier_audit
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
update pms_supplier_audit
<set>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=BIGINT},
</if>
<if
test=
"record.brandName != null"
>
brand_name = #{record.brandName,jdbcType=VARCHAR},
</if>
<if
test=
"record.companyName != null"
>
company_name = #{record.companyName,jdbcType=VARCHAR},
</if>
<if
test=
"record.businessLicense != null"
>
business_license = #{record.businessLicense,jdbcType=VARCHAR},
</if>
<if
test=
"record.business != null"
>
business = #{record.business,jdbcType=VARCHAR},
</if>
<if
test=
"record.trademark != null"
>
trademark = #{record.trademark,jdbcType=VARCHAR},
</if>
<if
test=
"record.otherMaterials != null"
>
other_materials = #{record.otherMaterials,jdbcType=VARCHAR},
</if>
<if
test=
"record.phone != null"
>
phone = #{record.phone,jdbcType=VARCHAR},
</if>
<if
test=
"record.password != null"
>
password = #{record.password,jdbcType=VARCHAR},
</if>
<if
test=
"record.status != null"
>
status = #{record.status,jdbcType=INTEGER},
</if>
<if
test=
"record.remarks != null"
>
remarks = #{record.remarks,jdbcType=VARCHAR},
</if>
<if
test=
"record.deleteStatus != null"
>
delete_status = #{record.deleteStatus,jdbcType=INTEGER},
</if>
<if
test=
"record.createtime != null"
>
createtime = #{record.createtime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.updatetime != null"
>
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
update pms_supplier_audit
set id = #{record.id,jdbcType=BIGINT},
brand_name = #{record.brandName,jdbcType=VARCHAR},
company_name = #{record.companyName,jdbcType=VARCHAR},
business_license = #{record.businessLicense,jdbcType=VARCHAR},
business = #{record.business,jdbcType=VARCHAR},
trademark = #{record.trademark,jdbcType=VARCHAR},
other_materials = #{record.otherMaterials,jdbcType=VARCHAR},
phone = #{record.phone,jdbcType=VARCHAR},
password = #{record.password,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
remarks = #{record.remarks,jdbcType=VARCHAR},
delete_status = #{record.deleteStatus,jdbcType=INTEGER},
createtime = #{record.createtime,jdbcType=TIMESTAMP},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.macro.mall.model.PmsSupplierAudit"
>
update pms_supplier_audit
<set>
<if
test=
"brandName != null"
>
brand_name = #{brandName,jdbcType=VARCHAR},
</if>
<if
test=
"companyName != null"
>
company_name = #{companyName,jdbcType=VARCHAR},
</if>
<if
test=
"businessLicense != null"
>
business_license = #{businessLicense,jdbcType=VARCHAR},
</if>
<if
test=
"business != null"
>
business = #{business,jdbcType=VARCHAR},
</if>
<if
test=
"trademark != null"
>
trademark = #{trademark,jdbcType=VARCHAR},
</if>
<if
test=
"otherMaterials != null"
>
other_materials = #{otherMaterials,jdbcType=VARCHAR},
</if>
<if
test=
"phone != null"
>
phone = #{phone,jdbcType=VARCHAR},
</if>
<if
test=
"password != null"
>
password = #{password,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
status = #{status,jdbcType=INTEGER},
</if>
<if
test=
"remarks != null"
>
remarks = #{remarks,jdbcType=VARCHAR},
</if>
<if
test=
"deleteStatus != null"
>
delete_status = #{deleteStatus,jdbcType=INTEGER},
</if>
<if
test=
"createtime != null"
>
createtime = #{createtime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updatetime != null"
>
updatetime = #{updatetime,jdbcType=TIMESTAMP},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.macro.mall.model.PmsSupplierAudit"
>
update pms_supplier_audit
set brand_name = #{brandName,jdbcType=VARCHAR},
company_name = #{companyName,jdbcType=VARCHAR},
business_license = #{businessLicense,jdbcType=VARCHAR},
business = #{business,jdbcType=VARCHAR},
trademark = #{trademark,jdbcType=VARCHAR},
other_materials = #{otherMaterials,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
password = #{password,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
remarks = #{remarks,jdbcType=VARCHAR},
delete_status = #{deleteStatus,jdbcType=INTEGER},
createtime = #{createtime,jdbcType=TIMESTAMP},
updatetime = #{updatetime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}
</update>
</mapper>
\ No newline at end of file
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSupplierAuditProductMapper.xml
0 → 100644
View file @
559c5e83
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.macro.mall.mapper.PmsSupplierAuditProductMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.macro.mall.model.PmsSupplierAuditProduct"
>
<id
column=
"id"
jdbcType=
"BIGINT"
property=
"id"
/>
<result
column=
"audit_id"
jdbcType=
"BIGINT"
property=
"auditId"
/>
<result
column=
"product_pic"
jdbcType=
"VARCHAR"
property=
"productPic"
/>
<result
column=
"product_title"
jdbcType=
"VARCHAR"
property=
"productTitle"
/>
<result
column=
"product_stock"
jdbcType=
"INTEGER"
property=
"productStock"
/>
<result
column=
"price"
jdbcType=
"DECIMAL"
property=
"price"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<where>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Update_By_Example_Where_Clause"
>
<where>
<foreach
collection=
"example.oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
id, audit_id, product_pic, product_title, product_stock, price
</sql>
<select
id=
"selectByExample"
parameterType=
"com.macro.mall.model.PmsSupplierAuditProductExample"
resultMap=
"BaseResultMap"
>
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from pms_supplier_audit_product
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from pms_supplier_audit_product
where id = #{id,jdbcType=BIGINT}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from pms_supplier_audit_product
where id = #{id,jdbcType=BIGINT}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"com.macro.mall.model.PmsSupplierAuditProductExample"
>
delete from pms_supplier_audit_product
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.macro.mall.model.PmsSupplierAuditProduct"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
SELECT LAST_INSERT_ID()
</selectKey>
insert into pms_supplier_audit_product (audit_id, product_pic, product_title,
product_stock, price)
values (#{auditId,jdbcType=BIGINT}, #{productPic,jdbcType=VARCHAR}, #{productTitle,jdbcType=VARCHAR},
#{productStock,jdbcType=INTEGER}, #{price,jdbcType=DECIMAL})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.macro.mall.model.PmsSupplierAuditProduct"
>
<selectKey
keyProperty=
"id"
order=
"AFTER"
resultType=
"java.lang.Long"
>
SELECT LAST_INSERT_ID()
</selectKey>
insert into pms_supplier_audit_product
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"auditId != null"
>
audit_id,
</if>
<if
test=
"productPic != null"
>
product_pic,
</if>
<if
test=
"productTitle != null"
>
product_title,
</if>
<if
test=
"productStock != null"
>
product_stock,
</if>
<if
test=
"price != null"
>
price,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"auditId != null"
>
#{auditId,jdbcType=BIGINT},
</if>
<if
test=
"productPic != null"
>
#{productPic,jdbcType=VARCHAR},
</if>
<if
test=
"productTitle != null"
>
#{productTitle,jdbcType=VARCHAR},
</if>
<if
test=
"productStock != null"
>
#{productStock,jdbcType=INTEGER},
</if>
<if
test=
"price != null"
>
#{price,jdbcType=DECIMAL},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsSupplierAuditProductExample"
resultType=
"java.lang.Long"
>
select count(*) from pms_supplier_audit_product
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
update pms_supplier_audit_product
<set>
<if
test=
"record.id != null"
>
id = #{record.id,jdbcType=BIGINT},
</if>
<if
test=
"record.auditId != null"
>
audit_id = #{record.auditId,jdbcType=BIGINT},
</if>
<if
test=
"record.productPic != null"
>
product_pic = #{record.productPic,jdbcType=VARCHAR},
</if>
<if
test=
"record.productTitle != null"
>
product_title = #{record.productTitle,jdbcType=VARCHAR},
</if>
<if
test=
"record.productStock != null"
>
product_stock = #{record.productStock,jdbcType=INTEGER},
</if>
<if
test=
"record.price != null"
>
price = #{record.price,jdbcType=DECIMAL},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
update pms_supplier_audit_product
set id = #{record.id,jdbcType=BIGINT},
audit_id = #{record.auditId,jdbcType=BIGINT},
product_pic = #{record.productPic,jdbcType=VARCHAR},
product_title = #{record.productTitle,jdbcType=VARCHAR},
product_stock = #{record.productStock,jdbcType=INTEGER},
price = #{record.price,jdbcType=DECIMAL}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.macro.mall.model.PmsSupplierAuditProduct"
>
update pms_supplier_audit_product
<set>
<if
test=
"auditId != null"
>
audit_id = #{auditId,jdbcType=BIGINT},
</if>
<if
test=
"productPic != null"
>
product_pic = #{productPic,jdbcType=VARCHAR},
</if>
<if
test=
"productTitle != null"
>
product_title = #{productTitle,jdbcType=VARCHAR},
</if>
<if
test=
"productStock != null"
>
product_stock = #{productStock,jdbcType=INTEGER},
</if>
<if
test=
"price != null"
>
price = #{price,jdbcType=DECIMAL},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.macro.mall.model.PmsSupplierAuditProduct"
>
update pms_supplier_audit_product
set audit_id = #{auditId,jdbcType=BIGINT},
product_pic = #{productPic,jdbcType=VARCHAR},
product_title = #{productTitle,jdbcType=VARCHAR},
product_stock = #{productStock,jdbcType=INTEGER},
price = #{price,jdbcType=DECIMAL}
where id = #{id,jdbcType=BIGINT}
</update>
</mapper>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment