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
8f078bd9
Commit
8f078bd9
authored
May 16, 2018
by
Junling Bu
Browse files
update[litemall-db]: 更新mybatis generator插件到1.2.3。
1. 设置逻辑删除插件 2. 设置乐观锁插件
parent
d006f89f
Changes
98
Hide whitespace changes
Inline
Side-by-side
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallComment.java
View file @
8f078bd9
...
...
@@ -4,6 +4,44 @@ import java.time.LocalDateTime;
import
java.util.Arrays
;
public
class
LitemallComment
{
/**
* 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
*/
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
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
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.
...
...
@@ -413,6 +451,17 @@ public class LitemallComment {
return
result
;
}
/**
* 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
void
andLogicalDeleted
(
boolean
deleted
)
{
setDeleted
(
deleted
?
IS_DELETED
:
NOT_DELETED
);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_comment
...
...
@@ -421,16 +470,16 @@ public class LitemallComment {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
enum
Column
{
id
(
"id"
),
typeId
(
"type_id"
),
valueId
(
"value_id"
),
content
(
"content"
),
userId
(
"user_id"
),
hasPicture
(
"has_picture"
),
picUrls
(
"pic_urls"
),
star
(
"star"
),
addTime
(
"add_time"
),
deleted
(
"deleted"
);
id
(
"id"
,
"id"
,
"INTEGER"
),
typeId
(
"type_id"
,
"typeId"
,
"TINYINT"
),
valueId
(
"value_id"
,
"valueId"
,
"INTEGER"
),
content
(
"content"
,
"content"
,
"VARCHAR"
),
userId
(
"user_id"
,
"userId"
,
"INTEGER"
),
hasPicture
(
"has_picture"
,
"hasPicture"
,
"BIT"
),
picUrls
(
"pic_urls"
,
"picUrls"
,
"CHAR"
),
star
(
"star"
,
"star"
,
"SMALLINT"
),
addTime
(
"add_time"
,
"addTime"
,
"TIMESTAMP"
),
deleted
(
"deleted"
,
"deleted"
,
"BIT"
);
/**
* This field was generated by MyBatis Generator.
...
...
@@ -441,6 +490,24 @@ public class LitemallComment {
*/
private
final
String
column
;
/**
* 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
*/
private
final
String
javaProperty
;
/**
* 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
*/
private
final
String
jdbcType
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
...
...
@@ -470,8 +537,32 @@ public class LitemallComment {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column
(
String
column
)
{
public
String
getJavaProperty
()
{
return
this
.
javaProperty
;
}
/**
* 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
String
getJdbcType
()
{
return
this
.
jdbcType
;
}
/**
* 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
*/
Column
(
String
column
,
String
javaProperty
,
String
jdbcType
)
{
this
.
column
=
column
;
this
.
javaProperty
=
javaProperty
;
this
.
jdbcType
=
jdbcType
;
}
/**
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCommentExample.java
View file @
8f078bd9
...
...
@@ -116,13 +116,11 @@ public class LitemallCommentExample {
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
public
LitemallCommentExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
}
/**
...
...
@@ -130,10 +128,18 @@ public class LitemallCommentExample {
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
public
LitemallCommentExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
}
/**
...
...
@@ -142,10 +148,12 @@ public class LitemallCommentExample {
*
* @mbg.generated
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
...
...
@@ -153,11 +161,10 @@ public class LitemallCommentExample {
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
p
ublic
LitemallCommentExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
p
rotected
Criteria
createCriteriaInternal
(
)
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
}
/**
...
...
@@ -165,18 +172,11 @@ public class LitemallCommentExample {
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
LitemallCommentExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
...
...
@@ -934,6 +934,29 @@ public class LitemallCommentExample {
return
this
;
}
/**
* 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
Criteria
andLogicalDeleted
(
boolean
deleted
)
{
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
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCoupon.java
View file @
8f078bd9
...
...
@@ -4,6 +4,44 @@ import java.math.BigDecimal;
import
java.time.LocalDateTime
;
public
class
LitemallCoupon
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
final
Boolean
NOT_DELETED
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_coupon
*
* @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_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
final
Boolean
IS_DELETED
=
true
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_coupon
*
* @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.
...
...
@@ -521,6 +559,17 @@ public class LitemallCoupon {
return
result
;
}
/**
* 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
*/
public
void
andLogicalDeleted
(
boolean
deleted
)
{
setDeleted
(
deleted
?
IS_DELETED
:
NOT_DELETED
);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_coupon
...
...
@@ -529,19 +578,19 @@ public class LitemallCoupon {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
enum
Column
{
id
(
"id"
),
name
(
"name"
),
typeMoney
(
"type_money"
),
sendType
(
"send_type"
),
minAmount
(
"min_amount"
),
maxAmount
(
"max_amount"
),
minGoodsAmount
(
"min_goods_amount"
),
sendStart
(
"send_start"
),
sendEnd
(
"send_end"
),
useStart
(
"use_start"
),
useEnd
(
"use_end"
),
addTime
(
"add_time"
),
deleted
(
"deleted"
);
id
(
"id"
,
"id"
,
"INTEGER"
),
name
(
"name"
,
"name"
,
"VARCHAR"
),
typeMoney
(
"type_money"
,
"typeMoney"
,
"DECIMAL"
),
sendType
(
"send_type"
,
"sendType"
,
"TINYINT"
),
minAmount
(
"min_amount"
,
"minAmount"
,
"DECIMAL"
),
maxAmount
(
"max_amount"
,
"maxAmount"
,
"DECIMAL"
),
minGoodsAmount
(
"min_goods_amount"
,
"minGoodsAmount"
,
"DECIMAL"
),
sendStart
(
"send_start"
,
"sendStart"
,
"TIMESTAMP"
),
sendEnd
(
"send_end"
,
"sendEnd"
,
"TIMESTAMP"
),
useStart
(
"use_start"
,
"useStart"
,
"TIMESTAMP"
),
useEnd
(
"use_end"
,
"useEnd"
,
"TIMESTAMP"
),
addTime
(
"add_time"
,
"addTime"
,
"TIMESTAMP"
),
deleted
(
"deleted"
,
"deleted"
,
"BIT"
);
/**
* This field was generated by MyBatis Generator.
...
...
@@ -552,6 +601,24 @@ public class LitemallCoupon {
*/
private
final
String
column
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
javaProperty
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
jdbcType
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
...
...
@@ -581,8 +648,32 @@ public class LitemallCoupon {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column
(
String
column
)
{
public
String
getJavaProperty
()
{
return
this
.
javaProperty
;
}
/**
* 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
*/
public
String
getJdbcType
()
{
return
this
.
jdbcType
;
}
/**
* 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
*/
Column
(
String
column
,
String
javaProperty
,
String
jdbcType
)
{
this
.
column
=
column
;
this
.
javaProperty
=
javaProperty
;
this
.
jdbcType
=
jdbcType
;
}
/**
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCouponExample.java
View file @
8f078bd9
...
...
@@ -117,13 +117,11 @@ public class LitemallCouponExample {
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
public
LitemallCouponExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
}
/**
...
...
@@ -131,10 +129,18 @@ public class LitemallCouponExample {
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
public
LitemallCouponExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
}
/**
...
...
@@ -143,10 +149,12 @@ public class LitemallCouponExample {
*
* @mbg.generated
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
...
...
@@ -154,11 +162,10 @@ public class LitemallCouponExample {
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
p
ublic
LitemallCouponExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
p
rotected
Criteria
createCriteriaInternal
(
)
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
}
/**
...
...
@@ -166,18 +173,11 @@ public class LitemallCouponExample {
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
LitemallCouponExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
...
...
@@ -1071,6 +1071,29 @@ public class LitemallCouponExample {
return
this
;
}
/**
* 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
*/
public
Criteria
andLogicalDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallCoupon
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallCoupon
.
IS_DELETED
);
}
/**
* 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
*/
@Deprecated
public
Criteria
andDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallCoupon
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallCoupon
.
IS_DELETED
);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_coupon
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallFootprint.java
View file @
8f078bd9
...
...
@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import
java.time.LocalDateTime
;
public
class
LitemallFootprint
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
final
Boolean
NOT_DELETED
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_footprint
*
* @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_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
final
Boolean
IS_DELETED
=
true
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_footprint
*
* @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.
...
...
@@ -232,6 +270,17 @@ public class LitemallFootprint {
return
result
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
void
andLogicalDeleted
(
boolean
deleted
)
{
setDeleted
(
deleted
?
IS_DELETED
:
NOT_DELETED
);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_footprint
...
...
@@ -240,11 +289,11 @@ public class LitemallFootprint {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
enum
Column
{
id
(
"id"
),
userId
(
"user_id"
),
goodsId
(
"goods_id"
),
addTime
(
"add_time"
),
deleted
(
"deleted"
);
id
(
"id"
,
"id"
,
"INTEGER"
),
userId
(
"user_id"
,
"userId"
,
"INTEGER"
),
goodsId
(
"goods_id"
,
"goodsId"
,
"INTEGER"
),
addTime
(
"add_time"
,
"addTime"
,
"TIMESTAMP"
),
deleted
(
"deleted"
,
"deleted"
,
"BIT"
);
/**
* This field was generated by MyBatis Generator.
...
...
@@ -255,6 +304,24 @@ public class LitemallFootprint {
*/
private
final
String
column
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
javaProperty
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
jdbcType
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
...
...
@@ -284,8 +351,32 @@ public class LitemallFootprint {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column
(
String
column
)
{
public
String
getJavaProperty
()
{
return
this
.
javaProperty
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
String
getJdbcType
()
{
return
this
.
jdbcType
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column
(
String
column
,
String
javaProperty
,
String
jdbcType
)
{
this
.
column
=
column
;
this
.
javaProperty
=
javaProperty
;
this
.
jdbcType
=
jdbcType
;
}
/**
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallFootprintExample.java
View file @
8f078bd9
...
...
@@ -116,13 +116,11 @@ public class LitemallFootprintExample {
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
public
LitemallFootprintExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
}
/**
...
...
@@ -130,10 +128,18 @@ public class LitemallFootprintExample {
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
public
LitemallFootprintExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
}
/**
...
...
@@ -142,10 +148,12 @@ public class LitemallFootprintExample {
*
* @mbg.generated
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
...
...
@@ -153,11 +161,10 @@ public class LitemallFootprintExample {
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
p
ublic
LitemallFootprintExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
p
rotected
Criteria
createCriteriaInternal
(
)
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
}
/**
...
...
@@ -165,18 +172,11 @@ public class LitemallFootprintExample {
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
LitemallFootprintExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
...
...
@@ -580,6 +580,29 @@ public class LitemallFootprintExample {
return
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andLogicalDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallFootprint
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallFootprint
.
IS_DELETED
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
Criteria
andDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallFootprint
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallFootprint
.
IS_DELETED
);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_footprint
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoods.java
View file @
8f078bd9
...
...
@@ -5,6 +5,44 @@ import java.time.LocalDateTime;
import
java.util.Arrays
;
public
class
LitemallGoods
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
final
Boolean
NOT_DELETED
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_goods
*
* @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_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
final
Boolean
IS_DELETED
=
true
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_goods
*
* @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.
...
...
@@ -774,6 +812,17 @@ public class LitemallGoods {
return
result
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
void
andLogicalDeleted
(
boolean
deleted
)
{
setDeleted
(
deleted
?
IS_DELETED
:
NOT_DELETED
);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_goods
...
...
@@ -782,26 +831,26 @@ public class LitemallGoods {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
enum
Column
{
id
(
"id"
),
goodsSn
(
"goods_sn"
),
name
(
"name"
),
categoryId
(
"category_id"
),
brandId
(
"brand_id"
),
gallery
(
"gallery"
),
keywords
(
"keywords"
),
goodsBrief
(
"goods_brief"
),
isOnSale
(
"is_on_sale"
),
sortOrder
(
"sort_order"
),
counterPrice
(
"counter_price"
),
isNew
(
"is_new"
),
primaryPicUrl
(
"primary_pic_url"
),
listPicUrl
(
"list_pic_url"
),
isHot
(
"is_hot"
),
goodsUnit
(
"goods_unit"
),
retailPrice
(
"retail_price"
),
addTime
(
"add_time"
),
deleted
(
"deleted"
),
goodsDesc
(
"goods_desc"
);
id
(
"id"
,
"id"
,
"INTEGER"
),
goodsSn
(
"goods_sn"
,
"goodsSn"
,
"VARCHAR"
),
name
(
"name"
,
"name"
,
"VARCHAR"
),
categoryId
(
"category_id"
,
"categoryId"
,
"INTEGER"
),
brandId
(
"brand_id"
,
"brandId"
,
"INTEGER"
),
gallery
(
"gallery"
,
"gallery"
,
"CHAR"
),
keywords
(
"keywords"
,
"keywords"
,
"VARCHAR"
),
goodsBrief
(
"goods_brief"
,
"goodsBrief"
,
"VARCHAR"
),
isOnSale
(
"is_on_sale"
,
"isOnSale"
,
"BIT"
),
sortOrder
(
"sort_order"
,
"sortOrder"
,
"SMALLINT"
),
counterPrice
(
"counter_price"
,
"counterPrice"
,
"DECIMAL"
),
isNew
(
"is_new"
,
"isNew"
,
"BIT"
),
primaryPicUrl
(
"primary_pic_url"
,
"primaryPicUrl"
,
"VARCHAR"
),
listPicUrl
(
"list_pic_url"
,
"listPicUrl"
,
"VARCHAR"
),
isHot
(
"is_hot"
,
"isHot"
,
"BIT"
),
goodsUnit
(
"goods_unit"
,
"goodsUnit"
,
"VARCHAR"
),
retailPrice
(
"retail_price"
,
"retailPrice"
,
"DECIMAL"
),
addTime
(
"add_time"
,
"addTime"
,
"TIMESTAMP"
),
deleted
(
"deleted"
,
"deleted"
,
"BIT"
),
goodsDesc
(
"goods_desc"
,
"goodsDesc"
,
"LONGVARCHAR"
);
/**
* This field was generated by MyBatis Generator.
...
...
@@ -812,6 +861,24 @@ public class LitemallGoods {
*/
private
final
String
column
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
javaProperty
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
jdbcType
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
...
...
@@ -841,8 +908,32 @@ public class LitemallGoods {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column
(
String
column
)
{
public
String
getJavaProperty
()
{
return
this
.
javaProperty
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
String
getJdbcType
()
{
return
this
.
jdbcType
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column
(
String
column
,
String
javaProperty
,
String
jdbcType
)
{
this
.
column
=
column
;
this
.
javaProperty
=
javaProperty
;
this
.
jdbcType
=
jdbcType
;
}
/**
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsAttribute.java
View file @
8f078bd9
...
...
@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import
java.time.LocalDateTime
;
public
class
LitemallGoodsAttribute
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
final
Boolean
NOT_DELETED
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_goods_attribute
*
* @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_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
final
Boolean
IS_DELETED
=
true
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_goods_attribute
*
* @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.
...
...
@@ -268,6 +306,17 @@ public class LitemallGoodsAttribute {
return
result
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
void
andLogicalDeleted
(
boolean
deleted
)
{
setDeleted
(
deleted
?
IS_DELETED
:
NOT_DELETED
);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_goods_attribute
...
...
@@ -276,12 +325,12 @@ public class LitemallGoodsAttribute {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
enum
Column
{
id
(
"id"
),
goodsId
(
"goods_id"
),
value
(
"value"
),
attribute
(
"attribute"
),
addTime
(
"add_time"
),
deleted
(
"deleted"
);
id
(
"id"
,
"id"
,
"INTEGER"
),
goodsId
(
"goods_id"
,
"goodsId"
,
"INTEGER"
),
value
(
"value"
,
"value"
,
"VARCHAR"
),
attribute
(
"attribute"
,
"attribute"
,
"VARCHAR"
),
addTime
(
"add_time"
,
"addTime"
,
"TIMESTAMP"
),
deleted
(
"deleted"
,
"deleted"
,
"BIT"
);
/**
* This field was generated by MyBatis Generator.
...
...
@@ -292,6 +341,24 @@ public class LitemallGoodsAttribute {
*/
private
final
String
column
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
javaProperty
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
jdbcType
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
...
...
@@ -321,8 +388,32 @@ public class LitemallGoodsAttribute {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column
(
String
column
)
{
public
String
getJavaProperty
()
{
return
this
.
javaProperty
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
String
getJdbcType
()
{
return
this
.
jdbcType
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column
(
String
column
,
String
javaProperty
,
String
jdbcType
)
{
this
.
column
=
column
;
this
.
javaProperty
=
javaProperty
;
this
.
jdbcType
=
jdbcType
;
}
/**
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsAttributeExample.java
View file @
8f078bd9
...
...
@@ -116,13 +116,11 @@ public class LitemallGoodsAttributeExample {
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
public
LitemallGoodsAttributeExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
}
/**
...
...
@@ -130,10 +128,18 @@ public class LitemallGoodsAttributeExample {
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
public
LitemallGoodsAttributeExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
}
/**
...
...
@@ -142,10 +148,12 @@ public class LitemallGoodsAttributeExample {
*
* @mbg.generated
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
...
...
@@ -153,11 +161,10 @@ public class LitemallGoodsAttributeExample {
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
p
ublic
LitemallGoodsAttributeExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
p
rotected
Criteria
createCriteriaInternal
(
)
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
}
/**
...
...
@@ -165,18 +172,11 @@ public class LitemallGoodsAttributeExample {
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
LitemallGoodsAttributeExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
...
...
@@ -660,6 +660,29 @@ public class LitemallGoodsAttributeExample {
return
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andLogicalDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallGoodsAttribute
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallGoodsAttribute
.
IS_DELETED
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
Criteria
andDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallGoodsAttribute
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallGoodsAttribute
.
IS_DELETED
);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_goods_attribute
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsExample.java
View file @
8f078bd9
...
...
@@ -117,13 +117,11 @@ public class LitemallGoodsExample {
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
public
LitemallGoodsExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
}
/**
...
...
@@ -131,10 +129,18 @@ public class LitemallGoodsExample {
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
public
LitemallGoodsExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
}
/**
...
...
@@ -143,10 +149,12 @@ public class LitemallGoodsExample {
*
* @mbg.generated
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
...
...
@@ -154,11 +162,10 @@ public class LitemallGoodsExample {
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
p
ublic
LitemallGoodsExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
p
rotected
Criteria
createCriteriaInternal
(
)
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
}
/**
...
...
@@ -166,18 +173,11 @@ public class LitemallGoodsExample {
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
LitemallGoodsExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
...
...
@@ -1535,6 +1535,29 @@ public class LitemallGoodsExample {
return
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andLogicalDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallGoods
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallGoods
.
IS_DELETED
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
Criteria
andDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallGoods
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallGoods
.
IS_DELETED
);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_goods
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsSpecification.java
View file @
8f078bd9
...
...
@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import
java.time.LocalDateTime
;
public
class
LitemallGoodsSpecification
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
final
Boolean
NOT_DELETED
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_goods_specification
*
* @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_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
final
Boolean
IS_DELETED
=
true
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_goods_specification
*
* @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.
...
...
@@ -304,6 +342,17 @@ public class LitemallGoodsSpecification {
return
result
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
void
andLogicalDeleted
(
boolean
deleted
)
{
setDeleted
(
deleted
?
IS_DELETED
:
NOT_DELETED
);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_goods_specification
...
...
@@ -312,13 +361,13 @@ public class LitemallGoodsSpecification {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
enum
Column
{
id
(
"id"
),
goodsId
(
"goods_id"
),
value
(
"value"
),
picUrl
(
"pic_url"
),
specification
(
"specification"
),
addTime
(
"add_time"
),
deleted
(
"deleted"
);
id
(
"id"
,
"id"
,
"INTEGER"
),
goodsId
(
"goods_id"
,
"goodsId"
,
"INTEGER"
),
value
(
"value"
,
"value"
,
"VARCHAR"
),
picUrl
(
"pic_url"
,
"picUrl"
,
"VARCHAR"
),
specification
(
"specification"
,
"specification"
,
"VARCHAR"
),
addTime
(
"add_time"
,
"addTime"
,
"TIMESTAMP"
),
deleted
(
"deleted"
,
"deleted"
,
"BIT"
);
/**
* This field was generated by MyBatis Generator.
...
...
@@ -329,6 +378,24 @@ public class LitemallGoodsSpecification {
*/
private
final
String
column
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
javaProperty
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
jdbcType
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
...
...
@@ -358,8 +425,32 @@ public class LitemallGoodsSpecification {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column
(
String
column
)
{
public
String
getJavaProperty
()
{
return
this
.
javaProperty
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
String
getJdbcType
()
{
return
this
.
jdbcType
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column
(
String
column
,
String
javaProperty
,
String
jdbcType
)
{
this
.
column
=
column
;
this
.
javaProperty
=
javaProperty
;
this
.
jdbcType
=
jdbcType
;
}
/**
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsSpecificationExample.java
View file @
8f078bd9
...
...
@@ -116,13 +116,11 @@ public class LitemallGoodsSpecificationExample {
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
public
LitemallGoodsSpecificationExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
}
/**
...
...
@@ -130,10 +128,18 @@ public class LitemallGoodsSpecificationExample {
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
public
LitemallGoodsSpecificationExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
}
/**
...
...
@@ -142,10 +148,12 @@ public class LitemallGoodsSpecificationExample {
*
* @mbg.generated
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
...
...
@@ -153,11 +161,10 @@ public class LitemallGoodsSpecificationExample {
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
p
ublic
LitemallGoodsSpecificationExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
p
rotected
Criteria
createCriteriaInternal
(
)
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
}
/**
...
...
@@ -165,18 +172,11 @@ public class LitemallGoodsSpecificationExample {
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
LitemallGoodsSpecificationExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
...
...
@@ -730,6 +730,29 @@ public class LitemallGoodsSpecificationExample {
return
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andLogicalDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallGoodsSpecification
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallGoodsSpecification
.
IS_DELETED
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
Criteria
andDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallGoodsSpecification
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallGoodsSpecification
.
IS_DELETED
);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_goods_specification
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallIssue.java
View file @
8f078bd9
...
...
@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import
java.time.LocalDateTime
;
public
class
LitemallIssue
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
final
Boolean
NOT_DELETED
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_issue
*
* @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_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
final
Boolean
IS_DELETED
=
true
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_issue
*
* @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.
...
...
@@ -232,6 +270,17 @@ public class LitemallIssue {
return
result
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
void
andLogicalDeleted
(
boolean
deleted
)
{
setDeleted
(
deleted
?
IS_DELETED
:
NOT_DELETED
);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_issue
...
...
@@ -240,11 +289,11 @@ public class LitemallIssue {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
enum
Column
{
id
(
"id"
),
question
(
"question"
),
answer
(
"answer"
),
addTime
(
"add_time"
),
deleted
(
"deleted"
);
id
(
"id"
,
"id"
,
"INTEGER"
),
question
(
"question"
,
"question"
,
"VARCHAR"
),
answer
(
"answer"
,
"answer"
,
"VARCHAR"
),
addTime
(
"add_time"
,
"addTime"
,
"TIMESTAMP"
),
deleted
(
"deleted"
,
"deleted"
,
"BIT"
);
/**
* This field was generated by MyBatis Generator.
...
...
@@ -255,6 +304,24 @@ public class LitemallIssue {
*/
private
final
String
column
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
javaProperty
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
jdbcType
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
...
...
@@ -284,8 +351,32 @@ public class LitemallIssue {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column
(
String
column
)
{
public
String
getJavaProperty
()
{
return
this
.
javaProperty
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
String
getJdbcType
()
{
return
this
.
jdbcType
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column
(
String
column
,
String
javaProperty
,
String
jdbcType
)
{
this
.
column
=
column
;
this
.
javaProperty
=
javaProperty
;
this
.
jdbcType
=
jdbcType
;
}
/**
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallIssueExample.java
View file @
8f078bd9
...
...
@@ -116,13 +116,11 @@ public class LitemallIssueExample {
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
public
LitemallIssueExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
}
/**
...
...
@@ -130,10 +128,18 @@ public class LitemallIssueExample {
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
public
LitemallIssueExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
}
/**
...
...
@@ -142,10 +148,12 @@ public class LitemallIssueExample {
*
* @mbg.generated
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
...
...
@@ -153,11 +161,10 @@ public class LitemallIssueExample {
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
p
ublic
LitemallIssueExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
p
rotected
Criteria
createCriteriaInternal
(
)
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
}
/**
...
...
@@ -165,18 +172,11 @@ public class LitemallIssueExample {
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
LitemallIssueExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
...
...
@@ -600,6 +600,29 @@ public class LitemallIssueExample {
return
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andLogicalDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallIssue
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallIssue
.
IS_DELETED
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
Criteria
andDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallIssue
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallIssue
.
IS_DELETED
);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_issue
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallKeyword.java
View file @
8f078bd9
...
...
@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import
java.time.LocalDateTime
;
public
class
LitemallKeyword
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
final
Boolean
NOT_DELETED
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_keyword
*
* @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_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
final
Boolean
IS_DELETED
=
true
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_keyword
*
* @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.
...
...
@@ -376,6 +414,17 @@ public class LitemallKeyword {
return
result
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
void
andLogicalDeleted
(
boolean
deleted
)
{
setDeleted
(
deleted
?
IS_DELETED
:
NOT_DELETED
);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_keyword
...
...
@@ -384,15 +433,15 @@ public class LitemallKeyword {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
enum
Column
{
id
(
"id"
),
keyword
(
"keyword"
),
url
(
"url"
),
isHot
(
"is_hot"
),
isDefault
(
"is_default"
),
isShow
(
"is_show"
),
sortOrder
(
"sort_order"
),
addTime
(
"add_time"
),
deleted
(
"deleted"
);
id
(
"id"
,
"id"
,
"INTEGER"
),
keyword
(
"keyword"
,
"keyword"
,
"VARCHAR"
),
url
(
"url"
,
"url"
,
"VARCHAR"
),
isHot
(
"is_hot"
,
"isHot"
,
"BIT"
),
isDefault
(
"is_default"
,
"isDefault"
,
"BIT"
),
isShow
(
"is_show"
,
"isShow"
,
"BIT"
),
sortOrder
(
"sort_order"
,
"sortOrder"
,
"INTEGER"
),
addTime
(
"add_time"
,
"addTime"
,
"TIMESTAMP"
),
deleted
(
"deleted"
,
"deleted"
,
"BIT"
);
/**
* This field was generated by MyBatis Generator.
...
...
@@ -403,6 +452,24 @@ public class LitemallKeyword {
*/
private
final
String
column
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
javaProperty
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
jdbcType
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
...
...
@@ -432,8 +499,32 @@ public class LitemallKeyword {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column
(
String
column
)
{
public
String
getJavaProperty
()
{
return
this
.
javaProperty
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
String
getJdbcType
()
{
return
this
.
jdbcType
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column
(
String
column
,
String
javaProperty
,
String
jdbcType
)
{
this
.
column
=
column
;
this
.
javaProperty
=
javaProperty
;
this
.
jdbcType
=
jdbcType
;
}
/**
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallKeywordExample.java
View file @
8f078bd9
...
...
@@ -116,13 +116,11 @@ public class LitemallKeywordExample {
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
public
LitemallKeywordExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
}
/**
...
...
@@ -130,10 +128,18 @@ public class LitemallKeywordExample {
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
public
LitemallKeywordExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
}
/**
...
...
@@ -142,10 +148,12 @@ public class LitemallKeywordExample {
*
* @mbg.generated
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
...
...
@@ -153,11 +161,10 @@ public class LitemallKeywordExample {
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
p
ublic
LitemallKeywordExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
p
rotected
Criteria
createCriteriaInternal
(
)
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
}
/**
...
...
@@ -165,18 +172,11 @@ public class LitemallKeywordExample {
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
LitemallKeywordExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
...
...
@@ -840,6 +840,29 @@ public class LitemallKeywordExample {
return
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andLogicalDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallKeyword
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallKeyword
.
IS_DELETED
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
Criteria
andDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallKeyword
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallKeyword
.
IS_DELETED
);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_keyword
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrder.java
View file @
8f078bd9
...
...
@@ -4,6 +4,44 @@ import java.math.BigDecimal;
import
java.time.LocalDateTime
;
public
class
LitemallOrder
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
final
Boolean
NOT_DELETED
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_order
*
* @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_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
final
Boolean
IS_DELETED
=
true
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_order
*
* @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.
...
...
@@ -917,6 +955,17 @@ public class LitemallOrder {
return
result
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
void
andLogicalDeleted
(
boolean
deleted
)
{
setDeleted
(
deleted
?
IS_DELETED
:
NOT_DELETED
);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_order
...
...
@@ -925,30 +974,30 @@ public class LitemallOrder {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
enum
Column
{
id
(
"id"
),
userId
(
"user_id"
),
orderSn
(
"order_sn"
),
orderStatus
(
"order_status"
),
consignee
(
"consignee"
),
mobile
(
"mobile"
),
address
(
"address"
),
goodsPrice
(
"goods_price"
),
freightPrice
(
"freight_price"
),
couponPrice
(
"coupon_price"
),
integralPrice
(
"integral_price"
),
orderPrice
(
"order_price"
),
actualPrice
(
"actual_price"
),
payId
(
"pay_id"
),
payStatus
(
"pay_status"
),
payTime
(
"pay_time"
),
shipSn
(
"ship_sn"
),
shipChannel
(
"ship_channel"
),
shipStartTime
(
"ship_start_time"
),
shipEndTime
(
"ship_end_time"
),
confirmTime
(
"confirm_time"
),
endTime
(
"end_time"
),
addTime
(
"add_time"
),
deleted
(
"deleted"
);
id
(
"id"
,
"id"
,
"INTEGER"
),
userId
(
"user_id"
,
"userId"
,
"INTEGER"
),
orderSn
(
"order_sn"
,
"orderSn"
,
"VARCHAR"
),
orderStatus
(
"order_status"
,
"orderStatus"
,
"SMALLINT"
),
consignee
(
"consignee"
,
"consignee"
,
"VARCHAR"
),
mobile
(
"mobile"
,
"mobile"
,
"VARCHAR"
),
address
(
"address"
,
"address"
,
"VARCHAR"
),
goodsPrice
(
"goods_price"
,
"goodsPrice"
,
"DECIMAL"
),
freightPrice
(
"freight_price"
,
"freightPrice"
,
"DECIMAL"
),
couponPrice
(
"coupon_price"
,
"couponPrice"
,
"DECIMAL"
),
integralPrice
(
"integral_price"
,
"integralPrice"
,
"DECIMAL"
),
orderPrice
(
"order_price"
,
"orderPrice"
,
"DECIMAL"
),
actualPrice
(
"actual_price"
,
"actualPrice"
,
"DECIMAL"
),
payId
(
"pay_id"
,
"payId"
,
"VARCHAR"
),
payStatus
(
"pay_status"
,
"payStatus"
,
"SMALLINT"
),
payTime
(
"pay_time"
,
"payTime"
,
"TIMESTAMP"
),
shipSn
(
"ship_sn"
,
"shipSn"
,
"VARCHAR"
),
shipChannel
(
"ship_channel"
,
"shipChannel"
,
"VARCHAR"
),
shipStartTime
(
"ship_start_time"
,
"shipStartTime"
,
"TIMESTAMP"
),
shipEndTime
(
"ship_end_time"
,
"shipEndTime"
,
"TIMESTAMP"
),
confirmTime
(
"confirm_time"
,
"confirmTime"
,
"TIMESTAMP"
),
endTime
(
"end_time"
,
"endTime"
,
"TIMESTAMP"
),
addTime
(
"add_time"
,
"addTime"
,
"TIMESTAMP"
),
deleted
(
"deleted"
,
"deleted"
,
"BIT"
);
/**
* This field was generated by MyBatis Generator.
...
...
@@ -959,6 +1008,24 @@ public class LitemallOrder {
*/
private
final
String
column
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
javaProperty
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
jdbcType
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order
...
...
@@ -988,8 +1055,32 @@ public class LitemallOrder {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column
(
String
column
)
{
public
String
getJavaProperty
()
{
return
this
.
javaProperty
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
String
getJdbcType
()
{
return
this
.
jdbcType
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column
(
String
column
,
String
javaProperty
,
String
jdbcType
)
{
this
.
column
=
column
;
this
.
javaProperty
=
javaProperty
;
this
.
jdbcType
=
jdbcType
;
}
/**
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrderExample.java
View file @
8f078bd9
...
...
@@ -117,13 +117,11 @@ public class LitemallOrderExample {
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
public
LitemallOrderExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
}
/**
...
...
@@ -131,10 +129,18 @@ public class LitemallOrderExample {
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
public
LitemallOrderExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
}
/**
...
...
@@ -143,10 +149,12 @@ public class LitemallOrderExample {
*
* @mbg.generated
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
...
...
@@ -154,11 +162,10 @@ public class LitemallOrderExample {
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
p
ublic
LitemallOrderExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
p
rotected
Criteria
createCriteriaInternal
(
)
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
}
/**
...
...
@@ -166,18 +173,11 @@ public class LitemallOrderExample {
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
LitemallOrderExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
...
...
@@ -1791,6 +1791,29 @@ public class LitemallOrderExample {
return
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andLogicalDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallOrder
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallOrder
.
IS_DELETED
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
Criteria
andDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallOrder
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallOrder
.
IS_DELETED
);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_order
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrderGoods.java
View file @
8f078bd9
...
...
@@ -5,6 +5,44 @@ import java.time.LocalDateTime;
import
java.util.Arrays
;
public
class
LitemallOrderGoods
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
final
Boolean
NOT_DELETED
=
false
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_order_goods
*
* @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_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
static
final
Boolean
IS_DELETED
=
true
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_order_goods
*
* @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.
...
...
@@ -522,6 +560,17 @@ public class LitemallOrderGoods {
return
result
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
void
andLogicalDeleted
(
boolean
deleted
)
{
setDeleted
(
deleted
?
IS_DELETED
:
NOT_DELETED
);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_order_goods
...
...
@@ -530,19 +579,19 @@ public class LitemallOrderGoods {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
enum
Column
{
id
(
"id"
),
orderId
(
"order_id"
),
goodsId
(
"goods_id"
),
goodsName
(
"goods_name"
),
goodsSn
(
"goods_sn"
),
productId
(
"product_id"
),
number
(
"number"
),
retailPrice
(
"retail_price"
),
goodsSpecificationValues
(
"goods_specification_values"
),
goodsSpecificationIds
(
"goods_specification_ids"
),
picUrl
(
"pic_url"
),
addTime
(
"add_time"
),
deleted
(
"deleted"
);
id
(
"id"
,
"id"
,
"INTEGER"
),
orderId
(
"order_id"
,
"orderId"
,
"INTEGER"
),
goodsId
(
"goods_id"
,
"goodsId"
,
"INTEGER"
),
goodsName
(
"goods_name"
,
"goodsName"
,
"VARCHAR"
),
goodsSn
(
"goods_sn"
,
"goodsSn"
,
"VARCHAR"
),
productId
(
"product_id"
,
"productId"
,
"INTEGER"
),
number
(
"number"
,
"number"
,
"SMALLINT"
),
retailPrice
(
"retail_price"
,
"retailPrice"
,
"DECIMAL"
),
goodsSpecificationValues
(
"goods_specification_values"
,
"goodsSpecificationValues"
,
"VARCHAR"
),
goodsSpecificationIds
(
"goods_specification_ids"
,
"goodsSpecificationIds"
,
"CHAR"
),
picUrl
(
"pic_url"
,
"picUrl"
,
"VARCHAR"
),
addTime
(
"add_time"
,
"addTime"
,
"TIMESTAMP"
),
deleted
(
"deleted"
,
"deleted"
,
"BIT"
);
/**
* This field was generated by MyBatis Generator.
...
...
@@ -553,6 +602,24 @@ public class LitemallOrderGoods {
*/
private
final
String
column
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
javaProperty
;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private
final
String
jdbcType
;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods
...
...
@@ -582,8 +649,32 @@ public class LitemallOrderGoods {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column
(
String
column
)
{
public
String
getJavaProperty
()
{
return
this
.
javaProperty
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
String
getJdbcType
()
{
return
this
.
jdbcType
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column
(
String
column
,
String
javaProperty
,
String
jdbcType
)
{
this
.
column
=
column
;
this
.
javaProperty
=
javaProperty
;
this
.
jdbcType
=
jdbcType
;
}
/**
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrderGoodsExample.java
View file @
8f078bd9
...
...
@@ -117,13 +117,11 @@ public class LitemallOrderGoodsExample {
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
public
LitemallOrderGoodsExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
}
/**
...
...
@@ -131,10 +129,18 @@ public class LitemallOrderGoodsExample {
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
public
LitemallOrderGoodsExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
}
/**
...
...
@@ -143,10 +149,12 @@ public class LitemallOrderGoodsExample {
*
* @mbg.generated
*/
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
/**
...
...
@@ -154,11 +162,10 @@ public class LitemallOrderGoodsExample {
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
p
ublic
LitemallOrderGoodsExample
orderBy
(
String
orderByClause
)
{
this
.
setOrderByClause
(
orderByClause
);
return
this
;
p
rotected
Criteria
createCriteriaInternal
(
)
{
Criteria
criteria
=
new
Criteria
(
this
);
return
criteria
;
}
/**
...
...
@@ -166,18 +173,11 @@ public class LitemallOrderGoodsExample {
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
LitemallOrderGoodsExample
orderBy
(
String
...
orderByClauses
)
{
StringBuffer
sb
=
new
StringBuffer
();
for
(
int
i
=
0
;
i
<
orderByClauses
.
length
;
i
++)
{
sb
.
append
(
orderByClauses
[
i
]);
if
(
i
<
orderByClauses
.
length
-
1
)
{
sb
.
append
(
" , "
);
}
}
this
.
setOrderByClause
(
sb
.
toString
());
return
this
;
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
/**
...
...
@@ -1145,6 +1145,29 @@ public class LitemallOrderGoodsExample {
return
this
;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public
Criteria
andLogicalDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallOrderGoods
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallOrderGoods
.
IS_DELETED
);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public
Criteria
andDeleted
(
boolean
deleted
)
{
return
deleted
?
andDeletedEqualTo
(
LitemallOrderGoods
.
IS_DELETED
)
:
andDeletedNotEqualTo
(
LitemallOrderGoods
.
IS_DELETED
);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_order_goods
...
...
Prev
1
2
3
4
5
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