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
Litemall
Commits
936b5511
Commit
936b5511
authored
Jul 05, 2018
by
Junling Bu
Browse files
[litemall-db]: 自动生成代码进行相应调整。
parent
64b74e3b
Changes
80
Show whitespace changes
Inline
Side-by-side
litemall-db/mybatis-generator/generatorConfig.xml
View file @
936b5511
...
...
@@ -67,7 +67,6 @@
<table
tableName=
"litemall_admin"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"last_login_time"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"update_time"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"add_time"
/>
</table>
<table
tableName=
"litemall_brand"
>
...
...
@@ -76,7 +75,7 @@
</table>
<table
tableName=
"litemall_cart"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<columnOverride
column=
"
goods_
specification
_id
s"
javaType=
"java.lang.
Integer
[]"
typeHandler=
"org.linlinjava.litemall.db.mybatis.Json
Integer
ArrayTypeHandler"
/>
<columnOverride
column=
"specifications"
javaType=
"java.lang.
String
[]"
typeHandler=
"org.linlinjava.litemall.db.mybatis.Json
String
ArrayTypeHandler"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"add_time"
/>
</table>
<table
tableName=
"litemall_category"
>
...
...
@@ -92,14 +91,6 @@
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"add_time"
/>
<columnOverride
column=
"pic_urls"
javaType=
"java.lang.String[]"
typeHandler=
"org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler"
/>
</table>
<table
tableName=
"litemall_coupon"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"send_start"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"send_end"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"use_start"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"use_end"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"add_time"
/>
</table>
<table
tableName=
"litemall_footprint"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"add_time"
/>
...
...
@@ -129,19 +120,18 @@
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"add_time"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"pay_time"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"ship_start_time"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"ship_end_time"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"ship_time"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"confirm_time"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"end_time"
/>
</table>
<table
tableName=
"litemall_order_goods"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<columnOverride
column=
"
goods_
specification
_id
s"
javaType=
"java.lang.
Integer
[]"
typeHandler=
"org.linlinjava.litemall.db.mybatis.Json
Integer
ArrayTypeHandler"
/>
<columnOverride
column=
"specifications"
javaType=
"java.lang.
String
[]"
typeHandler=
"org.linlinjava.litemall.db.mybatis.Json
String
ArrayTypeHandler"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"add_time"
/>
</table>
<table
tableName=
"litemall_product"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<columnOverride
column=
"
goods_
specification
_id
s"
javaType=
"java.lang.
Integer
[]"
typeHandler=
"org.linlinjava.litemall.db.mybatis.Json
Integer
ArrayTypeHandler"
/>
<columnOverride
column=
"specifications"
javaType=
"java.lang.
String
[]"
typeHandler=
"org.linlinjava.litemall.db.mybatis.Json
String
ArrayTypeHandler"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"add_time"
/>
</table>
<table
tableName=
"litemall_region"
>
...
...
@@ -158,6 +148,7 @@
</table>
<table
tableName=
"litemall_topic"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<columnOverride
column=
"goods"
javaType=
"java.lang.Integer[]"
typeHandler=
"org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"add_time"
/>
</table>
<table
tableName=
"litemall_user"
>
...
...
@@ -166,12 +157,5 @@
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"last_login_time"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"add_time"
/>
</table>
<table
tableName=
"litemall_user_coupon"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"used_time"
/>
<columnOverride
javaType=
"java.time.LocalDateTime"
column=
"add_time"
/>
</table>
</context>
</generatorConfiguration>
\ No newline at end of file
litemall-db/pom.xml
View file @
936b5511
...
...
@@ -78,7 +78,7 @@
<dependency>
<groupId>
com.itfsw
</groupId>
<artifactId>
mybatis-generator-plugin
</artifactId>
<version>
1.2.
3
</version>
<version>
1.2.
6
</version>
</dependency>
</dependencies>
</plugin>
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCouponMapper.java
deleted
100644 → 0
View file @
64b74e3b
package
org.linlinjava.litemall.db.dao
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.linlinjava.litemall.db.domain.LitemallCoupon
;
import
org.linlinjava.litemall.db.domain.LitemallCouponExample
;
public
interface
LitemallCouponMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
long
countByExample
(
LitemallCouponExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
int
deleteByExample
(
LitemallCouponExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
int
deleteByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
int
insert
(
LitemallCoupon
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
int
insertSelective
(
LitemallCoupon
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCoupon
selectOneByExample
(
LitemallCouponExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCoupon
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallCouponExample
example
,
@Param
(
"selective"
)
LitemallCoupon
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallCoupon
>
selectByExampleSelective
(
@Param
(
"example"
)
LitemallCouponExample
example
,
@Param
(
"selective"
)
LitemallCoupon
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
List
<
LitemallCoupon
>
selectByExample
(
LitemallCouponExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCoupon
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
LitemallCoupon
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
LitemallCoupon
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCoupon
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
LitemallCoupon
record
,
@Param
(
"example"
)
LitemallCouponExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
int
updateByExample
(
@Param
(
"record"
)
LitemallCoupon
record
,
@Param
(
"example"
)
LitemallCouponExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
int
updateByPrimaryKeySelective
(
LitemallCoupon
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
LitemallCoupon
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int
logicalDeleteByExample
(
@Param
(
"example"
)
LitemallCouponExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallUserCouponMapper.java
deleted
100644 → 0
View file @
64b74e3b
package
org.linlinjava.litemall.db.dao
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.linlinjava.litemall.db.domain.LitemallUserCoupon
;
import
org.linlinjava.litemall.db.domain.LitemallUserCouponExample
;
public
interface
LitemallUserCouponMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
long
countByExample
(
LitemallUserCouponExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
int
deleteByExample
(
LitemallUserCouponExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
int
deleteByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
int
insert
(
LitemallUserCoupon
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
int
insertSelective
(
LitemallUserCoupon
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUserCoupon
selectOneByExample
(
LitemallUserCouponExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUserCoupon
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallUserCouponExample
example
,
@Param
(
"selective"
)
LitemallUserCoupon
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallUserCoupon
>
selectByExampleSelective
(
@Param
(
"example"
)
LitemallUserCouponExample
example
,
@Param
(
"selective"
)
LitemallUserCoupon
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
List
<
LitemallUserCoupon
>
selectByExample
(
LitemallUserCouponExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUserCoupon
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
LitemallUserCoupon
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
LitemallUserCoupon
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUserCoupon
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
LitemallUserCoupon
record
,
@Param
(
"example"
)
LitemallUserCouponExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
int
updateByExample
(
@Param
(
"record"
)
LitemallUserCoupon
record
,
@Param
(
"example"
)
LitemallUserCouponExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
int
updateByPrimaryKeySelective
(
LitemallUserCoupon
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
LitemallUserCoupon
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int
logicalDeleteByExample
(
@Param
(
"example"
)
LitemallUserCouponExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAd.java
View file @
936b5511
package
org.linlinjava.litemall.db.domain
;
import
java.time.LocalDateTime
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
public
class
LitemallAd
{
/**
...
...
@@ -12,16 +14,6 @@ public class LitemallAd {
*/
public
static
final
Boolean
NOT_DELETED
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
static
final
Boolean
DEL_FLAG_ON
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad
...
...
@@ -31,16 +23,6 @@ public class LitemallAd {
*/
public
static
final
Boolean
IS_DELETED
=
true
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
static
final
Boolean
DEL_FLAG_OFF
=
true
;
/**
*
* This field was generated by MyBatis Generator.
...
...
@@ -53,38 +35,38 @@ public class LitemallAd {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_ad.
position
* This field corresponds to the database column litemall_ad.
name
*
* @mbg.generated
*/
private
Integer
position
;
private
String
name
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_ad.
name
* This field corresponds to the database column litemall_ad.
link
*
* @mbg.generated
*/
private
String
name
;
private
String
link
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_ad.
link
* This field corresponds to the database column litemall_ad.
url
*
* @mbg.generated
*/
private
String
link
;
private
String
url
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_ad.
url
* This field corresponds to the database column litemall_ad.
position
*
* @mbg.generated
*/
private
String
url
;
private
Byte
position
;
/**
*
...
...
@@ -164,30 +146,6 @@ public class LitemallAd {
this
.
id
=
id
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_ad.position
*
* @return the value of litemall_ad.position
*
* @mbg.generated
*/
public
Integer
getPosition
()
{
return
position
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_ad.position
*
* @param position the value for litemall_ad.position
*
* @mbg.generated
*/
public
void
setPosition
(
Integer
position
)
{
this
.
position
=
position
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_ad.name
...
...
@@ -260,6 +218,30 @@ public class LitemallAd {
this
.
url
=
url
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_ad.position
*
* @return the value of litemall_ad.position
*
* @mbg.generated
*/
public
Byte
getPosition
()
{
return
position
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_ad.position
*
* @param position the value for litemall_ad.position
*
* @mbg.generated
*/
public
void
setPosition
(
Byte
position
)
{
this
.
position
=
position
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_ad.content
...
...
@@ -417,10 +399,10 @@ public class LitemallAd {
sb
.
append
(
" ["
);
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", id="
).
append
(
id
);
sb
.
append
(
", position="
).
append
(
position
);
sb
.
append
(
", name="
).
append
(
name
);
sb
.
append
(
", link="
).
append
(
link
);
sb
.
append
(
", url="
).
append
(
url
);
sb
.
append
(
", position="
).
append
(
position
);
sb
.
append
(
", content="
).
append
(
content
);
sb
.
append
(
", startTime="
).
append
(
startTime
);
sb
.
append
(
", endTime="
).
append
(
endTime
);
...
...
@@ -450,10 +432,10 @@ public class LitemallAd {
}
LitemallAd
other
=
(
LitemallAd
)
that
;
return
(
this
.
getId
()
==
null
?
other
.
getId
()
==
null
:
this
.
getId
().
equals
(
other
.
getId
()))
&&
(
this
.
getPosition
()
==
null
?
other
.
getPosition
()
==
null
:
this
.
getPosition
().
equals
(
other
.
getPosition
()))
&&
(
this
.
getName
()
==
null
?
other
.
getName
()
==
null
:
this
.
getName
().
equals
(
other
.
getName
()))
&&
(
this
.
getLink
()
==
null
?
other
.
getLink
()
==
null
:
this
.
getLink
().
equals
(
other
.
getLink
()))
&&
(
this
.
getUrl
()
==
null
?
other
.
getUrl
()
==
null
:
this
.
getUrl
().
equals
(
other
.
getUrl
()))
&&
(
this
.
getPosition
()
==
null
?
other
.
getPosition
()
==
null
:
this
.
getPosition
().
equals
(
other
.
getPosition
()))
&&
(
this
.
getContent
()
==
null
?
other
.
getContent
()
==
null
:
this
.
getContent
().
equals
(
other
.
getContent
()))
&&
(
this
.
getStartTime
()
==
null
?
other
.
getStartTime
()
==
null
:
this
.
getStartTime
().
equals
(
other
.
getStartTime
()))
&&
(
this
.
getEndTime
()
==
null
?
other
.
getEndTime
()
==
null
:
this
.
getEndTime
().
equals
(
other
.
getEndTime
()))
...
...
@@ -473,10 +455,10 @@ public class LitemallAd {
final
int
prime
=
31
;
int
result
=
1
;
result
=
prime
*
result
+
((
getId
()
==
null
)
?
0
:
getId
().
hashCode
());
result
=
prime
*
result
+
((
getPosition
()
==
null
)
?
0
:
getPosition
().
hashCode
());
result
=
prime
*
result
+
((
getName
()
==
null
)
?
0
:
getName
().
hashCode
());
result
=
prime
*
result
+
((
getLink
()
==
null
)
?
0
:
getLink
().
hashCode
());
result
=
prime
*
result
+
((
getUrl
()
==
null
)
?
0
:
getUrl
().
hashCode
());
result
=
prime
*
result
+
((
getPosition
()
==
null
)
?
0
:
getPosition
().
hashCode
());
result
=
prime
*
result
+
((
getContent
()
==
null
)
?
0
:
getContent
().
hashCode
());
result
=
prime
*
result
+
((
getStartTime
()
==
null
)
?
0
:
getStartTime
().
hashCode
());
result
=
prime
*
result
+
((
getEndTime
()
==
null
)
?
0
:
getEndTime
().
hashCode
());
...
...
@@ -506,10 +488,10 @@ public class LitemallAd {
*/
public
enum
Column
{
id
(
"id"
,
"id"
,
"INTEGER"
),
position
(
"position"
,
"position"
,
"INTEGER"
),
name
(
"name"
,
"name"
,
"VARCHAR"
),
link
(
"link"
,
"link"
,
"VARCHAR"
),
url
(
"url"
,
"url"
,
"VARCHAR"
),
position
(
"position"
,
"position"
,
"TINYINT"
),
content
(
"content"
,
"content"
,
"VARCHAR"
),
startTime
(
"start_time"
,
"startTime"
,
"TIMESTAMP"
),
endTime
(
"end_time"
,
"endTime"
,
"TIMESTAMP"
),
...
...
@@ -622,5 +604,20 @@ public class LitemallAd {
public
String
asc
()
{
return
this
.
column
+
" ASC"
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
Column
[]
excludes
(
Column
...
excludes
)
{
ArrayList
<
Column
>
columns
=
new
ArrayList
<>(
Arrays
.
asList
(
Column
.
values
()));
if
(
excludes
!=
null
&&
excludes
.
length
>
0
)
{
columns
.
removeAll
(
new
ArrayList
<>(
Arrays
.
asList
(
excludes
)));
}
return
columns
.
toArray
(
new
Column
[]{});
}
}
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAdExample.java
View file @
936b5511
...
...
@@ -286,66 +286,6 @@ public class LitemallAdExample {
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
(
Integer
value
)
{
addCriterion
(
"`position` ="
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionNotEqualTo
(
Integer
value
)
{
addCriterion
(
"`position` <>"
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionGreaterThan
(
Integer
value
)
{
addCriterion
(
"`position` >"
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"`position` >="
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionLessThan
(
Integer
value
)
{
addCriterion
(
"`position` <"
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"`position` <="
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"`position` in"
,
values
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"`position` not in"
,
values
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"`position` between"
,
value1
,
value2
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"`position` not between"
,
value1
,
value2
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNameIsNull
()
{
addCriterion
(
"`name` is null"
);
return
(
Criteria
)
this
;
...
...
@@ -556,6 +496,66 @@ public class LitemallAdExample {
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
(
Byte
value
)
{
addCriterion
(
"`position` ="
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionNotEqualTo
(
Byte
value
)
{
addCriterion
(
"`position` <>"
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionGreaterThan
(
Byte
value
)
{
addCriterion
(
"`position` >"
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`position` >="
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionLessThan
(
Byte
value
)
{
addCriterion
(
"`position` <"
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"`position` <="
,
value
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`position` in"
,
values
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"`position` not in"
,
values
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`position` between"
,
value1
,
value2
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPositionNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`position` not between"
,
value1
,
value2
,
"position"
);
return
(
Criteria
)
this
;
}
public
Criteria
andContentIsNull
()
{
addCriterion
(
"content is null"
);
return
(
Criteria
)
this
;
...
...
@@ -991,18 +991,6 @@ public class LitemallAdExample {
return
deleted
?
andDeletedEqualTo
(
LitemallAd
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallAd
.
IS_DELETED
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
Criteria
andDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallAd
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallAd
.
IS_DELETED
);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_ad
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAddress.java
View file @
936b5511
package
org.linlinjava.litemall.db.domain
;
import
java.time.LocalDateTime
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
public
class
LitemallAddress
{
/**
...
...
@@ -12,16 +14,6 @@ public class LitemallAddress {
*/
public
static
final
Boolean
NOT_DELETED
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
static
final
Boolean
DEL_FLAG_ON
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address
...
...
@@ -31,16 +23,6 @@ public class LitemallAddress {
*/
public
static
final
Boolean
IS_DELETED
=
true
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
static
final
Boolean
DEL_FLAG_OFF
=
true
;
/**
*
* This field was generated by MyBatis Generator.
...
...
@@ -622,5 +604,20 @@ public class LitemallAddress {
public
String
asc
()
{
return
this
.
column
+
" ASC"
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
Column
[]
excludes
(
Column
...
excludes
)
{
ArrayList
<
Column
>
columns
=
new
ArrayList
<>(
Arrays
.
asList
(
Column
.
values
()));
if
(
excludes
!=
null
&&
excludes
.
length
>
0
)
{
columns
.
removeAll
(
new
ArrayList
<>(
Arrays
.
asList
(
excludes
)));
}
return
columns
.
toArray
(
new
Column
[]{});
}
}
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAddressExample.java
View file @
936b5511
...
...
@@ -981,18 +981,6 @@ public class LitemallAddressExample {
return
deleted
?
andDeletedEqualTo
(
LitemallAddress
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallAddress
.
IS_DELETED
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
Criteria
andDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallAddress
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallAddress
.
IS_DELETED
);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_address
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAdmin.java
View file @
936b5511
package
org.linlinjava.litemall.db.domain
;
import
java.time.LocalDateTime
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
public
class
LitemallAdmin
{
/**
...
...
@@ -12,16 +14,6 @@ public class LitemallAdmin {
*/
public
static
final
Boolean
NOT_DELETED
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
static
final
Boolean
DEL_FLAG_ON
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin
...
...
@@ -31,16 +23,6 @@ public class LitemallAdmin {
*/
public
static
final
Boolean
IS_DELETED
=
true
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
static
final
Boolean
DEL_FLAG_OFF
=
true
;
/**
*
* This field was generated by MyBatis Generator.
...
...
@@ -86,15 +68,6 @@ public class LitemallAdmin {
*/
private
LocalDateTime
lastLoginTime
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_admin.update_time
*
* @mbg.generated
*/
private
LocalDateTime
updateTime
;
/**
*
* This field was generated by MyBatis Generator.
...
...
@@ -242,30 +215,6 @@ public class LitemallAdmin {
this
.
lastLoginTime
=
lastLoginTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_admin.update_time
*
* @return the value of litemall_admin.update_time
*
* @mbg.generated
*/
public
LocalDateTime
getUpdateTime
()
{
return
updateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_admin.update_time
*
* @param updateTime the value for litemall_admin.update_time
*
* @mbg.generated
*/
public
void
setUpdateTime
(
LocalDateTime
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_admin.avatar
...
...
@@ -355,7 +304,6 @@ public class LitemallAdmin {
sb
.
append
(
", password="
).
append
(
password
);
sb
.
append
(
", lastLoginIp="
).
append
(
lastLoginIp
);
sb
.
append
(
", lastLoginTime="
).
append
(
lastLoginTime
);
sb
.
append
(
", updateTime="
).
append
(
updateTime
);
sb
.
append
(
", avatar="
).
append
(
avatar
);
sb
.
append
(
", addTime="
).
append
(
addTime
);
sb
.
append
(
", deleted="
).
append
(
deleted
);
...
...
@@ -386,7 +334,6 @@ public class LitemallAdmin {
&&
(
this
.
getPassword
()
==
null
?
other
.
getPassword
()
==
null
:
this
.
getPassword
().
equals
(
other
.
getPassword
()))
&&
(
this
.
getLastLoginIp
()
==
null
?
other
.
getLastLoginIp
()
==
null
:
this
.
getLastLoginIp
().
equals
(
other
.
getLastLoginIp
()))
&&
(
this
.
getLastLoginTime
()
==
null
?
other
.
getLastLoginTime
()
==
null
:
this
.
getLastLoginTime
().
equals
(
other
.
getLastLoginTime
()))
&&
(
this
.
getUpdateTime
()
==
null
?
other
.
getUpdateTime
()
==
null
:
this
.
getUpdateTime
().
equals
(
other
.
getUpdateTime
()))
&&
(
this
.
getAvatar
()
==
null
?
other
.
getAvatar
()
==
null
:
this
.
getAvatar
().
equals
(
other
.
getAvatar
()))
&&
(
this
.
getAddTime
()
==
null
?
other
.
getAddTime
()
==
null
:
this
.
getAddTime
().
equals
(
other
.
getAddTime
()))
&&
(
this
.
getDeleted
()
==
null
?
other
.
getDeleted
()
==
null
:
this
.
getDeleted
().
equals
(
other
.
getDeleted
()));
...
...
@@ -407,7 +354,6 @@ public class LitemallAdmin {
result
=
prime
*
result
+
((
getPassword
()
==
null
)
?
0
:
getPassword
().
hashCode
());
result
=
prime
*
result
+
((
getLastLoginIp
()
==
null
)
?
0
:
getLastLoginIp
().
hashCode
());
result
=
prime
*
result
+
((
getLastLoginTime
()
==
null
)
?
0
:
getLastLoginTime
().
hashCode
());
result
=
prime
*
result
+
((
getUpdateTime
()
==
null
)
?
0
:
getUpdateTime
().
hashCode
());
result
=
prime
*
result
+
((
getAvatar
()
==
null
)
?
0
:
getAvatar
().
hashCode
());
result
=
prime
*
result
+
((
getAddTime
()
==
null
)
?
0
:
getAddTime
().
hashCode
());
result
=
prime
*
result
+
((
getDeleted
()
==
null
)
?
0
:
getDeleted
().
hashCode
());
...
...
@@ -438,7 +384,6 @@ public class LitemallAdmin {
password
(
"password"
,
"password"
,
"VARCHAR"
),
lastLoginIp
(
"last_login_ip"
,
"lastLoginIp"
,
"VARCHAR"
),
lastLoginTime
(
"last_login_time"
,
"lastLoginTime"
,
"TIMESTAMP"
),
updateTime
(
"update_time"
,
"updateTime"
,
"TIMESTAMP"
),
avatar
(
"avatar"
,
"avatar"
,
"VARCHAR"
),
addTime
(
"add_time"
,
"addTime"
,
"TIMESTAMP"
),
deleted
(
"deleted"
,
"deleted"
,
"BIT"
);
...
...
@@ -548,5 +493,20 @@ public class LitemallAdmin {
public
String
asc
()
{
return
this
.
column
+
" ASC"
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
Column
[]
excludes
(
Column
...
excludes
)
{
ArrayList
<
Column
>
columns
=
new
ArrayList
<>(
Arrays
.
asList
(
Column
.
values
()));
if
(
excludes
!=
null
&&
excludes
.
length
>
0
)
{
columns
.
removeAll
(
new
ArrayList
<>(
Arrays
.
asList
(
excludes
)));
}
return
columns
.
toArray
(
new
Column
[]{});
}
}
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAdminExample.java
View file @
936b5511
...
...
@@ -556,66 +556,6 @@ public class LitemallAdminExample {
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNull
()
{
addCriterion
(
"update_time is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNotNull
()
{
addCriterion
(
"update_time is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeEqualTo
(
LocalDateTime
value
)
{
addCriterion
(
"update_time ="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotEqualTo
(
LocalDateTime
value
)
{
addCriterion
(
"update_time <>"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThan
(
LocalDateTime
value
)
{
addCriterion
(
"update_time >"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThanOrEqualTo
(
LocalDateTime
value
)
{
addCriterion
(
"update_time >="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThan
(
LocalDateTime
value
)
{
addCriterion
(
"update_time <"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThanOrEqualTo
(
LocalDateTime
value
)
{
addCriterion
(
"update_time <="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIn
(
List
<
LocalDateTime
>
values
)
{
addCriterion
(
"update_time in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotIn
(
List
<
LocalDateTime
>
values
)
{
addCriterion
(
"update_time not in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeBetween
(
LocalDateTime
value1
,
LocalDateTime
value2
)
{
addCriterion
(
"update_time between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotBetween
(
LocalDateTime
value1
,
LocalDateTime
value2
)
{
addCriterion
(
"update_time not between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAvatarIsNull
()
{
addCriterion
(
"avatar is null"
);
return
(
Criteria
)
this
;
...
...
@@ -871,18 +811,6 @@ public class LitemallAdminExample {
return
deleted
?
andDeletedEqualTo
(
LitemallAdmin
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallAdmin
.
IS_DELETED
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
Criteria
andDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallAdmin
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallAdmin
.
IS_DELETED
);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_admin
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallBrand.java
View file @
936b5511
...
...
@@ -2,6 +2,8 @@ package org.linlinjava.litemall.db.domain;
import
java.math.BigDecimal
;
import
java.time.LocalDateTime
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
public
class
LitemallBrand
{
/**
...
...
@@ -13,16 +15,6 @@ public class LitemallBrand {
*/
public
static
final
Boolean
NOT_DELETED
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
static
final
Boolean
DEL_FLAG_ON
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_brand
...
...
@@ -32,16 +24,6 @@ public class LitemallBrand {
*/
public
static
final
Boolean
IS_DELETED
=
true
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
static
final
Boolean
DEL_FLAG_OFF
=
true
;
/**
*
* This field was generated by MyBatis Generator.
...
...
@@ -63,20 +45,11 @@ public class LitemallBrand {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_brand.
list_pic_url
* This field corresponds to the database column litemall_brand.
desc
*
* @mbg.generated
*/
private
String
listPicUrl
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_brand.simple_desc
*
* @mbg.generated
*/
private
String
simpleDesc
;
private
String
desc
;
/**
*
...
...
@@ -96,15 +69,6 @@ public class LitemallBrand {
*/
private
Byte
sortOrder
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_brand.is_show
*
* @mbg.generated
*/
private
Boolean
isShow
;
/**
*
* This field was generated by MyBatis Generator.
...
...
@@ -114,42 +78,6 @@ public class LitemallBrand {
*/
private
BigDecimal
floorPrice
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_brand.app_list_pic_url
*
* @mbg.generated
*/
private
String
appListPicUrl
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_brand.is_new
*
* @mbg.generated
*/
private
Boolean
isNew
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_brand.new_pic_url
*
* @mbg.generated
*/
private
String
newPicUrl
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_brand.new_sort_order
*
* @mbg.generated
*/
private
Byte
newSortOrder
;
/**
*
* This field was generated by MyBatis Generator.
...
...
@@ -218,50 +146,26 @@ public class LitemallBrand {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_brand.
list_pic_url
* This method returns the value of the database column litemall_brand.
desc
*
* @return the value of litemall_brand.
list_pic_url
* @return the value of litemall_brand.
desc
*
* @mbg.generated
*/
public
String
get
ListPicUrl
()
{
return
listPicUrl
;
public
String
get
Desc
()
{
return
desc
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_brand.
list_pic_url
* This method sets the value of the database column litemall_brand.
desc
*
* @param
listPicUrl
the value for litemall_brand.
list_pic_url
* @param
desc
the value for litemall_brand.
desc
*
* @mbg.generated
*/
public
void
setListPicUrl
(
String
listPicUrl
)
{
this
.
listPicUrl
=
listPicUrl
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_brand.simple_desc
*
* @return the value of litemall_brand.simple_desc
*
* @mbg.generated
*/
public
String
getSimpleDesc
()
{
return
simpleDesc
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_brand.simple_desc
*
* @param simpleDesc the value for litemall_brand.simple_desc
*
* @mbg.generated
*/
public
void
setSimpleDesc
(
String
simpleDesc
)
{
this
.
simpleDesc
=
simpleDesc
;
public
void
setDesc
(
String
desc
)
{
this
.
desc
=
desc
;
}
/**
...
...
@@ -312,30 +216,6 @@ public class LitemallBrand {
this
.
sortOrder
=
sortOrder
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_brand.is_show
*
* @return the value of litemall_brand.is_show
*
* @mbg.generated
*/
public
Boolean
getIsShow
()
{
return
isShow
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_brand.is_show
*
* @param isShow the value for litemall_brand.is_show
*
* @mbg.generated
*/
public
void
setIsShow
(
Boolean
isShow
)
{
this
.
isShow
=
isShow
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_brand.floor_price
...
...
@@ -360,102 +240,6 @@ public class LitemallBrand {
this
.
floorPrice
=
floorPrice
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_brand.app_list_pic_url
*
* @return the value of litemall_brand.app_list_pic_url
*
* @mbg.generated
*/
public
String
getAppListPicUrl
()
{
return
appListPicUrl
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_brand.app_list_pic_url
*
* @param appListPicUrl the value for litemall_brand.app_list_pic_url
*
* @mbg.generated
*/
public
void
setAppListPicUrl
(
String
appListPicUrl
)
{
this
.
appListPicUrl
=
appListPicUrl
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_brand.is_new
*
* @return the value of litemall_brand.is_new
*
* @mbg.generated
*/
public
Boolean
getIsNew
()
{
return
isNew
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_brand.is_new
*
* @param isNew the value for litemall_brand.is_new
*
* @mbg.generated
*/
public
void
setIsNew
(
Boolean
isNew
)
{
this
.
isNew
=
isNew
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_brand.new_pic_url
*
* @return the value of litemall_brand.new_pic_url
*
* @mbg.generated
*/
public
String
getNewPicUrl
()
{
return
newPicUrl
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_brand.new_pic_url
*
* @param newPicUrl the value for litemall_brand.new_pic_url
*
* @mbg.generated
*/
public
void
setNewPicUrl
(
String
newPicUrl
)
{
this
.
newPicUrl
=
newPicUrl
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_brand.new_sort_order
*
* @return the value of litemall_brand.new_sort_order
*
* @mbg.generated
*/
public
Byte
getNewSortOrder
()
{
return
newSortOrder
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_brand.new_sort_order
*
* @param newSortOrder the value for litemall_brand.new_sort_order
*
* @mbg.generated
*/
public
void
setNewSortOrder
(
Byte
newSortOrder
)
{
this
.
newSortOrder
=
newSortOrder
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_brand.add_time
...
...
@@ -518,16 +302,10 @@ public class LitemallBrand {
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", id="
).
append
(
id
);
sb
.
append
(
", name="
).
append
(
name
);
sb
.
append
(
", listPicUrl="
).
append
(
listPicUrl
);
sb
.
append
(
", simpleDesc="
).
append
(
simpleDesc
);
sb
.
append
(
", desc="
).
append
(
desc
);
sb
.
append
(
", picUrl="
).
append
(
picUrl
);
sb
.
append
(
", sortOrder="
).
append
(
sortOrder
);
sb
.
append
(
", isShow="
).
append
(
isShow
);
sb
.
append
(
", floorPrice="
).
append
(
floorPrice
);
sb
.
append
(
", appListPicUrl="
).
append
(
appListPicUrl
);
sb
.
append
(
", isNew="
).
append
(
isNew
);
sb
.
append
(
", newPicUrl="
).
append
(
newPicUrl
);
sb
.
append
(
", newSortOrder="
).
append
(
newSortOrder
);
sb
.
append
(
", addTime="
).
append
(
addTime
);
sb
.
append
(
", deleted="
).
append
(
deleted
);
sb
.
append
(
"]"
);
...
...
@@ -554,16 +332,10 @@ public class LitemallBrand {
LitemallBrand
other
=
(
LitemallBrand
)
that
;
return
(
this
.
getId
()
==
null
?
other
.
getId
()
==
null
:
this
.
getId
().
equals
(
other
.
getId
()))
&&
(
this
.
getName
()
==
null
?
other
.
getName
()
==
null
:
this
.
getName
().
equals
(
other
.
getName
()))
&&
(
this
.
getListPicUrl
()
==
null
?
other
.
getListPicUrl
()
==
null
:
this
.
getListPicUrl
().
equals
(
other
.
getListPicUrl
()))
&&
(
this
.
getSimpleDesc
()
==
null
?
other
.
getSimpleDesc
()
==
null
:
this
.
getSimpleDesc
().
equals
(
other
.
getSimpleDesc
()))
&&
(
this
.
getDesc
()
==
null
?
other
.
getDesc
()
==
null
:
this
.
getDesc
().
equals
(
other
.
getDesc
()))
&&
(
this
.
getPicUrl
()
==
null
?
other
.
getPicUrl
()
==
null
:
this
.
getPicUrl
().
equals
(
other
.
getPicUrl
()))
&&
(
this
.
getSortOrder
()
==
null
?
other
.
getSortOrder
()
==
null
:
this
.
getSortOrder
().
equals
(
other
.
getSortOrder
()))
&&
(
this
.
getIsShow
()
==
null
?
other
.
getIsShow
()
==
null
:
this
.
getIsShow
().
equals
(
other
.
getIsShow
()))
&&
(
this
.
getFloorPrice
()
==
null
?
other
.
getFloorPrice
()
==
null
:
this
.
getFloorPrice
().
equals
(
other
.
getFloorPrice
()))
&&
(
this
.
getAppListPicUrl
()
==
null
?
other
.
getAppListPicUrl
()
==
null
:
this
.
getAppListPicUrl
().
equals
(
other
.
getAppListPicUrl
()))
&&
(
this
.
getIsNew
()
==
null
?
other
.
getIsNew
()
==
null
:
this
.
getIsNew
().
equals
(
other
.
getIsNew
()))
&&
(
this
.
getNewPicUrl
()
==
null
?
other
.
getNewPicUrl
()
==
null
:
this
.
getNewPicUrl
().
equals
(
other
.
getNewPicUrl
()))
&&
(
this
.
getNewSortOrder
()
==
null
?
other
.
getNewSortOrder
()
==
null
:
this
.
getNewSortOrder
().
equals
(
other
.
getNewSortOrder
()))
&&
(
this
.
getAddTime
()
==
null
?
other
.
getAddTime
()
==
null
:
this
.
getAddTime
().
equals
(
other
.
getAddTime
()))
&&
(
this
.
getDeleted
()
==
null
?
other
.
getDeleted
()
==
null
:
this
.
getDeleted
().
equals
(
other
.
getDeleted
()));
}
...
...
@@ -580,16 +352,10 @@ public class LitemallBrand {
int
result
=
1
;
result
=
prime
*
result
+
((
getId
()
==
null
)
?
0
:
getId
().
hashCode
());
result
=
prime
*
result
+
((
getName
()
==
null
)
?
0
:
getName
().
hashCode
());
result
=
prime
*
result
+
((
getListPicUrl
()
==
null
)
?
0
:
getListPicUrl
().
hashCode
());
result
=
prime
*
result
+
((
getSimpleDesc
()
==
null
)
?
0
:
getSimpleDesc
().
hashCode
());
result
=
prime
*
result
+
((
getDesc
()
==
null
)
?
0
:
getDesc
().
hashCode
());
result
=
prime
*
result
+
((
getPicUrl
()
==
null
)
?
0
:
getPicUrl
().
hashCode
());
result
=
prime
*
result
+
((
getSortOrder
()
==
null
)
?
0
:
getSortOrder
().
hashCode
());
result
=
prime
*
result
+
((
getIsShow
()
==
null
)
?
0
:
getIsShow
().
hashCode
());
result
=
prime
*
result
+
((
getFloorPrice
()
==
null
)
?
0
:
getFloorPrice
().
hashCode
());
result
=
prime
*
result
+
((
getAppListPicUrl
()
==
null
)
?
0
:
getAppListPicUrl
().
hashCode
());
result
=
prime
*
result
+
((
getIsNew
()
==
null
)
?
0
:
getIsNew
().
hashCode
());
result
=
prime
*
result
+
((
getNewPicUrl
()
==
null
)
?
0
:
getNewPicUrl
().
hashCode
());
result
=
prime
*
result
+
((
getNewSortOrder
()
==
null
)
?
0
:
getNewSortOrder
().
hashCode
());
result
=
prime
*
result
+
((
getAddTime
()
==
null
)
?
0
:
getAddTime
().
hashCode
());
result
=
prime
*
result
+
((
getDeleted
()
==
null
)
?
0
:
getDeleted
().
hashCode
());
return
result
;
...
...
@@ -616,16 +382,10 @@ public class LitemallBrand {
public
enum
Column
{
id
(
"id"
,
"id"
,
"INTEGER"
),
name
(
"name"
,
"name"
,
"VARCHAR"
),
listPicUrl
(
"list_pic_url"
,
"listPicUrl"
,
"VARCHAR"
),
simpleDesc
(
"simple_desc"
,
"simpleDesc"
,
"VARCHAR"
),
desc
(
"desc"
,
"desc"
,
"VARCHAR"
),
picUrl
(
"pic_url"
,
"picUrl"
,
"VARCHAR"
),
sortOrder
(
"sort_order"
,
"sortOrder"
,
"TINYINT"
),
isShow
(
"is_show"
,
"isShow"
,
"BIT"
),
floorPrice
(
"floor_price"
,
"floorPrice"
,
"DECIMAL"
),
appListPicUrl
(
"app_list_pic_url"
,
"appListPicUrl"
,
"VARCHAR"
),
isNew
(
"is_new"
,
"isNew"
,
"BIT"
),
newPicUrl
(
"new_pic_url"
,
"newPicUrl"
,
"VARCHAR"
),
newSortOrder
(
"new_sort_order"
,
"newSortOrder"
,
"TINYINT"
),
addTime
(
"add_time"
,
"addTime"
,
"TIMESTAMP"
),
deleted
(
"deleted"
,
"deleted"
,
"BIT"
);
...
...
@@ -734,5 +494,20 @@ public class LitemallBrand {
public
String
asc
()
{
return
this
.
column
+
" ASC"
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
Column
[]
excludes
(
Column
...
excludes
)
{
ArrayList
<
Column
>
columns
=
new
ArrayList
<>(
Arrays
.
asList
(
Column
.
values
()));
if
(
excludes
!=
null
&&
excludes
.
length
>
0
)
{
columns
.
removeAll
(
new
ArrayList
<>(
Arrays
.
asList
(
excludes
)));
}
return
columns
.
toArray
(
new
Column
[]{});
}
}
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallBrandExample.java
View file @
936b5511
...
...
@@ -357,143 +357,73 @@ public class LitemallBrandExample {
return
(
Criteria
)
this
;
}
public
Criteria
and
ListPicUrl
IsNull
()
{
addCriterion
(
"
list_pic_url
is null"
);
public
Criteria
and
Desc
IsNull
()
{
addCriterion
(
"
`desc`
is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ListPicUrl
IsNotNull
()
{
addCriterion
(
"
list_pic_url
is not null"
);
public
Criteria
and
Desc
IsNotNull
()
{
addCriterion
(
"
`desc`
is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ListPicUrl
EqualTo
(
String
value
)
{
addCriterion
(
"
list_pic_url
="
,
value
,
"
listPicUrl
"
);
public
Criteria
and
Desc
EqualTo
(
String
value
)
{
addCriterion
(
"
`desc`
="
,
value
,
"
desc
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ListPicUrl
NotEqualTo
(
String
value
)
{
addCriterion
(
"
list_pic_url
<>"
,
value
,
"
listPicUrl
"
);
public
Criteria
and
Desc
NotEqualTo
(
String
value
)
{
addCriterion
(
"
`desc`
<>"
,
value
,
"
desc
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ListPicUrl
GreaterThan
(
String
value
)
{
addCriterion
(
"
list_pic_url
>"
,
value
,
"
listPicUrl
"
);
public
Criteria
and
Desc
GreaterThan
(
String
value
)
{
addCriterion
(
"
`desc`
>"
,
value
,
"
desc
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ListPicUrl
GreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
list_pic_url
>="
,
value
,
"
listPicUrl
"
);
public
Criteria
and
Desc
GreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
`desc`
>="
,
value
,
"
desc
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ListPicUrl
LessThan
(
String
value
)
{
addCriterion
(
"
list_pic_url
<"
,
value
,
"
listPicUrl
"
);
public
Criteria
and
Desc
LessThan
(
String
value
)
{
addCriterion
(
"
`desc`
<"
,
value
,
"
desc
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ListPicUrl
LessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
list_pic_url
<="
,
value
,
"
listPicUrl
"
);
public
Criteria
and
Desc
LessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
`desc`
<="
,
value
,
"
desc
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ListPicUrl
Like
(
String
value
)
{
addCriterion
(
"
list_pic_url
like"
,
value
,
"
listPicUrl
"
);
public
Criteria
and
Desc
Like
(
String
value
)
{
addCriterion
(
"
`desc`
like"
,
value
,
"
desc
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ListPicUrl
NotLike
(
String
value
)
{
addCriterion
(
"
list_pic_url
not like"
,
value
,
"
listPicUrl
"
);
public
Criteria
and
Desc
NotLike
(
String
value
)
{
addCriterion
(
"
`desc`
not like"
,
value
,
"
desc
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ListPicUrl
In
(
List
<
String
>
values
)
{
addCriterion
(
"
list_pic_url
in"
,
values
,
"
listPicUrl
"
);
public
Criteria
and
Desc
In
(
List
<
String
>
values
)
{
addCriterion
(
"
`desc`
in"
,
values
,
"
desc
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ListPicUrl
NotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
list_pic_url
not in"
,
values
,
"
listPicUrl
"
);
public
Criteria
and
Desc
NotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
`desc`
not in"
,
values
,
"
desc
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ListPicUrl
Between
(
String
value1
,
String
value2
)
{
addCriterion
(
"
list_pic_url
between"
,
value1
,
value2
,
"
listPicUrl
"
);
public
Criteria
and
Desc
Between
(
String
value1
,
String
value2
)
{
addCriterion
(
"
`desc`
between"
,
value1
,
value2
,
"
desc
"
);
return
(
Criteria
)
this
;
}
public
Criteria
andListPicUrlNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"list_pic_url not between"
,
value1
,
value2
,
"listPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSimpleDescIsNull
()
{
addCriterion
(
"simple_desc is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSimpleDescIsNotNull
()
{
addCriterion
(
"simple_desc is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSimpleDescEqualTo
(
String
value
)
{
addCriterion
(
"simple_desc ="
,
value
,
"simpleDesc"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSimpleDescNotEqualTo
(
String
value
)
{
addCriterion
(
"simple_desc <>"
,
value
,
"simpleDesc"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSimpleDescGreaterThan
(
String
value
)
{
addCriterion
(
"simple_desc >"
,
value
,
"simpleDesc"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSimpleDescGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"simple_desc >="
,
value
,
"simpleDesc"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSimpleDescLessThan
(
String
value
)
{
addCriterion
(
"simple_desc <"
,
value
,
"simpleDesc"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSimpleDescLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"simple_desc <="
,
value
,
"simpleDesc"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSimpleDescLike
(
String
value
)
{
addCriterion
(
"simple_desc like"
,
value
,
"simpleDesc"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSimpleDescNotLike
(
String
value
)
{
addCriterion
(
"simple_desc not like"
,
value
,
"simpleDesc"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSimpleDescIn
(
List
<
String
>
values
)
{
addCriterion
(
"simple_desc in"
,
values
,
"simpleDesc"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSimpleDescNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"simple_desc not in"
,
values
,
"simpleDesc"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSimpleDescBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"simple_desc between"
,
value1
,
value2
,
"simpleDesc"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSimpleDescNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"simple_desc not between"
,
value1
,
value2
,
"simpleDesc"
);
public
Criteria
andDescNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"`desc` not between"
,
value1
,
value2
,
"desc"
);
return
(
Criteria
)
this
;
}
...
...
@@ -627,66 +557,6 @@ public class LitemallBrandExample {
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowIsNull
()
{
addCriterion
(
"is_show is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowIsNotNull
()
{
addCriterion
(
"is_show is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowEqualTo
(
Boolean
value
)
{
addCriterion
(
"is_show ="
,
value
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowNotEqualTo
(
Boolean
value
)
{
addCriterion
(
"is_show <>"
,
value
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowGreaterThan
(
Boolean
value
)
{
addCriterion
(
"is_show >"
,
value
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowGreaterThanOrEqualTo
(
Boolean
value
)
{
addCriterion
(
"is_show >="
,
value
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowLessThan
(
Boolean
value
)
{
addCriterion
(
"is_show <"
,
value
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowLessThanOrEqualTo
(
Boolean
value
)
{
addCriterion
(
"is_show <="
,
value
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowIn
(
List
<
Boolean
>
values
)
{
addCriterion
(
"is_show in"
,
values
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowNotIn
(
List
<
Boolean
>
values
)
{
addCriterion
(
"is_show not in"
,
values
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowBetween
(
Boolean
value1
,
Boolean
value2
)
{
addCriterion
(
"is_show between"
,
value1
,
value2
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowNotBetween
(
Boolean
value1
,
Boolean
value2
)
{
addCriterion
(
"is_show not between"
,
value1
,
value2
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFloorPriceIsNull
()
{
addCriterion
(
"floor_price is null"
);
return
(
Criteria
)
this
;
...
...
@@ -747,266 +617,6 @@ public class LitemallBrandExample {
return
(
Criteria
)
this
;
}
public
Criteria
andAppListPicUrlIsNull
()
{
addCriterion
(
"app_list_pic_url is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppListPicUrlIsNotNull
()
{
addCriterion
(
"app_list_pic_url is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppListPicUrlEqualTo
(
String
value
)
{
addCriterion
(
"app_list_pic_url ="
,
value
,
"appListPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppListPicUrlNotEqualTo
(
String
value
)
{
addCriterion
(
"app_list_pic_url <>"
,
value
,
"appListPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppListPicUrlGreaterThan
(
String
value
)
{
addCriterion
(
"app_list_pic_url >"
,
value
,
"appListPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppListPicUrlGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"app_list_pic_url >="
,
value
,
"appListPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppListPicUrlLessThan
(
String
value
)
{
addCriterion
(
"app_list_pic_url <"
,
value
,
"appListPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppListPicUrlLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"app_list_pic_url <="
,
value
,
"appListPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppListPicUrlLike
(
String
value
)
{
addCriterion
(
"app_list_pic_url like"
,
value
,
"appListPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppListPicUrlNotLike
(
String
value
)
{
addCriterion
(
"app_list_pic_url not like"
,
value
,
"appListPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppListPicUrlIn
(
List
<
String
>
values
)
{
addCriterion
(
"app_list_pic_url in"
,
values
,
"appListPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppListPicUrlNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"app_list_pic_url not in"
,
values
,
"appListPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppListPicUrlBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"app_list_pic_url between"
,
value1
,
value2
,
"appListPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAppListPicUrlNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"app_list_pic_url not between"
,
value1
,
value2
,
"appListPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsNewIsNull
()
{
addCriterion
(
"is_new is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsNewIsNotNull
()
{
addCriterion
(
"is_new is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsNewEqualTo
(
Boolean
value
)
{
addCriterion
(
"is_new ="
,
value
,
"isNew"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsNewNotEqualTo
(
Boolean
value
)
{
addCriterion
(
"is_new <>"
,
value
,
"isNew"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsNewGreaterThan
(
Boolean
value
)
{
addCriterion
(
"is_new >"
,
value
,
"isNew"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsNewGreaterThanOrEqualTo
(
Boolean
value
)
{
addCriterion
(
"is_new >="
,
value
,
"isNew"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsNewLessThan
(
Boolean
value
)
{
addCriterion
(
"is_new <"
,
value
,
"isNew"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsNewLessThanOrEqualTo
(
Boolean
value
)
{
addCriterion
(
"is_new <="
,
value
,
"isNew"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsNewIn
(
List
<
Boolean
>
values
)
{
addCriterion
(
"is_new in"
,
values
,
"isNew"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsNewNotIn
(
List
<
Boolean
>
values
)
{
addCriterion
(
"is_new not in"
,
values
,
"isNew"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsNewBetween
(
Boolean
value1
,
Boolean
value2
)
{
addCriterion
(
"is_new between"
,
value1
,
value2
,
"isNew"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsNewNotBetween
(
Boolean
value1
,
Boolean
value2
)
{
addCriterion
(
"is_new not between"
,
value1
,
value2
,
"isNew"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewPicUrlIsNull
()
{
addCriterion
(
"new_pic_url is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewPicUrlIsNotNull
()
{
addCriterion
(
"new_pic_url is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewPicUrlEqualTo
(
String
value
)
{
addCriterion
(
"new_pic_url ="
,
value
,
"newPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewPicUrlNotEqualTo
(
String
value
)
{
addCriterion
(
"new_pic_url <>"
,
value
,
"newPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewPicUrlGreaterThan
(
String
value
)
{
addCriterion
(
"new_pic_url >"
,
value
,
"newPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewPicUrlGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"new_pic_url >="
,
value
,
"newPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewPicUrlLessThan
(
String
value
)
{
addCriterion
(
"new_pic_url <"
,
value
,
"newPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewPicUrlLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"new_pic_url <="
,
value
,
"newPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewPicUrlLike
(
String
value
)
{
addCriterion
(
"new_pic_url like"
,
value
,
"newPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewPicUrlNotLike
(
String
value
)
{
addCriterion
(
"new_pic_url not like"
,
value
,
"newPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewPicUrlIn
(
List
<
String
>
values
)
{
addCriterion
(
"new_pic_url in"
,
values
,
"newPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewPicUrlNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"new_pic_url not in"
,
values
,
"newPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewPicUrlBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"new_pic_url between"
,
value1
,
value2
,
"newPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewPicUrlNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"new_pic_url not between"
,
value1
,
value2
,
"newPicUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewSortOrderIsNull
()
{
addCriterion
(
"new_sort_order is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewSortOrderIsNotNull
()
{
addCriterion
(
"new_sort_order is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewSortOrderEqualTo
(
Byte
value
)
{
addCriterion
(
"new_sort_order ="
,
value
,
"newSortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewSortOrderNotEqualTo
(
Byte
value
)
{
addCriterion
(
"new_sort_order <>"
,
value
,
"newSortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewSortOrderGreaterThan
(
Byte
value
)
{
addCriterion
(
"new_sort_order >"
,
value
,
"newSortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewSortOrderGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"new_sort_order >="
,
value
,
"newSortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewSortOrderLessThan
(
Byte
value
)
{
addCriterion
(
"new_sort_order <"
,
value
,
"newSortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewSortOrderLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"new_sort_order <="
,
value
,
"newSortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewSortOrderIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"new_sort_order in"
,
values
,
"newSortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewSortOrderNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"new_sort_order not in"
,
values
,
"newSortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewSortOrderBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"new_sort_order between"
,
value1
,
value2
,
"newSortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNewSortOrderNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"new_sort_order not between"
,
value1
,
value2
,
"newSortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andAddTimeIsNull
()
{
addCriterion
(
"add_time is null"
);
return
(
Criteria
)
this
;
...
...
@@ -1192,18 +802,6 @@ public class LitemallBrandExample {
return
deleted
?
andDeletedEqualTo
(
LitemallBrand
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallBrand
.
IS_DELETED
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
Criteria
andDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallBrand
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallBrand
.
IS_DELETED
);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_brand
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCart.java
View file @
936b5511
...
...
@@ -2,6 +2,7 @@ package org.linlinjava.litemall.db.domain;
import
java.math.BigDecimal
;
import
java.time.LocalDateTime
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
public
class
LitemallCart
{
...
...
@@ -14,16 +15,6 @@ public class LitemallCart {
*/
public
static
final
Boolean
NOT_DELETED
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
static
final
Boolean
DEL_FLAG_ON
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_cart
...
...
@@ -33,16 +24,6 @@ public class LitemallCart {
*/
public
static
final
Boolean
IS_DELETED
=
true
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
static
final
Boolean
DEL_FLAG_OFF
=
true
;
/**
*
* This field was generated by MyBatis Generator.
...
...
@@ -79,15 +60,6 @@ public class LitemallCart {
*/
private
String
goodsSn
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_cart.product_id
*
* @mbg.generated
*/
private
Integer
productId
;
/**
*
* This field was generated by MyBatis Generator.
...
...
@@ -100,38 +72,38 @@ public class LitemallCart {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_cart.
retail_price
* This field corresponds to the database column litemall_cart.
product_id
*
* @mbg.generated
*/
private
BigDecimal
retailPrice
;
private
Integer
productId
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_cart.
number
* This field corresponds to the database column litemall_cart.
price
*
* @mbg.generated
*/
private
Short
number
;
private
BigDecimal
price
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_cart.
goods_specification_values
* This field corresponds to the database column litemall_cart.
number
*
* @mbg.generated
*/
private
S
tring
goodsSpecificationValues
;
private
S
hort
number
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_cart.
goods_
specification
_id
s
* This field corresponds to the database column litemall_cart.specifications
*
* @mbg.generated
*/
private
Integer
[]
goodsS
pecification
Id
s
;
private
String
[]
s
pecifications
;
/**
*
...
...
@@ -265,30 +237,6 @@ public class LitemallCart {
this
.
goodsSn
=
goodsSn
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_cart.product_id
*
* @return the value of litemall_cart.product_id
*
* @mbg.generated
*/
public
Integer
getProductId
()
{
return
productId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_cart.product_id
*
* @param productId the value for litemall_cart.product_id
*
* @mbg.generated
*/
public
void
setProductId
(
Integer
productId
)
{
this
.
productId
=
productId
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_cart.goods_name
...
...
@@ -315,98 +263,98 @@ public class LitemallCart {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_cart.
retail_price
* This method returns the value of the database column litemall_cart.
product_id
*
* @return the value of litemall_cart.
retail_price
* @return the value of litemall_cart.
product_id
*
* @mbg.generated
*/
public
BigDecimal
getRetailPrice
()
{
return
retailPrice
;
public
Integer
getProductId
()
{
return
productId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_cart.
retail_price
* This method sets the value of the database column litemall_cart.
product_id
*
* @param
retailPrice
the value for litemall_cart.
retail_price
* @param
productId
the value for litemall_cart.
product_id
*
* @mbg.generated
*/
public
void
set
RetailPrice
(
BigDecimal
retailPrice
)
{
this
.
retailPrice
=
retailPrice
;
public
void
set
ProductId
(
Integer
productId
)
{
this
.
productId
=
productId
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_cart.
number
* This method returns the value of the database column litemall_cart.
price
*
* @return the value of litemall_cart.
number
* @return the value of litemall_cart.
price
*
* @mbg.generated
*/
public
Short
getNumber
()
{
return
number
;
public
BigDecimal
getPrice
()
{
return
price
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_cart.
number
* This method sets the value of the database column litemall_cart.
price
*
* @param
number
the value for litemall_cart.
number
* @param
price
the value for litemall_cart.
price
*
* @mbg.generated
*/
public
void
set
Number
(
Short
number
)
{
this
.
number
=
number
;
public
void
set
Price
(
BigDecimal
price
)
{
this
.
price
=
price
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_cart.
goods_specification_values
* This method returns the value of the database column litemall_cart.
number
*
* @return the value of litemall_cart.
goods_specification_values
* @return the value of litemall_cart.
number
*
* @mbg.generated
*/
public
S
tring
getGoodsSpecificationValues
()
{
return
goodsSpecificationValues
;
public
S
hort
getNumber
()
{
return
number
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_cart.
goods_specification_values
* This method sets the value of the database column litemall_cart.
number
*
* @param
goodsSpecificationValues
the value for litemall_cart.
goods_specification_values
* @param
number
the value for litemall_cart.
number
*
* @mbg.generated
*/
public
void
set
GoodsSpecificationValues
(
String
goodsSpecificationValues
)
{
this
.
goodsSpecificationValues
=
goodsSpecificationValues
;
public
void
set
Number
(
Short
number
)
{
this
.
number
=
number
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_cart.
goods_
specification
_id
s
* This method returns the value of the database column litemall_cart.specifications
*
* @return the value of litemall_cart.
goods_
specification
_id
s
* @return the value of litemall_cart.specifications
*
* @mbg.generated
*/
public
Integer
[]
get
Goods
Specification
Id
s
()
{
return
goodsS
pecification
Id
s
;
public
String
[]
getSpecifications
()
{
return
s
pecifications
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_cart.
goods_
specification
_id
s
* This method sets the value of the database column litemall_cart.specifications
*
* @param
goodsS
pecification
Id
s the value for litemall_cart.
goods_
specification
_id
s
* @param
s
pecifications the value for litemall_cart.specifications
*
* @mbg.generated
*/
public
void
set
Goods
Specification
Ids
(
Integer
[]
goodsS
pecification
Id
s
)
{
this
.
goodsS
pecification
Id
s
=
goodsS
pecification
Id
s
;
public
void
setSpecification
s
(
String
[]
s
pecifications
)
{
this
.
s
pecifications
=
s
pecifications
;
}
/**
...
...
@@ -521,12 +469,11 @@ public class LitemallCart {
sb
.
append
(
", userId="
).
append
(
userId
);
sb
.
append
(
", goodsId="
).
append
(
goodsId
);
sb
.
append
(
", goodsSn="
).
append
(
goodsSn
);
sb
.
append
(
", productId="
).
append
(
productId
);
sb
.
append
(
", goodsName="
).
append
(
goodsName
);
sb
.
append
(
", retailPrice="
).
append
(
retailPrice
);
sb
.
append
(
", productId="
).
append
(
productId
);
sb
.
append
(
", price="
).
append
(
price
);
sb
.
append
(
", number="
).
append
(
number
);
sb
.
append
(
", goodsSpecificationValues="
).
append
(
goodsSpecificationValues
);
sb
.
append
(
", goodsSpecificationIds="
).
append
(
goodsSpecificationIds
);
sb
.
append
(
", specifications="
).
append
(
specifications
);
sb
.
append
(
", checked="
).
append
(
checked
);
sb
.
append
(
", picUrl="
).
append
(
picUrl
);
sb
.
append
(
", addTime="
).
append
(
addTime
);
...
...
@@ -557,12 +504,11 @@ public class LitemallCart {
&&
(
this
.
getUserId
()
==
null
?
other
.
getUserId
()
==
null
:
this
.
getUserId
().
equals
(
other
.
getUserId
()))
&&
(
this
.
getGoodsId
()
==
null
?
other
.
getGoodsId
()
==
null
:
this
.
getGoodsId
().
equals
(
other
.
getGoodsId
()))
&&
(
this
.
getGoodsSn
()
==
null
?
other
.
getGoodsSn
()
==
null
:
this
.
getGoodsSn
().
equals
(
other
.
getGoodsSn
()))
&&
(
this
.
getProductId
()
==
null
?
other
.
getProductId
()
==
null
:
this
.
getProductId
().
equals
(
other
.
getProductId
()))
&&
(
this
.
getGoodsName
()
==
null
?
other
.
getGoodsName
()
==
null
:
this
.
getGoodsName
().
equals
(
other
.
getGoodsName
()))
&&
(
this
.
getRetailPrice
()
==
null
?
other
.
getRetailPrice
()
==
null
:
this
.
getRetailPrice
().
equals
(
other
.
getRetailPrice
()))
&&
(
this
.
getProductId
()
==
null
?
other
.
getProductId
()
==
null
:
this
.
getProductId
().
equals
(
other
.
getProductId
()))
&&
(
this
.
getPrice
()
==
null
?
other
.
getPrice
()
==
null
:
this
.
getPrice
().
equals
(
other
.
getPrice
()))
&&
(
this
.
getNumber
()
==
null
?
other
.
getNumber
()
==
null
:
this
.
getNumber
().
equals
(
other
.
getNumber
()))
&&
(
this
.
getGoodsSpecificationValues
()
==
null
?
other
.
getGoodsSpecificationValues
()
==
null
:
this
.
getGoodsSpecificationValues
().
equals
(
other
.
getGoodsSpecificationValues
()))
&&
(
Arrays
.
equals
(
this
.
getGoodsSpecificationIds
(),
other
.
getGoodsSpecificationIds
()))
&&
(
Arrays
.
equals
(
this
.
getSpecifications
(),
other
.
getSpecifications
()))
&&
(
this
.
getChecked
()
==
null
?
other
.
getChecked
()
==
null
:
this
.
getChecked
().
equals
(
other
.
getChecked
()))
&&
(
this
.
getPicUrl
()
==
null
?
other
.
getPicUrl
()
==
null
:
this
.
getPicUrl
().
equals
(
other
.
getPicUrl
()))
&&
(
this
.
getAddTime
()
==
null
?
other
.
getAddTime
()
==
null
:
this
.
getAddTime
().
equals
(
other
.
getAddTime
()))
...
...
@@ -583,12 +529,11 @@ public class LitemallCart {
result
=
prime
*
result
+
((
getUserId
()
==
null
)
?
0
:
getUserId
().
hashCode
());
result
=
prime
*
result
+
((
getGoodsId
()
==
null
)
?
0
:
getGoodsId
().
hashCode
());
result
=
prime
*
result
+
((
getGoodsSn
()
==
null
)
?
0
:
getGoodsSn
().
hashCode
());
result
=
prime
*
result
+
((
getProductId
()
==
null
)
?
0
:
getProductId
().
hashCode
());
result
=
prime
*
result
+
((
getGoodsName
()
==
null
)
?
0
:
getGoodsName
().
hashCode
());
result
=
prime
*
result
+
((
getRetailPrice
()
==
null
)
?
0
:
getRetailPrice
().
hashCode
());
result
=
prime
*
result
+
((
getProductId
()
==
null
)
?
0
:
getProductId
().
hashCode
());
result
=
prime
*
result
+
((
getPrice
()
==
null
)
?
0
:
getPrice
().
hashCode
());
result
=
prime
*
result
+
((
getNumber
()
==
null
)
?
0
:
getNumber
().
hashCode
());
result
=
prime
*
result
+
((
getGoodsSpecificationValues
()
==
null
)
?
0
:
getGoodsSpecificationValues
().
hashCode
());
result
=
prime
*
result
+
(
Arrays
.
hashCode
(
getGoodsSpecificationIds
()));
result
=
prime
*
result
+
(
Arrays
.
hashCode
(
getSpecifications
()));
result
=
prime
*
result
+
((
getChecked
()
==
null
)
?
0
:
getChecked
().
hashCode
());
result
=
prime
*
result
+
((
getPicUrl
()
==
null
)
?
0
:
getPicUrl
().
hashCode
());
result
=
prime
*
result
+
((
getAddTime
()
==
null
)
?
0
:
getAddTime
().
hashCode
());
...
...
@@ -619,12 +564,11 @@ public class LitemallCart {
userId
(
"user_id"
,
"userId"
,
"INTEGER"
),
goodsId
(
"goods_id"
,
"goodsId"
,
"INTEGER"
),
goodsSn
(
"goods_sn"
,
"goodsSn"
,
"VARCHAR"
),
productId
(
"product_id"
,
"productId"
,
"INTEGER"
),
goodsName
(
"goods_name"
,
"goodsName"
,
"VARCHAR"
),
retailPrice
(
"retail_price"
,
"retailPrice"
,
"DECIMAL"
),
productId
(
"product_id"
,
"productId"
,
"INTEGER"
),
price
(
"price"
,
"price"
,
"DECIMAL"
),
number
(
"number"
,
"number"
,
"SMALLINT"
),
goodsSpecificationValues
(
"goods_specification_values"
,
"goodsSpecificationValues"
,
"VARCHAR"
),
goodsSpecificationIds
(
"goods_specification_ids"
,
"goodsSpecificationIds"
,
"CHAR"
),
specifications
(
"specifications"
,
"specifications"
,
"VARCHAR"
),
checked
(
"checked"
,
"checked"
,
"BIT"
),
picUrl
(
"pic_url"
,
"picUrl"
,
"VARCHAR"
),
addTime
(
"add_time"
,
"addTime"
,
"TIMESTAMP"
),
...
...
@@ -735,5 +679,20 @@ public class LitemallCart {
public
String
asc
()
{
return
this
.
column
+
" ASC"
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
Column
[]
excludes
(
Column
...
excludes
)
{
ArrayList
<
Column
>
columns
=
new
ArrayList
<>(
Arrays
.
asList
(
Column
.
values
()));
if
(
excludes
!=
null
&&
excludes
.
length
>
0
)
{
columns
.
removeAll
(
new
ArrayList
<>(
Arrays
.
asList
(
excludes
)));
}
return
columns
.
toArray
(
new
Column
[]{});
}
}
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCartExample.java
View file @
936b5511
...
...
@@ -187,7 +187,7 @@ public class LitemallCartExample {
* @mbg.generated
*/
protected
abstract
static
class
GeneratedCriteria
{
protected
List
<
Criterion
>
goodsS
pecification
Id
sCriteria
;
protected
List
<
Criterion
>
s
pecificationsCriteria
;
protected
List
<
Criterion
>
allCriteria
;
...
...
@@ -196,39 +196,39 @@ public class LitemallCartExample {
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
goodsS
pecification
Id
sCriteria
=
new
ArrayList
<
Criterion
>();
s
pecificationsCriteria
=
new
ArrayList
<
Criterion
>();
}
public
List
<
Criterion
>
get
Goods
Specification
Id
sCriteria
()
{
return
goodsS
pecification
Id
sCriteria
;
public
List
<
Criterion
>
getSpecificationsCriteria
()
{
return
s
pecificationsCriteria
;
}
protected
void
add
Goods
Specification
Id
sCriterion
(
String
condition
,
Object
value
,
String
property
)
{
protected
void
addSpecificationsCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
goodsS
pecification
Id
sCriteria
.
add
(
new
Criterion
(
condition
,
value
,
"org.linlinjava.litemall.db.mybatis.Json
Integer
ArrayTypeHandler"
));
s
pecificationsCriteria
.
add
(
new
Criterion
(
condition
,
value
,
"org.linlinjava.litemall.db.mybatis.Json
String
ArrayTypeHandler"
));
allCriteria
=
null
;
}
protected
void
add
Goods
Specification
Id
sCriterion
(
String
condition
,
Integer
[]
value1
,
Integer
[]
value2
,
String
property
)
{
protected
void
addSpecificationsCriterion
(
String
condition
,
String
[]
value1
,
String
[]
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
goodsS
pecification
Id
sCriteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
,
"org.linlinjava.litemall.db.mybatis.Json
Integer
ArrayTypeHandler"
));
s
pecificationsCriteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
,
"org.linlinjava.litemall.db.mybatis.Json
String
ArrayTypeHandler"
));
allCriteria
=
null
;
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
||
goodsS
pecification
Id
sCriteria
.
size
()
>
0
;
||
s
pecificationsCriteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
if
(
allCriteria
==
null
)
{
allCriteria
=
new
ArrayList
<
Criterion
>();
allCriteria
.
addAll
(
criteria
);
allCriteria
.
addAll
(
goodsS
pecification
Id
sCriteria
);
allCriteria
.
addAll
(
s
pecificationsCriteria
);
}
return
allCriteria
;
}
...
...
@@ -511,66 +511,6 @@ public class LitemallCartExample {
return
(
Criteria
)
this
;
}
public
Criteria
andProductIdIsNull
()
{
addCriterion
(
"product_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductIdIsNotNull
()
{
addCriterion
(
"product_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductIdEqualTo
(
Integer
value
)
{
addCriterion
(
"product_id ="
,
value
,
"productId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductIdNotEqualTo
(
Integer
value
)
{
addCriterion
(
"product_id <>"
,
value
,
"productId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductIdGreaterThan
(
Integer
value
)
{
addCriterion
(
"product_id >"
,
value
,
"productId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductIdGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"product_id >="
,
value
,
"productId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductIdLessThan
(
Integer
value
)
{
addCriterion
(
"product_id <"
,
value
,
"productId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductIdLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"product_id <="
,
value
,
"productId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductIdIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"product_id in"
,
values
,
"productId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductIdNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"product_id not in"
,
values
,
"productId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductIdBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"product_id between"
,
value1
,
value2
,
"productId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andProductIdNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"product_id not between"
,
value1
,
value2
,
"productId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andGoodsNameIsNull
()
{
addCriterion
(
"goods_name is null"
);
return
(
Criteria
)
this
;
...
...
@@ -641,263 +581,253 @@ public class LitemallCartExample {
return
(
Criteria
)
this
;
}
public
Criteria
andRetailPriceIsNull
()
{
addCriterion
(
"retail_price is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRetailPriceIsNotNull
()
{
addCriterion
(
"retail_price is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRetailPriceEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"retail_price ="
,
value
,
"retailPrice"
);
public
Criteria
andProductIdIsNull
()
{
addCriterion
(
"product_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
RetailPriceNotEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
retail_price <>"
,
value
,
"retailPrice
"
);
public
Criteria
and
ProductIdIsNotNull
(
)
{
addCriterion
(
"
product_id is not null
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
RetailPriceGreaterThan
(
BigDecimal
value
)
{
addCriterion
(
"
retail_price >"
,
value
,
"retailPrice
"
);
public
Criteria
and
ProductIdEqualTo
(
Integer
value
)
{
addCriterion
(
"
product_id ="
,
value
,
"productId
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
RetailPriceGreaterThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
retail_price >="
,
value
,
"retailPrice
"
);
public
Criteria
and
ProductIdNotEqualTo
(
Integer
value
)
{
addCriterion
(
"
product_id <>"
,
value
,
"productId
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
RetailPriceLessThan
(
BigDecimal
value
)
{
addCriterion
(
"
retail_price <"
,
value
,
"retailPrice
"
);
public
Criteria
and
ProductIdGreaterThan
(
Integer
value
)
{
addCriterion
(
"
product_id >"
,
value
,
"productId
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
RetailPriceLess
ThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
retail_price <
="
,
value
,
"
retailPrice
"
);
public
Criteria
and
ProductIdGreater
ThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"
product_id >
="
,
value
,
"
productId
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
RetailPriceIn
(
List
<
BigDecimal
>
value
s
)
{
addCriterion
(
"
retail_price in
"
,
value
s
,
"
retailPrice
"
);
public
Criteria
and
ProductIdLessThan
(
Integer
value
)
{
addCriterion
(
"
product_id <
"
,
value
,
"
productId
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
RetailPriceNotIn
(
List
<
BigDecimal
>
value
s
)
{
addCriterion
(
"
retail_price not in
"
,
value
s
,
"
retailPrice
"
);
public
Criteria
and
ProductIdLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"
product_id <=
"
,
value
,
"
productId
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
RetailPriceBetween
(
BigDecimal
value1
,
BigDecimal
value
2
)
{
addCriterion
(
"
retail_price between"
,
value1
,
value2
,
"retailPrice
"
);
public
Criteria
and
ProductIdIn
(
List
<
Integer
>
value
s
)
{
addCriterion
(
"
product_id in"
,
values
,
"productId
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
RetailPriceNotBetween
(
BigDecimal
value1
,
BigDecimal
value
2
)
{
addCriterion
(
"
retail_price not between"
,
value1
,
value2
,
"retailPrice
"
);
public
Criteria
and
ProductIdNotIn
(
List
<
Integer
>
value
s
)
{
addCriterion
(
"
product_id not in"
,
values
,
"productId
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NumberIsNull
(
)
{
addCriterion
(
"
`number` is null
"
);
public
Criteria
and
ProductIdBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"
product_id between"
,
value1
,
value2
,
"productId
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NumberIsNotNull
(
)
{
addCriterion
(
"
`number` is not null
"
);
public
Criteria
and
ProductIdNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"
product_id not between"
,
value1
,
value2
,
"productId
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NumberEqualTo
(
Short
value
)
{
addCriterion
(
"
`number` ="
,
value
,
"number
"
);
public
Criteria
and
PriceIsNull
(
)
{
addCriterion
(
"
price is null
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NumberNotEqualTo
(
Short
value
)
{
addCriterion
(
"
`number` <>"
,
value
,
"number
"
);
public
Criteria
and
PriceIsNotNull
(
)
{
addCriterion
(
"
price is not null
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NumberGreaterThan
(
Short
value
)
{
addCriterion
(
"
`number` >
"
,
value
,
"
number
"
);
public
Criteria
and
PriceEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
price =
"
,
value
,
"
price
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NumberGreaterThanOrEqualTo
(
Short
value
)
{
addCriterion
(
"
`number` >=
"
,
value
,
"
number
"
);
public
Criteria
and
PriceNotEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
price <>
"
,
value
,
"
price
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NumberLessThan
(
Short
value
)
{
addCriterion
(
"
`number` <
"
,
value
,
"
number
"
);
public
Criteria
and
PriceGreaterThan
(
BigDecimal
value
)
{
addCriterion
(
"
price >
"
,
value
,
"
price
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NumberLess
ThanOrEqualTo
(
Short
value
)
{
addCriterion
(
"
`number` <
="
,
value
,
"
number
"
);
public
Criteria
and
PriceGreater
ThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
price >
="
,
value
,
"
price
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NumberIn
(
List
<
Short
>
value
s
)
{
addCriterion
(
"
`number` in
"
,
value
s
,
"
number
"
);
public
Criteria
and
PriceLessThan
(
BigDecimal
value
)
{
addCriterion
(
"
price <
"
,
value
,
"
price
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NumberNotIn
(
List
<
Short
>
value
s
)
{
addCriterion
(
"
`number` not in
"
,
value
s
,
"
number
"
);
public
Criteria
and
PriceLessThanOrEqualTo
(
BigDecimal
value
)
{
addCriterion
(
"
price <=
"
,
value
,
"
price
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NumberBetween
(
Short
value1
,
Short
value
2
)
{
addCriterion
(
"
`number` between"
,
value1
,
value2
,
"number
"
);
public
Criteria
and
PriceIn
(
List
<
BigDecimal
>
value
s
)
{
addCriterion
(
"
price in"
,
values
,
"price
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NumberNotBetween
(
Short
value1
,
Short
value
2
)
{
addCriterion
(
"
`number` not between"
,
value1
,
value2
,
"number
"
);
public
Criteria
and
PriceNotIn
(
List
<
BigDecimal
>
value
s
)
{
addCriterion
(
"
price not in"
,
values
,
"price
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
GoodsSpecificationValuesIsNull
(
)
{
addCriterion
(
"
goods_specification_values is null
"
);
public
Criteria
and
PriceBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"
price between"
,
value1
,
value2
,
"price
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
GoodsSpecificationValuesIsNotNull
(
)
{
addCriterion
(
"
goods_specification_values is not null
"
);
public
Criteria
and
PriceNotBetween
(
BigDecimal
value1
,
BigDecimal
value2
)
{
addCriterion
(
"
price not between"
,
value1
,
value2
,
"price
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
GoodsSpecificationValuesEqualTo
(
String
value
)
{
addCriterion
(
"
goods_specification_values ="
,
value
,
"goodsSpecificationValues
"
);
public
Criteria
and
NumberIsNull
(
)
{
addCriterion
(
"
`number` is null
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
GoodsSpecificationValuesNotEqualTo
(
String
value
)
{
addCriterion
(
"
goods_specification_values <>"
,
value
,
"goodsSpecificationValues
"
);
public
Criteria
and
NumberIsNotNull
(
)
{
addCriterion
(
"
`number` is not null
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
GoodsSpecificationValuesGreaterThan
(
String
value
)
{
addCriterion
(
"
goods_specification_values >"
,
value
,
"goodsSpecificationValues
"
);
public
Criteria
and
NumberEqualTo
(
Short
value
)
{
addCriterion
(
"
`number` ="
,
value
,
"number
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
GoodsSpecificationValuesGreaterThanOr
EqualTo
(
S
tring
value
)
{
addCriterion
(
"
goods_specification_values >="
,
value
,
"goodsSpecificationValues
"
);
public
Criteria
and
NumberNot
EqualTo
(
S
hort
value
)
{
addCriterion
(
"
`number` <>"
,
value
,
"number
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
GoodsSpecificationValuesLess
Than
(
S
tring
value
)
{
addCriterion
(
"
goods_specification_values <"
,
value
,
"goodsSpecificationValues
"
);
public
Criteria
and
NumberGreater
Than
(
S
hort
value
)
{
addCriterion
(
"
`number` >"
,
value
,
"number
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
GoodsSpecificationValuesLess
ThanOrEqualTo
(
S
tring
value
)
{
addCriterion
(
"
goods_specification_values <="
,
value
,
"goodsSpecificationValues
"
);
public
Criteria
and
NumberGreater
ThanOrEqualTo
(
S
hort
value
)
{
addCriterion
(
"
`number` >="
,
value
,
"number
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
GoodsSpecificationValuesLike
(
String
value
)
{
addCriterion
(
"
goods_specification_values like"
,
value
,
"goodsSpecificationValues
"
);
public
Criteria
and
NumberLessThan
(
Short
value
)
{
addCriterion
(
"
`number` <"
,
value
,
"number
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
GoodsSpecificationValuesNotLike
(
String
value
)
{
addCriterion
(
"
goods_specification_values not like"
,
value
,
"goodsSpecificationValues
"
);
public
Criteria
and
NumberLessThanOrEqualTo
(
Short
value
)
{
addCriterion
(
"
`number` <="
,
value
,
"number
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
GoodsSpecificationValues
In
(
List
<
S
tring
>
values
)
{
addCriterion
(
"
goods_specification_values in"
,
values
,
"goodsSpecificationValues
"
);
public
Criteria
and
Number
In
(
List
<
S
hort
>
values
)
{
addCriterion
(
"
`number` in"
,
values
,
"number
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
GoodsSpecificationValues
NotIn
(
List
<
S
tring
>
values
)
{
addCriterion
(
"
goods_specification_values not in"
,
values
,
"goodsSpecificationValues
"
);
public
Criteria
and
Number
NotIn
(
List
<
S
hort
>
values
)
{
addCriterion
(
"
`number` not in"
,
values
,
"number
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
GoodsSpecificationValues
Between
(
S
tring
value1
,
S
tring
value2
)
{
addCriterion
(
"
goods_specification_values
between"
,
value1
,
value2
,
"
goodsSpecificationValues
"
);
public
Criteria
and
Number
Between
(
S
hort
value1
,
S
hort
value2
)
{
addCriterion
(
"
`number`
between"
,
value1
,
value2
,
"
number
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
GoodsSpecificationValues
NotBetween
(
S
tring
value1
,
S
tring
value2
)
{
addCriterion
(
"
goods_specification_values
not between"
,
value1
,
value2
,
"
goodsSpecificationValues
"
);
public
Criteria
and
Number
NotBetween
(
S
hort
value1
,
S
hort
value2
)
{
addCriterion
(
"
`number`
not between"
,
value1
,
value2
,
"
number
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Goods
Specification
Id
sIsNull
()
{
addCriterion
(
"
goods_
specification
_id
s is null"
);
public
Criteria
andSpecificationsIsNull
()
{
addCriterion
(
"specifications is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Goods
Specification
Id
sIsNotNull
()
{
addCriterion
(
"
goods_
specification
_id
s is not null"
);
public
Criteria
andSpecificationsIsNotNull
()
{
addCriterion
(
"specifications is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Goods
Specification
Id
sEqualTo
(
Integer
[]
value
)
{
add
Goods
Specification
Id
sCriterion
(
"
goods_
specification
_id
s ="
,
value
,
"
goodsS
pecification
Id
s"
);
public
Criteria
andSpecificationsEqualTo
(
String
[]
value
)
{
addSpecificationsCriterion
(
"specifications ="
,
value
,
"
s
pecifications"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Goods
Specification
Id
sNotEqualTo
(
Integer
[]
value
)
{
add
Goods
Specification
Id
sCriterion
(
"
goods_
specification
_id
s <>"
,
value
,
"
goodsS
pecification
Id
s"
);
public
Criteria
andSpecificationsNotEqualTo
(
String
[]
value
)
{
addSpecificationsCriterion
(
"specifications <>"
,
value
,
"
s
pecifications"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Goods
Specification
Id
sGreaterThan
(
Integer
[]
value
)
{
add
Goods
Specification
Id
sCriterion
(
"
goods_
specification
_id
s >"
,
value
,
"
goodsS
pecification
Id
s"
);
public
Criteria
andSpecificationsGreaterThan
(
String
[]
value
)
{
addSpecificationsCriterion
(
"specifications >"
,
value
,
"
s
pecifications"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Goods
Specification
Id
sGreaterThanOrEqualTo
(
Integer
[]
value
)
{
add
Goods
Specification
Id
sCriterion
(
"
goods_
specification
_id
s >="
,
value
,
"
goodsS
pecification
Id
s"
);
public
Criteria
andSpecificationsGreaterThanOrEqualTo
(
String
[]
value
)
{
addSpecificationsCriterion
(
"specifications >="
,
value
,
"
s
pecifications"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Goods
Specification
Id
sLessThan
(
Integer
[]
value
)
{
add
Goods
Specification
Id
sCriterion
(
"
goods_
specification
_id
s <"
,
value
,
"
goodsS
pecification
Id
s"
);
public
Criteria
andSpecificationsLessThan
(
String
[]
value
)
{
addSpecificationsCriterion
(
"specifications <"
,
value
,
"
s
pecifications"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Goods
Specification
Id
sLessThanOrEqualTo
(
Integer
[]
value
)
{
add
Goods
Specification
Id
sCriterion
(
"
goods_
specification
_id
s <="
,
value
,
"
goodsS
pecification
Id
s"
);
public
Criteria
andSpecificationsLessThanOrEqualTo
(
String
[]
value
)
{
addSpecificationsCriterion
(
"specifications <="
,
value
,
"
s
pecifications"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Goods
Specification
Id
sLike
(
Integer
[]
value
)
{
add
Goods
Specification
Id
sCriterion
(
"
goods_
specification
_id
s like"
,
value
,
"
goodsS
pecification
Id
s"
);
public
Criteria
andSpecificationsLike
(
String
[]
value
)
{
addSpecificationsCriterion
(
"specifications like"
,
value
,
"
s
pecifications"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Goods
Specification
Id
sNotLike
(
Integer
[]
value
)
{
add
Goods
Specification
Id
sCriterion
(
"
goods_
specification
_id
s not like"
,
value
,
"
goodsS
pecification
Id
s"
);
public
Criteria
andSpecificationsNotLike
(
String
[]
value
)
{
addSpecificationsCriterion
(
"specifications not like"
,
value
,
"
s
pecifications"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Goods
Specification
Id
sIn
(
List
<
Integer
[]>
values
)
{
add
Goods
Specification
Id
sCriterion
(
"
goods_
specification
_id
s in"
,
values
,
"
goodsS
pecification
Id
s"
);
public
Criteria
andSpecificationsIn
(
List
<
String
[]>
values
)
{
addSpecificationsCriterion
(
"specifications in"
,
values
,
"
s
pecifications"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Goods
Specification
Id
sNotIn
(
List
<
Integer
[]>
values
)
{
add
Goods
Specification
Id
sCriterion
(
"
goods_
specification
_id
s not in"
,
values
,
"
goodsS
pecification
Id
s"
);
public
Criteria
andSpecificationsNotIn
(
List
<
String
[]>
values
)
{
addSpecificationsCriterion
(
"specifications not in"
,
values
,
"
s
pecifications"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Goods
Specification
Id
sBetween
(
Integer
[]
value1
,
Integer
[]
value2
)
{
add
Goods
Specification
Id
sCriterion
(
"
goods_
specification
_id
s between"
,
value1
,
value2
,
"
goodsS
pecification
Id
s"
);
public
Criteria
andSpecificationsBetween
(
String
[]
value1
,
String
[]
value2
)
{
addSpecificationsCriterion
(
"specifications between"
,
value1
,
value2
,
"
s
pecifications"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Goods
Specification
Id
sNotBetween
(
Integer
[]
value1
,
Integer
[]
value2
)
{
add
Goods
Specification
Id
sCriterion
(
"
goods_
specification
_id
s not between"
,
value1
,
value2
,
"
goodsS
pecification
Id
s"
);
public
Criteria
andSpecificationsNotBetween
(
String
[]
value1
,
String
[]
value2
)
{
addSpecificationsCriterion
(
"specifications not between"
,
value1
,
value2
,
"
s
pecifications"
);
return
(
Criteria
)
this
;
}
...
...
@@ -1216,18 +1146,6 @@ public class LitemallCartExample {
return
deleted
?
andDeletedEqualTo
(
LitemallCart
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallCart
.
IS_DELETED
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
Criteria
andDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallCart
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallCart
.
IS_DELETED
);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_cart
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCategory.java
View file @
936b5511
package
org.linlinjava.litemall.db.domain
;
import
java.time.LocalDateTime
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
public
class
LitemallCategory
{
/**
...
...
@@ -12,16 +14,6 @@ public class LitemallCategory {
*/
public
static
final
Boolean
NOT_DELETED
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
static
final
Boolean
DEL_FLAG_ON
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_category
...
...
@@ -31,16 +23,6 @@ public class LitemallCategory {
*/
public
static
final
Boolean
IS_DELETED
=
true
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
static
final
Boolean
DEL_FLAG_OFF
=
true
;
/**
*
* This field was generated by MyBatis Generator.
...
...
@@ -71,56 +53,20 @@ public class LitemallCategory {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_category.front_desc
*
* @mbg.generated
*/
private
String
frontDesc
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_category.parent_id
*
* @mbg.generated
*/
private
Integer
parentId
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_category.sort_order
*
* @mbg.generated
*/
private
Byte
sortOrder
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_category.show_index
*
* @mbg.generated
*/
private
Byte
showIndex
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_category.is_show
* This field corresponds to the database column litemall_category.desc
*
* @mbg.generated
*/
private
Boolean
isShow
;
private
String
desc
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_category.
banner_url
* This field corresponds to the database column litemall_category.
pid
*
* @mbg.generated
*/
private
String
bannerUrl
;
private
Integer
pid
;
/**
*
...
...
@@ -134,20 +80,11 @@ public class LitemallCategory {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_category.img_url
*
* @mbg.generated
*/
private
String
imgUrl
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_category.wap_banner_url
* This field corresponds to the database column litemall_category.pic_url
*
* @mbg.generated
*/
private
String
wapBanner
Url
;
private
String
pic
Url
;
/**
*
...
...
@@ -161,20 +98,11 @@ public class LitemallCategory {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_category.type
*
* @mbg.generated
*/
private
Integer
type
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_category.front_name
* This field corresponds to the database column litemall_category.sort_order
*
* @mbg.generated
*/
private
String
frontName
;
private
Byte
sortOrder
;
/**
*
...
...
@@ -268,146 +196,50 @@ public class LitemallCategory {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_category.front_desc
*
* @return the value of litemall_category.front_desc
*
* @mbg.generated
*/
public
String
getFrontDesc
()
{
return
frontDesc
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_category.front_desc
*
* @param frontDesc the value for litemall_category.front_desc
*
* @mbg.generated
*/
public
void
setFrontDesc
(
String
frontDesc
)
{
this
.
frontDesc
=
frontDesc
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_category.parent_id
*
* @return the value of litemall_category.parent_id
*
* @mbg.generated
*/
public
Integer
getParentId
()
{
return
parentId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_category.parent_id
*
* @param parentId the value for litemall_category.parent_id
*
* @mbg.generated
*/
public
void
setParentId
(
Integer
parentId
)
{
this
.
parentId
=
parentId
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_category.sort_order
*
* @return the value of litemall_category.sort_order
*
* @mbg.generated
*/
public
Byte
getSortOrder
()
{
return
sortOrder
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_category.sort_order
*
* @param sortOrder the value for litemall_category.sort_order
*
* @mbg.generated
*/
public
void
setSortOrder
(
Byte
sortOrder
)
{
this
.
sortOrder
=
sortOrder
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_category.show_index
*
* @return the value of litemall_category.show_index
*
* @mbg.generated
*/
public
Byte
getShowIndex
()
{
return
showIndex
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_category.show_index
*
* @param showIndex the value for litemall_category.show_index
*
* @mbg.generated
*/
public
void
setShowIndex
(
Byte
showIndex
)
{
this
.
showIndex
=
showIndex
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_category.is_show
* This method returns the value of the database column litemall_category.desc
*
* @return the value of litemall_category.
is_show
* @return the value of litemall_category.
desc
*
* @mbg.generated
*/
public
Boolean
getIsShow
()
{
return
isShow
;
public
String
getDesc
()
{
return
desc
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_category.
is_show
* This method sets the value of the database column litemall_category.
desc
*
* @param
isShow
the value for litemall_category.
is_show
* @param
desc
the value for litemall_category.
desc
*
* @mbg.generated
*/
public
void
set
IsShow
(
Boolean
isShow
)
{
this
.
isShow
=
isShow
;
public
void
set
Desc
(
String
desc
)
{
this
.
desc
=
desc
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_category.
banner_url
* This method returns the value of the database column litemall_category.
pid
*
* @return the value of litemall_category.
banner_url
* @return the value of litemall_category.
pid
*
* @mbg.generated
*/
public
String
getBannerUrl
()
{
return
bannerUrl
;
public
Integer
getPid
()
{
return
pid
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_category.
banner_url
* This method sets the value of the database column litemall_category.
pid
*
* @param
bannerUrl
the value for litemall_category.
banner_url
* @param
pid
the value for litemall_category.
pid
*
* @mbg.generated
*/
public
void
set
BannerUrl
(
String
bannerUrl
)
{
this
.
bannerUrl
=
bannerUrl
;
public
void
set
Pid
(
Integer
pid
)
{
this
.
pid
=
pid
;
}
/**
...
...
@@ -436,50 +268,26 @@ public class LitemallCategory {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_category.img_url
*
* @return the value of litemall_category.img_url
*
* @mbg.generated
*/
public
String
getImgUrl
()
{
return
imgUrl
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_category.img_url
*
* @param imgUrl the value for litemall_category.img_url
*
* @mbg.generated
*/
public
void
setImgUrl
(
String
imgUrl
)
{
this
.
imgUrl
=
imgUrl
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_category.wap_banner_url
* This method returns the value of the database column litemall_category.pic_url
*
* @return the value of litemall_category.
wap_banner
_url
* @return the value of litemall_category.
pic
_url
*
* @mbg.generated
*/
public
String
get
WapBanner
Url
()
{
return
wapBanner
Url
;
public
String
get
Pic
Url
()
{
return
pic
Url
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_category.
wap_banner
_url
* This method sets the value of the database column litemall_category.
pic
_url
*
* @param
wapBanner
Url the value for litemall_category.
wap_banner
_url
* @param
pic
Url the value for litemall_category.
pic
_url
*
* @mbg.generated
*/
public
void
set
WapBanner
Url
(
String
wapBanner
Url
)
{
this
.
wapBannerUrl
=
wapBanner
Url
;
public
void
set
Pic
Url
(
String
pic
Url
)
{
this
.
picUrl
=
pic
Url
;
}
/**
...
...
@@ -508,50 +316,26 @@ public class LitemallCategory {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_category.type
*
* @return the value of litemall_category.type
*
* @mbg.generated
*/
public
Integer
getType
()
{
return
type
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_category.type
*
* @param type the value for litemall_category.type
*
* @mbg.generated
*/
public
void
setType
(
Integer
type
)
{
this
.
type
=
type
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_category.front_name
* This method returns the value of the database column litemall_category.sort_order
*
* @return the value of litemall_category.
front_name
* @return the value of litemall_category.
sort_order
*
* @mbg.generated
*/
public
String
getFrontName
()
{
return
frontName
;
public
Byte
getSortOrder
()
{
return
sortOrder
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_category.
front_name
* This method sets the value of the database column litemall_category.
sort_order
*
* @param
frontName
the value for litemall_category.
front_name
* @param
sortOrder
the value for litemall_category.
sort_order
*
* @mbg.generated
*/
public
void
set
FrontName
(
String
frontName
)
{
this
.
frontName
=
frontName
;
public
void
set
SortOrder
(
Byte
sortOrder
)
{
this
.
sortOrder
=
sortOrder
;
}
/**
...
...
@@ -617,18 +401,12 @@ public class LitemallCategory {
sb
.
append
(
", id="
).
append
(
id
);
sb
.
append
(
", name="
).
append
(
name
);
sb
.
append
(
", keywords="
).
append
(
keywords
);
sb
.
append
(
", frontDesc="
).
append
(
frontDesc
);
sb
.
append
(
", parentId="
).
append
(
parentId
);
sb
.
append
(
", sortOrder="
).
append
(
sortOrder
);
sb
.
append
(
", showIndex="
).
append
(
showIndex
);
sb
.
append
(
", isShow="
).
append
(
isShow
);
sb
.
append
(
", bannerUrl="
).
append
(
bannerUrl
);
sb
.
append
(
", desc="
).
append
(
desc
);
sb
.
append
(
", pid="
).
append
(
pid
);
sb
.
append
(
", iconUrl="
).
append
(
iconUrl
);
sb
.
append
(
", imgUrl="
).
append
(
imgUrl
);
sb
.
append
(
", wapBannerUrl="
).
append
(
wapBannerUrl
);
sb
.
append
(
", picUrl="
).
append
(
picUrl
);
sb
.
append
(
", level="
).
append
(
level
);
sb
.
append
(
", type="
).
append
(
type
);
sb
.
append
(
", frontName="
).
append
(
frontName
);
sb
.
append
(
", sortOrder="
).
append
(
sortOrder
);
sb
.
append
(
", addTime="
).
append
(
addTime
);
sb
.
append
(
", deleted="
).
append
(
deleted
);
sb
.
append
(
"]"
);
...
...
@@ -656,18 +434,12 @@ public class LitemallCategory {
return
(
this
.
getId
()
==
null
?
other
.
getId
()
==
null
:
this
.
getId
().
equals
(
other
.
getId
()))
&&
(
this
.
getName
()
==
null
?
other
.
getName
()
==
null
:
this
.
getName
().
equals
(
other
.
getName
()))
&&
(
this
.
getKeywords
()
==
null
?
other
.
getKeywords
()
==
null
:
this
.
getKeywords
().
equals
(
other
.
getKeywords
()))
&&
(
this
.
getFrontDesc
()
==
null
?
other
.
getFrontDesc
()
==
null
:
this
.
getFrontDesc
().
equals
(
other
.
getFrontDesc
()))
&&
(
this
.
getParentId
()
==
null
?
other
.
getParentId
()
==
null
:
this
.
getParentId
().
equals
(
other
.
getParentId
()))
&&
(
this
.
getSortOrder
()
==
null
?
other
.
getSortOrder
()
==
null
:
this
.
getSortOrder
().
equals
(
other
.
getSortOrder
()))
&&
(
this
.
getShowIndex
()
==
null
?
other
.
getShowIndex
()
==
null
:
this
.
getShowIndex
().
equals
(
other
.
getShowIndex
()))
&&
(
this
.
getIsShow
()
==
null
?
other
.
getIsShow
()
==
null
:
this
.
getIsShow
().
equals
(
other
.
getIsShow
()))
&&
(
this
.
getBannerUrl
()
==
null
?
other
.
getBannerUrl
()
==
null
:
this
.
getBannerUrl
().
equals
(
other
.
getBannerUrl
()))
&&
(
this
.
getDesc
()
==
null
?
other
.
getDesc
()
==
null
:
this
.
getDesc
().
equals
(
other
.
getDesc
()))
&&
(
this
.
getPid
()
==
null
?
other
.
getPid
()
==
null
:
this
.
getPid
().
equals
(
other
.
getPid
()))
&&
(
this
.
getIconUrl
()
==
null
?
other
.
getIconUrl
()
==
null
:
this
.
getIconUrl
().
equals
(
other
.
getIconUrl
()))
&&
(
this
.
getImgUrl
()
==
null
?
other
.
getImgUrl
()
==
null
:
this
.
getImgUrl
().
equals
(
other
.
getImgUrl
()))
&&
(
this
.
getWapBannerUrl
()
==
null
?
other
.
getWapBannerUrl
()
==
null
:
this
.
getWapBannerUrl
().
equals
(
other
.
getWapBannerUrl
()))
&&
(
this
.
getPicUrl
()
==
null
?
other
.
getPicUrl
()
==
null
:
this
.
getPicUrl
().
equals
(
other
.
getPicUrl
()))
&&
(
this
.
getLevel
()
==
null
?
other
.
getLevel
()
==
null
:
this
.
getLevel
().
equals
(
other
.
getLevel
()))
&&
(
this
.
getType
()
==
null
?
other
.
getType
()
==
null
:
this
.
getType
().
equals
(
other
.
getType
()))
&&
(
this
.
getFrontName
()
==
null
?
other
.
getFrontName
()
==
null
:
this
.
getFrontName
().
equals
(
other
.
getFrontName
()))
&&
(
this
.
getSortOrder
()
==
null
?
other
.
getSortOrder
()
==
null
:
this
.
getSortOrder
().
equals
(
other
.
getSortOrder
()))
&&
(
this
.
getAddTime
()
==
null
?
other
.
getAddTime
()
==
null
:
this
.
getAddTime
().
equals
(
other
.
getAddTime
()))
&&
(
this
.
getDeleted
()
==
null
?
other
.
getDeleted
()
==
null
:
this
.
getDeleted
().
equals
(
other
.
getDeleted
()));
}
...
...
@@ -685,18 +457,12 @@ public class LitemallCategory {
result
=
prime
*
result
+
((
getId
()
==
null
)
?
0
:
getId
().
hashCode
());
result
=
prime
*
result
+
((
getName
()
==
null
)
?
0
:
getName
().
hashCode
());
result
=
prime
*
result
+
((
getKeywords
()
==
null
)
?
0
:
getKeywords
().
hashCode
());
result
=
prime
*
result
+
((
getFrontDesc
()
==
null
)
?
0
:
getFrontDesc
().
hashCode
());
result
=
prime
*
result
+
((
getParentId
()
==
null
)
?
0
:
getParentId
().
hashCode
());
result
=
prime
*
result
+
((
getSortOrder
()
==
null
)
?
0
:
getSortOrder
().
hashCode
());
result
=
prime
*
result
+
((
getShowIndex
()
==
null
)
?
0
:
getShowIndex
().
hashCode
());
result
=
prime
*
result
+
((
getIsShow
()
==
null
)
?
0
:
getIsShow
().
hashCode
());
result
=
prime
*
result
+
((
getBannerUrl
()
==
null
)
?
0
:
getBannerUrl
().
hashCode
());
result
=
prime
*
result
+
((
getDesc
()
==
null
)
?
0
:
getDesc
().
hashCode
());
result
=
prime
*
result
+
((
getPid
()
==
null
)
?
0
:
getPid
().
hashCode
());
result
=
prime
*
result
+
((
getIconUrl
()
==
null
)
?
0
:
getIconUrl
().
hashCode
());
result
=
prime
*
result
+
((
getImgUrl
()
==
null
)
?
0
:
getImgUrl
().
hashCode
());
result
=
prime
*
result
+
((
getWapBannerUrl
()
==
null
)
?
0
:
getWapBannerUrl
().
hashCode
());
result
=
prime
*
result
+
((
getPicUrl
()
==
null
)
?
0
:
getPicUrl
().
hashCode
());
result
=
prime
*
result
+
((
getLevel
()
==
null
)
?
0
:
getLevel
().
hashCode
());
result
=
prime
*
result
+
((
getType
()
==
null
)
?
0
:
getType
().
hashCode
());
result
=
prime
*
result
+
((
getFrontName
()
==
null
)
?
0
:
getFrontName
().
hashCode
());
result
=
prime
*
result
+
((
getSortOrder
()
==
null
)
?
0
:
getSortOrder
().
hashCode
());
result
=
prime
*
result
+
((
getAddTime
()
==
null
)
?
0
:
getAddTime
().
hashCode
());
result
=
prime
*
result
+
((
getDeleted
()
==
null
)
?
0
:
getDeleted
().
hashCode
());
return
result
;
...
...
@@ -724,18 +490,12 @@ public class LitemallCategory {
id
(
"id"
,
"id"
,
"INTEGER"
),
name
(
"name"
,
"name"
,
"VARCHAR"
),
keywords
(
"keywords"
,
"keywords"
,
"VARCHAR"
),
frontDesc
(
"front_desc"
,
"frontDesc"
,
"VARCHAR"
),
parentId
(
"parent_id"
,
"parentId"
,
"INTEGER"
),
sortOrder
(
"sort_order"
,
"sortOrder"
,
"TINYINT"
),
showIndex
(
"show_index"
,
"showIndex"
,
"TINYINT"
),
isShow
(
"is_show"
,
"isShow"
,
"BIT"
),
bannerUrl
(
"banner_url"
,
"bannerUrl"
,
"VARCHAR"
),
desc
(
"desc"
,
"desc"
,
"VARCHAR"
),
pid
(
"pid"
,
"pid"
,
"INTEGER"
),
iconUrl
(
"icon_url"
,
"iconUrl"
,
"VARCHAR"
),
imgUrl
(
"img_url"
,
"imgUrl"
,
"VARCHAR"
),
wapBannerUrl
(
"wap_banner_url"
,
"wapBannerUrl"
,
"VARCHAR"
),
picUrl
(
"pic_url"
,
"picUrl"
,
"VARCHAR"
),
level
(
"level"
,
"level"
,
"VARCHAR"
),
type
(
"type"
,
"type"
,
"INTEGER"
),
frontName
(
"front_name"
,
"frontName"
,
"VARCHAR"
),
sortOrder
(
"sort_order"
,
"sortOrder"
,
"TINYINT"
),
addTime
(
"add_time"
,
"addTime"
,
"TIMESTAMP"
),
deleted
(
"deleted"
,
"deleted"
,
"BIT"
);
...
...
@@ -844,5 +604,20 @@ public class LitemallCategory {
public
String
asc
()
{
return
this
.
column
+
" ASC"
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
Column
[]
excludes
(
Column
...
excludes
)
{
ArrayList
<
Column
>
columns
=
new
ArrayList
<>(
Arrays
.
asList
(
Column
.
values
()));
if
(
excludes
!=
null
&&
excludes
.
length
>
0
)
{
columns
.
removeAll
(
new
ArrayList
<>(
Arrays
.
asList
(
excludes
)));
}
return
columns
.
toArray
(
new
Column
[]{});
}
}
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCategoryExample.java
View file @
936b5511
...
...
@@ -426,383 +426,133 @@ public class LitemallCategoryExample {
return
(
Criteria
)
this
;
}
public
Criteria
and
Front
DescIsNull
()
{
addCriterion
(
"
front_
desc is null"
);
public
Criteria
andDescIsNull
()
{
addCriterion
(
"
`
desc
`
is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Front
DescIsNotNull
()
{
addCriterion
(
"
front_
desc is not null"
);
public
Criteria
andDescIsNotNull
()
{
addCriterion
(
"
`
desc
`
is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Front
DescEqualTo
(
String
value
)
{
addCriterion
(
"
front_
desc ="
,
value
,
"
frontD
esc"
);
public
Criteria
andDescEqualTo
(
String
value
)
{
addCriterion
(
"
`
desc
`
="
,
value
,
"
d
esc"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Front
DescNotEqualTo
(
String
value
)
{
addCriterion
(
"
front_
desc <>"
,
value
,
"
frontD
esc"
);
public
Criteria
andDescNotEqualTo
(
String
value
)
{
addCriterion
(
"
`
desc
`
<>"
,
value
,
"
d
esc"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Front
DescGreaterThan
(
String
value
)
{
addCriterion
(
"
front_
desc >"
,
value
,
"
frontD
esc"
);
public
Criteria
andDescGreaterThan
(
String
value
)
{
addCriterion
(
"
`
desc
`
>"
,
value
,
"
d
esc"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Front
DescGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
front_
desc >="
,
value
,
"
frontD
esc"
);
public
Criteria
andDescGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
`
desc
`
>="
,
value
,
"
d
esc"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Front
DescLessThan
(
String
value
)
{
addCriterion
(
"
front_
desc <"
,
value
,
"
frontD
esc"
);
public
Criteria
andDescLessThan
(
String
value
)
{
addCriterion
(
"
`
desc
`
<"
,
value
,
"
d
esc"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Front
DescLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
front_
desc <="
,
value
,
"
frontD
esc"
);
public
Criteria
andDescLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
`
desc
`
<="
,
value
,
"
d
esc"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Front
DescLike
(
String
value
)
{
addCriterion
(
"
front_
desc like"
,
value
,
"
frontD
esc"
);
public
Criteria
andDescLike
(
String
value
)
{
addCriterion
(
"
`
desc
`
like"
,
value
,
"
d
esc"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Front
DescNotLike
(
String
value
)
{
addCriterion
(
"
front_
desc not like"
,
value
,
"
frontD
esc"
);
public
Criteria
andDescNotLike
(
String
value
)
{
addCriterion
(
"
`
desc
`
not like"
,
value
,
"
d
esc"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Front
DescIn
(
List
<
String
>
values
)
{
addCriterion
(
"
front_
desc in"
,
values
,
"
frontD
esc"
);
public
Criteria
andDescIn
(
List
<
String
>
values
)
{
addCriterion
(
"
`
desc
`
in"
,
values
,
"
d
esc"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Front
DescNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
front_
desc not in"
,
values
,
"
frontD
esc"
);
public
Criteria
andDescNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
`
desc
`
not in"
,
values
,
"
d
esc"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Front
DescBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
front_
desc between"
,
value1
,
value2
,
"
frontD
esc"
);
public
Criteria
andDescBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
`
desc
`
between"
,
value1
,
value2
,
"
d
esc"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Front
DescNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
front_
desc not between"
,
value1
,
value2
,
"
frontD
esc"
);
public
Criteria
andDescNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
`
desc
`
not between"
,
value1
,
value2
,
"
d
esc"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
arentI
dIsNull
()
{
addCriterion
(
"p
arent_
id is null"
);
public
Criteria
andP
i
dIsNull
()
{
addCriterion
(
"pid is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
arentI
dIsNotNull
()
{
addCriterion
(
"p
arent_
id is not null"
);
public
Criteria
andP
i
dIsNotNull
()
{
addCriterion
(
"pid is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
arentI
dEqualTo
(
Integer
value
)
{
addCriterion
(
"p
arent_
id ="
,
value
,
"p
arentI
d"
);
public
Criteria
andP
i
dEqualTo
(
Integer
value
)
{
addCriterion
(
"pid ="
,
value
,
"p
i
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
arentI
dNotEqualTo
(
Integer
value
)
{
addCriterion
(
"p
arent_
id <>"
,
value
,
"p
arentI
d"
);
public
Criteria
andP
i
dNotEqualTo
(
Integer
value
)
{
addCriterion
(
"pid <>"
,
value
,
"p
i
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
arentI
dGreaterThan
(
Integer
value
)
{
addCriterion
(
"p
arent_
id >"
,
value
,
"p
arentI
d"
);
public
Criteria
andP
i
dGreaterThan
(
Integer
value
)
{
addCriterion
(
"pid >"
,
value
,
"p
i
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
arentI
dGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"p
arent_
id >="
,
value
,
"p
arentI
d"
);
public
Criteria
andP
i
dGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"pid >="
,
value
,
"p
i
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
arentI
dLessThan
(
Integer
value
)
{
addCriterion
(
"p
arent_
id <"
,
value
,
"p
arentI
d"
);
public
Criteria
andP
i
dLessThan
(
Integer
value
)
{
addCriterion
(
"pid <"
,
value
,
"p
i
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
arentI
dLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"p
arent_
id <="
,
value
,
"p
arentI
d"
);
public
Criteria
andP
i
dLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"pid <="
,
value
,
"p
i
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
arentI
dIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"p
arent_
id in"
,
values
,
"p
arentI
d"
);
public
Criteria
andP
i
dIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"pid in"
,
values
,
"p
i
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
arentI
dNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"p
arent_
id not in"
,
values
,
"p
arentI
d"
);
public
Criteria
andP
i
dNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"pid not in"
,
values
,
"p
i
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andP
arentI
dBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"p
arent_
id between"
,
value1
,
value2
,
"p
arentI
d"
);
public
Criteria
andP
i
dBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"pid between"
,
value1
,
value2
,
"p
i
d"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParentIdNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"parent_id not between"
,
value1
,
value2
,
"parentId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortOrderIsNull
()
{
addCriterion
(
"sort_order is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortOrderIsNotNull
()
{
addCriterion
(
"sort_order is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortOrderEqualTo
(
Byte
value
)
{
addCriterion
(
"sort_order ="
,
value
,
"sortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortOrderNotEqualTo
(
Byte
value
)
{
addCriterion
(
"sort_order <>"
,
value
,
"sortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortOrderGreaterThan
(
Byte
value
)
{
addCriterion
(
"sort_order >"
,
value
,
"sortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortOrderGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"sort_order >="
,
value
,
"sortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortOrderLessThan
(
Byte
value
)
{
addCriterion
(
"sort_order <"
,
value
,
"sortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortOrderLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"sort_order <="
,
value
,
"sortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortOrderIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"sort_order in"
,
values
,
"sortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortOrderNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"sort_order not in"
,
values
,
"sortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortOrderBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"sort_order between"
,
value1
,
value2
,
"sortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSortOrderNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"sort_order not between"
,
value1
,
value2
,
"sortOrder"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShowIndexIsNull
()
{
addCriterion
(
"show_index is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShowIndexIsNotNull
()
{
addCriterion
(
"show_index is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShowIndexEqualTo
(
Byte
value
)
{
addCriterion
(
"show_index ="
,
value
,
"showIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShowIndexNotEqualTo
(
Byte
value
)
{
addCriterion
(
"show_index <>"
,
value
,
"showIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShowIndexGreaterThan
(
Byte
value
)
{
addCriterion
(
"show_index >"
,
value
,
"showIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShowIndexGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"show_index >="
,
value
,
"showIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShowIndexLessThan
(
Byte
value
)
{
addCriterion
(
"show_index <"
,
value
,
"showIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShowIndexLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"show_index <="
,
value
,
"showIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShowIndexIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"show_index in"
,
values
,
"showIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShowIndexNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"show_index not in"
,
values
,
"showIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShowIndexBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"show_index between"
,
value1
,
value2
,
"showIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andShowIndexNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"show_index not between"
,
value1
,
value2
,
"showIndex"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowIsNull
()
{
addCriterion
(
"is_show is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowIsNotNull
()
{
addCriterion
(
"is_show is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowEqualTo
(
Boolean
value
)
{
addCriterion
(
"is_show ="
,
value
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowNotEqualTo
(
Boolean
value
)
{
addCriterion
(
"is_show <>"
,
value
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowGreaterThan
(
Boolean
value
)
{
addCriterion
(
"is_show >"
,
value
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowGreaterThanOrEqualTo
(
Boolean
value
)
{
addCriterion
(
"is_show >="
,
value
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowLessThan
(
Boolean
value
)
{
addCriterion
(
"is_show <"
,
value
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowLessThanOrEqualTo
(
Boolean
value
)
{
addCriterion
(
"is_show <="
,
value
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowIn
(
List
<
Boolean
>
values
)
{
addCriterion
(
"is_show in"
,
values
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowNotIn
(
List
<
Boolean
>
values
)
{
addCriterion
(
"is_show not in"
,
values
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowBetween
(
Boolean
value1
,
Boolean
value2
)
{
addCriterion
(
"is_show between"
,
value1
,
value2
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsShowNotBetween
(
Boolean
value1
,
Boolean
value2
)
{
addCriterion
(
"is_show not between"
,
value1
,
value2
,
"isShow"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBannerUrlIsNull
()
{
addCriterion
(
"banner_url is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBannerUrlIsNotNull
()
{
addCriterion
(
"banner_url is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBannerUrlEqualTo
(
String
value
)
{
addCriterion
(
"banner_url ="
,
value
,
"bannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBannerUrlNotEqualTo
(
String
value
)
{
addCriterion
(
"banner_url <>"
,
value
,
"bannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBannerUrlGreaterThan
(
String
value
)
{
addCriterion
(
"banner_url >"
,
value
,
"bannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBannerUrlGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"banner_url >="
,
value
,
"bannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBannerUrlLessThan
(
String
value
)
{
addCriterion
(
"banner_url <"
,
value
,
"bannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBannerUrlLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"banner_url <="
,
value
,
"bannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBannerUrlLike
(
String
value
)
{
addCriterion
(
"banner_url like"
,
value
,
"bannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBannerUrlNotLike
(
String
value
)
{
addCriterion
(
"banner_url not like"
,
value
,
"bannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBannerUrlIn
(
List
<
String
>
values
)
{
addCriterion
(
"banner_url in"
,
values
,
"bannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBannerUrlNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"banner_url not in"
,
values
,
"bannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBannerUrlBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"banner_url between"
,
value1
,
value2
,
"bannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBannerUrlNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"banner_url not between"
,
value1
,
value2
,
"bannerUrl"
);
public
Criteria
andPidNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"pid not between"
,
value1
,
value2
,
"pid"
);
return
(
Criteria
)
this
;
}
...
...
@@ -876,143 +626,73 @@ public class LitemallCategoryExample {
return
(
Criteria
)
this
;
}
public
Criteria
andImgUrlIsNull
()
{
addCriterion
(
"img_url is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImgUrlIsNotNull
()
{
addCriterion
(
"img_url is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImgUrlEqualTo
(
String
value
)
{
addCriterion
(
"img_url ="
,
value
,
"imgUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andImgUrlNotEqualTo
(
String
value
)
{
addCriterion
(
"img_url <>"
,
value
,
"imgUrl"
);
public
Criteria
andPicUrlIsNull
()
{
addCriterion
(
"pic_url is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ImgUrlGreaterThan
(
String
value
)
{
addCriterion
(
"
img
_url
>"
,
value
,
"imgUr
l"
);
public
Criteria
and
PicUrlIsNotNull
(
)
{
addCriterion
(
"
pic
_url
is not nul
l"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ImgUrlGreaterThanOr
EqualTo
(
String
value
)
{
addCriterion
(
"
img
_url
>
="
,
value
,
"
img
Url"
);
public
Criteria
and
PicUrl
EqualTo
(
String
value
)
{
addCriterion
(
"
pic
_url ="
,
value
,
"
pic
Url"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ImgUrlLessThan
(
String
value
)
{
addCriterion
(
"
img
_url <"
,
value
,
"
img
Url"
);
public
Criteria
and
PicUrlNotEqualTo
(
String
value
)
{
addCriterion
(
"
pic
_url <
>
"
,
value
,
"
pic
Url"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ImgUrlLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
img
_url
<=
"
,
value
,
"
img
Url"
);
public
Criteria
and
PicUrlGreaterThan
(
String
value
)
{
addCriterion
(
"
pic
_url
>
"
,
value
,
"
pic
Url"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ImgUrlLike
(
String
value
)
{
addCriterion
(
"
img
_url
like
"
,
value
,
"
img
Url"
);
public
Criteria
and
PicUrlGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
pic
_url
>=
"
,
value
,
"
pic
Url"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ImgUrlNotLike
(
String
value
)
{
addCriterion
(
"
img
_url
not like
"
,
value
,
"
img
Url"
);
public
Criteria
and
PicUrlLessThan
(
String
value
)
{
addCriterion
(
"
pic
_url
<
"
,
value
,
"
pic
Url"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ImgUrlIn
(
List
<
String
>
value
s
)
{
addCriterion
(
"
img
_url
in
"
,
value
s
,
"
img
Url"
);
public
Criteria
and
PicUrlLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
pic
_url
<=
"
,
value
,
"
pic
Url"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ImgUrlNotIn
(
List
<
String
>
value
s
)
{
addCriterion
(
"
img
_url
not in
"
,
value
s
,
"
img
Url"
);
public
Criteria
and
PicUrlLike
(
String
value
)
{
addCriterion
(
"
pic
_url
like
"
,
value
,
"
pic
Url"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ImgUrlBetween
(
String
value1
,
String
value
2
)
{
addCriterion
(
"
img
_url
between"
,
value1
,
value
2
,
"
img
Url"
);
public
Criteria
and
PicUrlNotLike
(
String
value
)
{
addCriterion
(
"
pic
_url
not like"
,
value
,
"
pic
Url"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ImgUrlNotBetween
(
String
value1
,
String
value
2
)
{
addCriterion
(
"
img
_url
not between"
,
value1
,
value2
,
"img
Url"
);
public
Criteria
and
PicUrlIn
(
List
<
String
>
value
s
)
{
addCriterion
(
"
pic
_url
in"
,
values
,
"pic
Url"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
WapBannerUrlIsNull
(
)
{
addCriterion
(
"
wap_banner_url is nul
l"
);
public
Criteria
and
PicUrlNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
pic_url not in"
,
values
,
"picUr
l"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
WapBannerUrlIsNotNull
(
)
{
addCriterion
(
"
wap_banner_url is not nul
l"
);
public
Criteria
and
PicUrlBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
pic_url between"
,
value1
,
value2
,
"picUr
l"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWapBannerUrlEqualTo
(
String
value
)
{
addCriterion
(
"wap_banner_url ="
,
value
,
"wapBannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWapBannerUrlNotEqualTo
(
String
value
)
{
addCriterion
(
"wap_banner_url <>"
,
value
,
"wapBannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWapBannerUrlGreaterThan
(
String
value
)
{
addCriterion
(
"wap_banner_url >"
,
value
,
"wapBannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWapBannerUrlGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"wap_banner_url >="
,
value
,
"wapBannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWapBannerUrlLessThan
(
String
value
)
{
addCriterion
(
"wap_banner_url <"
,
value
,
"wapBannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWapBannerUrlLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"wap_banner_url <="
,
value
,
"wapBannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWapBannerUrlLike
(
String
value
)
{
addCriterion
(
"wap_banner_url like"
,
value
,
"wapBannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWapBannerUrlNotLike
(
String
value
)
{
addCriterion
(
"wap_banner_url not like"
,
value
,
"wapBannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWapBannerUrlIn
(
List
<
String
>
values
)
{
addCriterion
(
"wap_banner_url in"
,
values
,
"wapBannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWapBannerUrlNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"wap_banner_url not in"
,
values
,
"wapBannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWapBannerUrlBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"wap_banner_url between"
,
value1
,
value2
,
"wapBannerUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andWapBannerUrlNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"wap_banner_url not between"
,
value1
,
value2
,
"wapBannerUrl"
);
public
Criteria
andPicUrlNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"pic_url not between"
,
value1
,
value2
,
"picUrl"
);
return
(
Criteria
)
this
;
}
...
...
@@ -1086,133 +766,63 @@ public class LitemallCategoryExample {
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
(
Integer
value
)
{
addCriterion
(
"`type` ="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotEqualTo
(
Integer
value
)
{
addCriterion
(
"`type` <>"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThan
(
Integer
value
)
{
addCriterion
(
"`type` >"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"`type` >="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThan
(
Integer
value
)
{
addCriterion
(
"`type` <"
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"`type` <="
,
value
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"`type` in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"`type` not in"
,
values
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"`type` between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"`type` not between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFrontNameIsNull
()
{
addCriterion
(
"front_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFrontNameIsNotNull
()
{
addCriterion
(
"front_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andFrontNameEqualTo
(
String
value
)
{
addCriterion
(
"front_name ="
,
value
,
"frontName"
);
public
Criteria
andSortOrderIsNull
()
{
addCriterion
(
"sort_order is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
FrontNameNotEqualTo
(
String
value
)
{
addCriterion
(
"
front_name <>"
,
value
,
"frontName
"
);
public
Criteria
and
SortOrderIsNotNull
(
)
{
addCriterion
(
"
sort_order is not null
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
FrontNameGreaterThan
(
String
value
)
{
addCriterion
(
"
front_name >
"
,
value
,
"
frontName
"
);
public
Criteria
and
SortOrderEqualTo
(
Byte
value
)
{
addCriterion
(
"
sort_order =
"
,
value
,
"
sortOrder
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
FrontNameGreaterThanOr
EqualTo
(
String
value
)
{
addCriterion
(
"
front_name >=
"
,
value
,
"
frontName
"
);
public
Criteria
and
SortOrderNot
EqualTo
(
Byte
value
)
{
addCriterion
(
"
sort_order <>
"
,
value
,
"
sortOrder
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
FrontNameLessThan
(
String
value
)
{
addCriterion
(
"
front_name <
"
,
value
,
"
frontName
"
);
public
Criteria
and
SortOrderGreaterThan
(
Byte
value
)
{
addCriterion
(
"
sort_order >
"
,
value
,
"
sortOrder
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
FrontNameLess
ThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
front_name <
="
,
value
,
"
frontName
"
);
public
Criteria
and
SortOrderGreater
ThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"
sort_order >
="
,
value
,
"
sortOrder
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
FrontNameLike
(
String
value
)
{
addCriterion
(
"
front_name like
"
,
value
,
"
frontName
"
);
public
Criteria
and
SortOrderLessThan
(
Byte
value
)
{
addCriterion
(
"
sort_order <
"
,
value
,
"
sortOrder
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
FrontNameNotLike
(
String
value
)
{
addCriterion
(
"
front_name not like
"
,
value
,
"
frontName
"
);
public
Criteria
and
SortOrderLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"
sort_order <=
"
,
value
,
"
sortOrder
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
FrontName
In
(
List
<
String
>
values
)
{
addCriterion
(
"
front_name
in"
,
values
,
"
frontName
"
);
public
Criteria
and
SortOrder
In
(
List
<
Byte
>
values
)
{
addCriterion
(
"
sort_order
in"
,
values
,
"
sortOrder
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
FrontName
NotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
front_name
not in"
,
values
,
"
frontName
"
);
public
Criteria
and
SortOrder
NotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"
sort_order
not in"
,
values
,
"
sortOrder
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
FrontName
Between
(
String
value1
,
String
value2
)
{
addCriterion
(
"
front_name
between"
,
value1
,
value2
,
"
frontName
"
);
public
Criteria
and
SortOrder
Between
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"
sort_order
between"
,
value1
,
value2
,
"
sortOrder
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
FrontName
NotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
front_name
not between"
,
value1
,
value2
,
"
frontName
"
);
public
Criteria
and
SortOrder
NotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"
sort_order
not between"
,
value1
,
value2
,
"
sortOrder
"
);
return
(
Criteria
)
this
;
}
...
...
@@ -1401,18 +1011,6 @@ public class LitemallCategoryExample {
return
deleted
?
andDeletedEqualTo
(
LitemallCategory
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallCategory
.
IS_DELETED
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
Criteria
andDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallCategory
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallCategory
.
IS_DELETED
);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_category
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCollect.java
View file @
936b5511
package
org.linlinjava.litemall.db.domain
;
import
java.time.LocalDateTime
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
public
class
LitemallCollect
{
/**
...
...
@@ -12,16 +14,6 @@ public class LitemallCollect {
*/
public
static
final
Boolean
NOT_DELETED
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
static
final
Boolean
DEL_FLAG_ON
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_collect
...
...
@@ -31,16 +23,6 @@ public class LitemallCollect {
*/
public
static
final
Boolean
IS_DELETED
=
true
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
static
final
Boolean
DEL_FLAG_OFF
=
true
;
/**
*
* This field was generated by MyBatis Generator.
...
...
@@ -71,20 +53,11 @@ public class LitemallCollect {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_collect.is_attention
*
* @mbg.generated
*/
private
Boolean
isAttention
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_collect.type_id
* This field corresponds to the database column litemall_collect.type
*
* @mbg.generated
*/
private
Integer
type
Id
;
private
Byte
type
;
/**
*
...
...
@@ -178,50 +151,26 @@ public class LitemallCollect {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_collect.
is_attention
* This method returns the value of the database column litemall_collect.
type
*
* @return the value of litemall_collect.
is_attention
* @return the value of litemall_collect.
type
*
* @mbg.generated
*/
public
B
oolean
getIsAttention
()
{
return
isAttention
;
public
B
yte
getType
()
{
return
type
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_collect.
is_attention
* This method sets the value of the database column litemall_collect.
type
*
* @param
isAttention
the value for litemall_collect.
is_attention
* @param
type
the value for litemall_collect.
type
*
* @mbg.generated
*/
public
void
setIsAttention
(
Boolean
isAttention
)
{
this
.
isAttention
=
isAttention
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_collect.type_id
*
* @return the value of litemall_collect.type_id
*
* @mbg.generated
*/
public
Integer
getTypeId
()
{
return
typeId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_collect.type_id
*
* @param typeId the value for litemall_collect.type_id
*
* @mbg.generated
*/
public
void
setTypeId
(
Integer
typeId
)
{
this
.
typeId
=
typeId
;
public
void
setType
(
Byte
type
)
{
this
.
type
=
type
;
}
/**
...
...
@@ -287,8 +236,7 @@ public class LitemallCollect {
sb
.
append
(
", id="
).
append
(
id
);
sb
.
append
(
", userId="
).
append
(
userId
);
sb
.
append
(
", valueId="
).
append
(
valueId
);
sb
.
append
(
", isAttention="
).
append
(
isAttention
);
sb
.
append
(
", typeId="
).
append
(
typeId
);
sb
.
append
(
", type="
).
append
(
type
);
sb
.
append
(
", addTime="
).
append
(
addTime
);
sb
.
append
(
", deleted="
).
append
(
deleted
);
sb
.
append
(
"]"
);
...
...
@@ -316,8 +264,7 @@ public class LitemallCollect {
return
(
this
.
getId
()
==
null
?
other
.
getId
()
==
null
:
this
.
getId
().
equals
(
other
.
getId
()))
&&
(
this
.
getUserId
()
==
null
?
other
.
getUserId
()
==
null
:
this
.
getUserId
().
equals
(
other
.
getUserId
()))
&&
(
this
.
getValueId
()
==
null
?
other
.
getValueId
()
==
null
:
this
.
getValueId
().
equals
(
other
.
getValueId
()))
&&
(
this
.
getIsAttention
()
==
null
?
other
.
getIsAttention
()
==
null
:
this
.
getIsAttention
().
equals
(
other
.
getIsAttention
()))
&&
(
this
.
getTypeId
()
==
null
?
other
.
getTypeId
()
==
null
:
this
.
getTypeId
().
equals
(
other
.
getTypeId
()))
&&
(
this
.
getType
()
==
null
?
other
.
getType
()
==
null
:
this
.
getType
().
equals
(
other
.
getType
()))
&&
(
this
.
getAddTime
()
==
null
?
other
.
getAddTime
()
==
null
:
this
.
getAddTime
().
equals
(
other
.
getAddTime
()))
&&
(
this
.
getDeleted
()
==
null
?
other
.
getDeleted
()
==
null
:
this
.
getDeleted
().
equals
(
other
.
getDeleted
()));
}
...
...
@@ -335,8 +282,7 @@ public class LitemallCollect {
result
=
prime
*
result
+
((
getId
()
==
null
)
?
0
:
getId
().
hashCode
());
result
=
prime
*
result
+
((
getUserId
()
==
null
)
?
0
:
getUserId
().
hashCode
());
result
=
prime
*
result
+
((
getValueId
()
==
null
)
?
0
:
getValueId
().
hashCode
());
result
=
prime
*
result
+
((
getIsAttention
()
==
null
)
?
0
:
getIsAttention
().
hashCode
());
result
=
prime
*
result
+
((
getTypeId
()
==
null
)
?
0
:
getTypeId
().
hashCode
());
result
=
prime
*
result
+
((
getType
()
==
null
)
?
0
:
getType
().
hashCode
());
result
=
prime
*
result
+
((
getAddTime
()
==
null
)
?
0
:
getAddTime
().
hashCode
());
result
=
prime
*
result
+
((
getDeleted
()
==
null
)
?
0
:
getDeleted
().
hashCode
());
return
result
;
...
...
@@ -364,8 +310,7 @@ public class LitemallCollect {
id
(
"id"
,
"id"
,
"INTEGER"
),
userId
(
"user_id"
,
"userId"
,
"INTEGER"
),
valueId
(
"value_id"
,
"valueId"
,
"INTEGER"
),
isAttention
(
"is_attention"
,
"isAttention"
,
"BIT"
),
typeId
(
"type_id"
,
"typeId"
,
"INTEGER"
),
type
(
"type"
,
"type"
,
"TINYINT"
),
addTime
(
"add_time"
,
"addTime"
,
"TIMESTAMP"
),
deleted
(
"deleted"
,
"deleted"
,
"BIT"
);
...
...
@@ -474,5 +419,20 @@ public class LitemallCollect {
public
String
asc
()
{
return
this
.
column
+
" ASC"
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
Column
[]
excludes
(
Column
...
excludes
)
{
ArrayList
<
Column
>
columns
=
new
ArrayList
<>(
Arrays
.
asList
(
Column
.
values
()));
if
(
excludes
!=
null
&&
excludes
.
length
>
0
)
{
columns
.
removeAll
(
new
ArrayList
<>(
Arrays
.
asList
(
excludes
)));
}
return
columns
.
toArray
(
new
Column
[]{});
}
}
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCollectExample.java
View file @
936b5511
...
...
@@ -406,123 +406,63 @@ public class LitemallCollectExample {
return
(
Criteria
)
this
;
}
public
Criteria
and
IsAttention
IsNull
()
{
addCriterion
(
"
is_attention
is null"
);
public
Criteria
and
Type
IsNull
()
{
addCriterion
(
"
`type`
is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
IsAttention
IsNotNull
()
{
addCriterion
(
"
is_attention
is not null"
);
public
Criteria
and
Type
IsNotNull
()
{
addCriterion
(
"
`type`
is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
IsAttention
EqualTo
(
B
oolean
value
)
{
addCriterion
(
"
is_attention
="
,
value
,
"
isAttention
"
);
public
Criteria
and
Type
EqualTo
(
B
yte
value
)
{
addCriterion
(
"
`type`
="
,
value
,
"
type
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
IsAttention
NotEqualTo
(
B
oolean
value
)
{
addCriterion
(
"
is_attention
<>"
,
value
,
"
isAttention
"
);
public
Criteria
and
Type
NotEqualTo
(
B
yte
value
)
{
addCriterion
(
"
`type`
<>"
,
value
,
"
type
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
IsAttention
GreaterThan
(
B
oolean
value
)
{
addCriterion
(
"
is_attention
>"
,
value
,
"
isAttention
"
);
public
Criteria
and
Type
GreaterThan
(
B
yte
value
)
{
addCriterion
(
"
`type`
>"
,
value
,
"
type
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
IsAttention
GreaterThanOrEqualTo
(
B
oolean
value
)
{
addCriterion
(
"
is_attention
>="
,
value
,
"
isAttention
"
);
public
Criteria
and
Type
GreaterThanOrEqualTo
(
B
yte
value
)
{
addCriterion
(
"
`type`
>="
,
value
,
"
type
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
IsAttention
LessThan
(
B
oolean
value
)
{
addCriterion
(
"
is_attention
<"
,
value
,
"
isAttention
"
);
public
Criteria
and
Type
LessThan
(
B
yte
value
)
{
addCriterion
(
"
`type`
<"
,
value
,
"
type
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
IsAttention
LessThanOrEqualTo
(
B
oolean
value
)
{
addCriterion
(
"
is_attention
<="
,
value
,
"
isAttention
"
);
public
Criteria
and
Type
LessThanOrEqualTo
(
B
yte
value
)
{
addCriterion
(
"
`type`
<="
,
value
,
"
type
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
IsAttention
In
(
List
<
B
oolean
>
values
)
{
addCriterion
(
"
is_attention
in"
,
values
,
"
isAttention
"
);
public
Criteria
and
Type
In
(
List
<
B
yte
>
values
)
{
addCriterion
(
"
`type`
in"
,
values
,
"
type
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
IsAttention
NotIn
(
List
<
B
oolean
>
values
)
{
addCriterion
(
"
is_attention
not in"
,
values
,
"
isAttention
"
);
public
Criteria
and
Type
NotIn
(
List
<
B
yte
>
values
)
{
addCriterion
(
"
`type`
not in"
,
values
,
"
type
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
IsAttention
Between
(
B
oolean
value1
,
B
oolean
value2
)
{
addCriterion
(
"
is_attention
between"
,
value1
,
value2
,
"
isAttention
"
);
public
Criteria
and
Type
Between
(
B
yte
value1
,
B
yte
value2
)
{
addCriterion
(
"
`type`
between"
,
value1
,
value2
,
"
type
"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsAttentionNotBetween
(
Boolean
value1
,
Boolean
value2
)
{
addCriterion
(
"is_attention not between"
,
value1
,
value2
,
"isAttention"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdIsNull
()
{
addCriterion
(
"type_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdIsNotNull
()
{
addCriterion
(
"type_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdEqualTo
(
Integer
value
)
{
addCriterion
(
"type_id ="
,
value
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdNotEqualTo
(
Integer
value
)
{
addCriterion
(
"type_id <>"
,
value
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdGreaterThan
(
Integer
value
)
{
addCriterion
(
"type_id >"
,
value
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"type_id >="
,
value
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdLessThan
(
Integer
value
)
{
addCriterion
(
"type_id <"
,
value
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"type_id <="
,
value
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"type_id in"
,
values
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"type_id not in"
,
values
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"type_id between"
,
value1
,
value2
,
"typeId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTypeIdNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"type_id not between"
,
value1
,
value2
,
"typeId"
);
public
Criteria
andTypeNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"`type` not between"
,
value1
,
value2
,
"type"
);
return
(
Criteria
)
this
;
}
...
...
@@ -711,18 +651,6 @@ public class LitemallCollectExample {
return
deleted
?
andDeletedEqualTo
(
LitemallCollect
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallCollect
.
IS_DELETED
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
Criteria
andDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallCollect
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallCollect
.
IS_DELETED
);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_collect
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallComment.java
View file @
936b5511
package
org.linlinjava.litemall.db.domain
;
import
java.time.LocalDateTime
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
public
class
LitemallComment
{
...
...
@@ -13,16 +14,6 @@ public class LitemallComment {
*/
public
static
final
Boolean
NOT_DELETED
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
static
final
Boolean
DEL_FLAG_ON
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_comment
...
...
@@ -32,16 +23,6 @@ public class LitemallComment {
*/
public
static
final
Boolean
IS_DELETED
=
true
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
static
final
Boolean
DEL_FLAG_OFF
=
true
;
/**
*
* This field was generated by MyBatis Generator.
...
...
@@ -54,20 +35,20 @@ public class LitemallComment {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_comment.
typ
e_id
* This field corresponds to the database column litemall_comment.
valu
e_id
*
* @mbg.generated
*/
private
Byte
typ
eId
;
private
Integer
valu
eId
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_comment.
value_id
* This field corresponds to the database column litemall_comment.
type
*
* @mbg.generated
*/
private
Integer
valueId
;
private
Byte
type
;
/**
*
...
...
@@ -158,50 +139,50 @@ public class LitemallComment {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_comment.
typ
e_id
* This method returns the value of the database column litemall_comment.
valu
e_id
*
* @return the value of litemall_comment.
typ
e_id
* @return the value of litemall_comment.
valu
e_id
*
* @mbg.generated
*/
public
Byte
getTyp
eId
()
{
return
typ
eId
;
public
Integer
getValu
eId
()
{
return
valu
eId
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_comment.
typ
e_id
* This method sets the value of the database column litemall_comment.
valu
e_id
*
* @param
typ
eId the value for litemall_comment.
typ
e_id
* @param
valu
eId the value for litemall_comment.
valu
e_id
*
* @mbg.generated
*/
public
void
set
TypeId
(
Byte
typ
eId
)
{
this
.
typ
eId
=
typ
eId
;
public
void
set
ValueId
(
Integer
valu
eId
)
{
this
.
valu
eId
=
valu
eId
;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_comment.
value_id
* This method returns the value of the database column litemall_comment.
type
*
* @return the value of litemall_comment.
value_id
* @return the value of litemall_comment.
type
*
* @mbg.generated
*/
public
Integer
getValueId
()
{
return
valueId
;
public
Byte
getType
()
{
return
type
;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_comment.
value_id
* This method sets the value of the database column litemall_comment.
type
*
* @param
valueId
the value for litemall_comment.
value_id
* @param
type
the value for litemall_comment.
type
*
* @mbg.generated
*/
public
void
set
ValueId
(
Integer
valueId
)
{
this
.
valueId
=
valueId
;
public
void
set
Type
(
Byte
type
)
{
this
.
type
=
type
;
}
/**
...
...
@@ -385,8 +366,8 @@ public class LitemallComment {
sb
.
append
(
" ["
);
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", id="
).
append
(
id
);
sb
.
append
(
", typeId="
).
append
(
typeId
);
sb
.
append
(
", valueId="
).
append
(
valueId
);
sb
.
append
(
", type="
).
append
(
type
);
sb
.
append
(
", content="
).
append
(
content
);
sb
.
append
(
", userId="
).
append
(
userId
);
sb
.
append
(
", hasPicture="
).
append
(
hasPicture
);
...
...
@@ -417,8 +398,8 @@ public class LitemallComment {
}
LitemallComment
other
=
(
LitemallComment
)
that
;
return
(
this
.
getId
()
==
null
?
other
.
getId
()
==
null
:
this
.
getId
().
equals
(
other
.
getId
()))
&&
(
this
.
getTypeId
()
==
null
?
other
.
getTypeId
()
==
null
:
this
.
getTypeId
().
equals
(
other
.
getTypeId
()))
&&
(
this
.
getValueId
()
==
null
?
other
.
getValueId
()
==
null
:
this
.
getValueId
().
equals
(
other
.
getValueId
()))
&&
(
this
.
getType
()
==
null
?
other
.
getType
()
==
null
:
this
.
getType
().
equals
(
other
.
getType
()))
&&
(
this
.
getContent
()
==
null
?
other
.
getContent
()
==
null
:
this
.
getContent
().
equals
(
other
.
getContent
()))
&&
(
this
.
getUserId
()
==
null
?
other
.
getUserId
()
==
null
:
this
.
getUserId
().
equals
(
other
.
getUserId
()))
&&
(
this
.
getHasPicture
()
==
null
?
other
.
getHasPicture
()
==
null
:
this
.
getHasPicture
().
equals
(
other
.
getHasPicture
()))
...
...
@@ -439,8 +420,8 @@ public class LitemallComment {
final
int
prime
=
31
;
int
result
=
1
;
result
=
prime
*
result
+
((
getId
()
==
null
)
?
0
:
getId
().
hashCode
());
result
=
prime
*
result
+
((
getTypeId
()
==
null
)
?
0
:
getTypeId
().
hashCode
());
result
=
prime
*
result
+
((
getValueId
()
==
null
)
?
0
:
getValueId
().
hashCode
());
result
=
prime
*
result
+
((
getType
()
==
null
)
?
0
:
getType
().
hashCode
());
result
=
prime
*
result
+
((
getContent
()
==
null
)
?
0
:
getContent
().
hashCode
());
result
=
prime
*
result
+
((
getUserId
()
==
null
)
?
0
:
getUserId
().
hashCode
());
result
=
prime
*
result
+
((
getHasPicture
()
==
null
)
?
0
:
getHasPicture
().
hashCode
());
...
...
@@ -471,12 +452,12 @@ public class LitemallComment {
*/
public
enum
Column
{
id
(
"id"
,
"id"
,
"INTEGER"
),
typeId
(
"type_id"
,
"typeId"
,
"TINYINT"
),
valueId
(
"value_id"
,
"valueId"
,
"INTEGER"
),
type
(
"type"
,
"type"
,
"TINYINT"
),
content
(
"content"
,
"content"
,
"VARCHAR"
),
userId
(
"user_id"
,
"userId"
,
"INTEGER"
),
hasPicture
(
"has_picture"
,
"hasPicture"
,
"BIT"
),
picUrls
(
"pic_urls"
,
"picUrls"
,
"CHAR"
),
picUrls
(
"pic_urls"
,
"picUrls"
,
"
VAR
CHAR"
),
star
(
"star"
,
"star"
,
"SMALLINT"
),
addTime
(
"add_time"
,
"addTime"
,
"TIMESTAMP"
),
deleted
(
"deleted"
,
"deleted"
,
"BIT"
);
...
...
@@ -586,5 +567,20 @@ public class LitemallComment {
public
String
asc
()
{
return
this
.
column
+
" ASC"
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
Column
[]
excludes
(
Column
...
excludes
)
{
ArrayList
<
Column
>
columns
=
new
ArrayList
<>(
Arrays
.
asList
(
Column
.
values
()));
if
(
excludes
!=
null
&&
excludes
.
length
>
0
)
{
columns
.
removeAll
(
new
ArrayList
<>(
Arrays
.
asList
(
excludes
)));
}
return
columns
.
toArray
(
new
Column
[]{});
}
}
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCommentExample.java
View file @
936b5511
...
...
@@ -320,123 +320,123 @@ public class LitemallCommentExample {
return
(
Criteria
)
this
;
}
public
Criteria
and
Typ
eIdIsNull
()
{
addCriterion
(
"
typ
e_id is null"
);
public
Criteria
and
Valu
eIdIsNull
()
{
addCriterion
(
"
valu
e_id is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Typ
eIdIsNotNull
()
{
addCriterion
(
"
typ
e_id is not null"
);
public
Criteria
and
Valu
eIdIsNotNull
()
{
addCriterion
(
"
valu
e_id is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Typ
eIdEqualTo
(
Byte
value
)
{
addCriterion
(
"
typ
e_id ="
,
value
,
"
typ
eId"
);
public
Criteria
and
Valu
eIdEqualTo
(
Integer
value
)
{
addCriterion
(
"
valu
e_id ="
,
value
,
"
valu
eId"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Typ
eIdNotEqualTo
(
Byte
value
)
{
addCriterion
(
"
typ
e_id <>"
,
value
,
"
typ
eId"
);
public
Criteria
and
Valu
eIdNotEqualTo
(
Integer
value
)
{
addCriterion
(
"
valu
e_id <>"
,
value
,
"
valu
eId"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Typ
eIdGreaterThan
(
Byte
value
)
{
addCriterion
(
"
typ
e_id >"
,
value
,
"
typ
eId"
);
public
Criteria
and
Valu
eIdGreaterThan
(
Integer
value
)
{
addCriterion
(
"
valu
e_id >"
,
value
,
"
valu
eId"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Typ
eIdGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"
typ
e_id >="
,
value
,
"
typ
eId"
);
public
Criteria
and
Valu
eIdGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"
valu
e_id >="
,
value
,
"
valu
eId"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Typ
eIdLessThan
(
Byte
value
)
{
addCriterion
(
"
typ
e_id <"
,
value
,
"
typ
eId"
);
public
Criteria
and
Valu
eIdLessThan
(
Integer
value
)
{
addCriterion
(
"
valu
e_id <"
,
value
,
"
valu
eId"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Typ
eIdLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"
typ
e_id <="
,
value
,
"
typ
eId"
);
public
Criteria
and
Valu
eIdLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"
valu
e_id <="
,
value
,
"
valu
eId"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Typ
eIdIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"
typ
e_id in"
,
values
,
"
typ
eId"
);
public
Criteria
and
Valu
eIdIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"
valu
e_id in"
,
values
,
"
valu
eId"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Typ
eIdNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"
typ
e_id not in"
,
values
,
"
typ
eId"
);
public
Criteria
and
Valu
eIdNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"
valu
e_id not in"
,
values
,
"
valu
eId"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Typ
eIdBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"
typ
e_id between"
,
value1
,
value2
,
"
typ
eId"
);
public
Criteria
and
Valu
eIdBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"
valu
e_id between"
,
value1
,
value2
,
"
valu
eId"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Typ
eIdNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"
typ
e_id not between"
,
value1
,
value2
,
"
typ
eId"
);
public
Criteria
and
Valu
eIdNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"
valu
e_id not between"
,
value1
,
value2
,
"
valu
eId"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ValueId
IsNull
()
{
addCriterion
(
"
value_id
is null"
);
public
Criteria
and
Type
IsNull
()
{
addCriterion
(
"
`type`
is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ValueId
IsNotNull
()
{
addCriterion
(
"
value_id
is not null"
);
public
Criteria
and
Type
IsNotNull
()
{
addCriterion
(
"
`type`
is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ValueId
EqualTo
(
Integer
value
)
{
addCriterion
(
"
value_id
="
,
value
,
"
valueId
"
);
public
Criteria
and
Type
EqualTo
(
Byte
value
)
{
addCriterion
(
"
`type`
="
,
value
,
"
type
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ValueId
NotEqualTo
(
Integer
value
)
{
addCriterion
(
"
value_id
<>"
,
value
,
"
valueId
"
);
public
Criteria
and
Type
NotEqualTo
(
Byte
value
)
{
addCriterion
(
"
`type`
<>"
,
value
,
"
type
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ValueId
GreaterThan
(
Integer
value
)
{
addCriterion
(
"
value_id
>"
,
value
,
"
valueId
"
);
public
Criteria
and
Type
GreaterThan
(
Byte
value
)
{
addCriterion
(
"
`type`
>"
,
value
,
"
type
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ValueId
GreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"
value_id
>="
,
value
,
"
valueId
"
);
public
Criteria
and
Type
GreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"
`type`
>="
,
value
,
"
type
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ValueId
LessThan
(
Integer
value
)
{
addCriterion
(
"
value_id
<"
,
value
,
"
valueId
"
);
public
Criteria
and
Type
LessThan
(
Byte
value
)
{
addCriterion
(
"
`type`
<"
,
value
,
"
type
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ValueId
LessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"
value_id
<="
,
value
,
"
valueId
"
);
public
Criteria
and
Type
LessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"
`type`
<="
,
value
,
"
type
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ValueIdIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"
value_id
in"
,
values
,
"
valueId
"
);
public
Criteria
and
TypeIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"
`type`
in"
,
values
,
"
type
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ValueId
NotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"
value_id
not in"
,
values
,
"
valueId
"
);
public
Criteria
and
Type
NotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"
`type`
not in"
,
values
,
"
type
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ValueId
Between
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"
value_id
between"
,
value1
,
value2
,
"
valueId
"
);
public
Criteria
and
Type
Between
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"
`type`
between"
,
value1
,
value2
,
"
type
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ValueId
NotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"
value_id
not between"
,
value1
,
value2
,
"
valueId
"
);
public
Criteria
and
Type
NotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"
`type`
not between"
,
value1
,
value2
,
"
type
"
);
return
(
Criteria
)
this
;
}
...
...
@@ -945,18 +945,6 @@ public class LitemallCommentExample {
return
deleted
?
andDeletedEqualTo
(
LitemallComment
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallComment
.
IS_DELETED
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
Criteria
andDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallComment
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallComment
.
IS_DELETED
);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_comment
...
...
Prev
1
2
3
4
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