记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
eff76e86
Commit
eff76e86
authored
Dec 28, 2021
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~structure<>entity;
parent
2d740370
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
45 additions
and
52 deletions
+45
-52
GoblinGoodsCategorySpec.java
...uidnet/service/goblin/entity/GoblinGoodsCategorySpec.java
+4
-2
GoblinGoodsImage.java
...com/liquidnet/service/goblin/entity/GoblinGoodsImage.java
+2
-0
GoblinGoodsSku.java
...a/com/liquidnet/service/goblin/entity/GoblinGoodsSku.java
+1
-1
GoblinGoodsSkuSpecValue.java
...uidnet/service/goblin/entity/GoblinGoodsSkuSpecValue.java
+4
-7
GoblinGoodsSpec.java
.../com/liquidnet/service/goblin/entity/GoblinGoodsSpec.java
+2
-2
GoblinGoodsSpecValue.java
...liquidnet/service/goblin/entity/GoblinGoodsSpecValue.java
+5
-1
GoblinGoodsSpuSpecValue.java
...uidnet/service/goblin/entity/GoblinGoodsSpuSpecValue.java
+4
-7
GoblinServiceSupport.java
...liquidnet/service/goblin/entity/GoblinServiceSupport.java
+1
-1
db_ln_goblin_initialdata.sql
...net-service-goblin-impl/docu/db_ln_goblin_initialdata.sql
+22
-31
No files found.
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinGoodsCategorySpec.java
View file @
eff76e86
...
...
@@ -20,8 +20,8 @@ public class GoblinGoodsCategorySpec implements Serializable {
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Long
id
;
@TableId
(
value
=
"
m
id"
,
type
=
IdType
.
AUTO
)
private
Long
m
id
;
/**
* 分类id,对应 goblin_self_goods_category.cate_id
...
...
@@ -38,5 +38,7 @@ public class GoblinGoodsCategorySpec implements Serializable {
*/
private
String
delFlg
;
private
String
comment
;
}
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinGoodsImage.java
View file @
eff76e86
...
...
@@ -38,5 +38,7 @@ public class GoblinGoodsImage implements Serializable {
*/
private
String
delFlg
;
private
String
comment
;
}
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinGoodsSku.java
View file @
eff76e86
...
...
@@ -73,7 +73,7 @@ public class GoblinGoodsSku implements Serializable {
private
BigDecimal
price
;
/**
* 会员价格
*
单品
会员价格
*/
private
BigDecimal
priceMember
;
...
...
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinGoodsSkuSpecValue.java
View file @
eff76e86
...
...
@@ -20,8 +20,8 @@ public class GoblinGoodsSkuSpecValue implements Serializable {
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Long
id
;
@TableId
(
value
=
"
m
id"
,
type
=
IdType
.
AUTO
)
private
Long
m
id
;
/**
* 商品id,对应 goblin_goods.spu_id
...
...
@@ -43,15 +43,12 @@ public class GoblinGoodsSkuSpecValue implements Serializable {
*/
private
String
specVid
;
/**
* 规格值
*/
private
String
valueRemark
;
/**
* 删除标记[0-未删除|1-删除]
*/
private
String
delFlg
;
private
String
comment
;
}
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinGoodsSpec.java
View file @
eff76e86
...
...
@@ -21,8 +21,8 @@ public class GoblinGoodsSpec implements Serializable {
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Long
id
;
@TableId
(
value
=
"
m
id"
,
type
=
IdType
.
AUTO
)
private
Long
m
id
;
/**
* 规格id
...
...
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinGoodsSpecValue.java
View file @
eff76e86
...
...
@@ -2,6 +2,9 @@ package com.liquidnet.service.goblin.entity;
import
java.time.LocalDateTime
;
import
java.io.Serializable
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
...
...
@@ -19,7 +22,8 @@ public class GoblinGoodsSpecValue implements Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
String
id
;
@TableId
(
value
=
"mid"
,
type
=
IdType
.
AUTO
)
private
Long
mid
;
/**
* 规格id,对应 goblin_goods_spec.spec_id
...
...
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinGoodsSpuSpecValue.java
View file @
eff76e86
...
...
@@ -20,8 +20,8 @@ public class GoblinGoodsSpuSpecValue implements Serializable {
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
private
Long
id
;
@TableId
(
value
=
"
m
id"
,
type
=
IdType
.
AUTO
)
private
Long
m
id
;
/**
* 商品id,对应 goblin_goods.spu_id
...
...
@@ -38,15 +38,12 @@ public class GoblinGoodsSpuSpecValue implements Serializable {
*/
private
String
specVid
;
/**
* 规格值
*/
private
String
valueRemark
;
/**
* 删除标记[0-未删除|1-删除]
*/
private
String
delFlg
;
private
String
comment
;
}
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinServiceSupport.java
View file @
eff76e86
...
...
@@ -30,7 +30,7 @@ public class GoblinServiceSupport implements Serializable {
private
String
ssid
;
/**
* 服务支持
的
名称
* 服务支持名称
*/
private
String
name
;
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/docu/db_ln_goblin_initialdata.sql
View file @
eff76e86
...
...
@@ -74,7 +74,6 @@ create table goblin_self_goods_category
create
unique
index
uidx_gsgc_cate_id
on
goblin_self_goods_category
(
cate_id
);
#
-- >>------------------------------------------------------------------------------------
#
-- >>------------------------------------------------------------------------------------
#
-- >>------------------------------------------------------------------------------------
drop
table
if
exists
goblin_store_info
;
create
table
goblin_store_info
(
...
...
@@ -189,7 +188,6 @@ create table goblin_store_goods_category
create
index
idx_gsgc_store_id
on
goblin_store_goods_category
(
store_id
);
#
-- >>------------------------------------------------------------------------------------
#
-- >>------------------------------------------------------------------------------------
#
-- >>------------------------------------------------------------------------------------
drop
table
if
exists
goblin_goods_service_support
;
create
table
goblin_goods_service_support
(
...
...
@@ -223,7 +221,8 @@ create table goblin_goods_image
mid
bigint
auto_increment
primary
key
,
spu_id
varchar
(
64
)
not
null
comment
'商品id'
,
url
varchar
(
256
)
not
null
comment
'图片地址'
,
del_flg
char
default
'0'
comment
'删除标记[0-未删除|1-删除]'
del_flg
char
default
'0'
comment
'删除标记[0-未删除|1-删除]'
,
comment
varchar
(
255
)
)
engine
=
InnoDB
comment
'商品图片'
;
create
index
idx_ggi_spu_id
on
goblin_goods_image
(
spu_id
);
...
...
@@ -323,13 +322,12 @@ create index idx_ggs_spu_id on goblin_goods_sku (spu_id);
drop
table
if
exists
goblin_goods_spu_spec_value
;
create
table
goblin_goods_spu_spec_value
(
id
bigint
auto_increment
primary
key
,
spu_id
varchar
(
64
)
not
null
comment
'商品id,对应 goblin_goods.spu_id'
,
spec_id
varchar
(
30
)
not
null
comment
'规格id,对应 goblin_goods_spec.spec_id'
,
spec_vid
varchar
(
30
)
not
null
comment
'规格值id,对应 goblin_goods_spec_value.spec_vid'
,
#
url
varchar
(
256
)
null
comment
'规格值的图片地址'
,
value_remark
varchar
(
100
)
not
null
comment
'规格值'
,
del_flg
char
default
'0'
comment
'删除标记[0-未删除|1-删除]'
mid
bigint
auto_increment
primary
key
,
spu_id
varchar
(
64
)
not
null
comment
'商品id,对应 goblin_goods.spu_id'
,
spec_id
varchar
(
30
)
not
null
comment
'规格id,对应 goblin_goods_spec.spec_id'
,
spec_vid
varchar
(
30
)
not
null
comment
'规格值id,对应 goblin_goods_spec_value.spec_vid'
,
del_flg
char
default
'0'
comment
'删除标记[0-未删除|1-删除]'
,
comment
varchar
(
255
)
)
engine
=
InnoDB
comment
'商品关联规格值'
;
create
index
idx_ggssv_spu_id
on
goblin_goods_spu_spec_value
(
spu_id
);
...
...
@@ -337,24 +335,23 @@ create index idx_ggssv_spu_id on goblin_goods_spu_spec_value (spu_id);
drop
table
if
exists
goblin_goods_sku_spec_value
;
create
table
goblin_goods_sku_spec_value
(
id
bigint
auto_increment
primary
key
,
spu_id
varchar
(
64
)
not
null
comment
'商品id,对应 goblin_goods.spu_id'
,
sku_id
varchar
(
64
)
not
null
comment
'单品id,对应 goblin_goods_sku.sku_id'
,
spec_id
varchar
(
30
)
not
null
comment
'规格id,对应 goblin_goods_spec.spec_id'
,
spec_vid
varchar
(
30
)
not
null
comment
'规格值id,对应 goblin_goods_spec_value.spec_vid'
,
value_remark
varchar
(
100
)
not
null
comment
'规格值
'
,
del_flg
char
default
'0'
comment
'删除标记[0-未删除|1-删除]'
mid
bigint
auto_increment
primary
key
,
spu_id
varchar
(
64
)
not
null
comment
'商品id,对应 goblin_goods.spu_id'
,
sku_id
varchar
(
64
)
not
null
comment
'单品id,对应 goblin_goods_sku.sku_id'
,
spec_id
varchar
(
30
)
not
null
comment
'规格id,对应 goblin_goods_spec.spec_id'
,
spec_vid
varchar
(
30
)
not
null
comment
'规格值id,对应 goblin_goods_spec_value.spec_vid'
,
del_flg
char
default
'0'
comment
'删除标记[0-未删除|1-删除]
'
,
comment
varchar
(
255
)
)
engine
=
InnoDB
comment
'单品关联规格值'
;
create
index
idx_ggssv_sku_id
on
goblin_goods_sku_spec_value
(
sku_id
);
create
index
idx_ggssv_spec_id
on
goblin_goods_sku_spec_value
(
spec_id
);
#
-- >>------------------------------------------------------------------------------------
#
-- >>------------------------------------------------------------------------------------
#
-- >>------------------------------------------------------------------------------------
drop
table
if
exists
goblin_goods_spec_value
;
create
table
goblin_goods_spec_value
(
id
varchar
(
64
)
not
null
primary
key
,
mid
bigint
auto_increment
primary
key
,
spec_id
varchar
(
30
)
not
null
comment
'规格id,对应 goblin_goods_spec.spec_id'
,
spec_vid
varchar
(
30
)
not
null
comment
'规格值id'
,
spec_vname
varchar
(
128
)
not
null
comment
'规格值的名称'
,
...
...
@@ -374,7 +371,7 @@ create index idx_ggsv_spec_vid on goblin_goods_spec_value (spec_vid);
drop
table
if
exists
goblin_goods_spec
;
create
table
goblin_goods_spec
(
id
bigint
auto_increment
primary
key
,
mid
bigint
auto_increment
primary
key
,
spec_id
varchar
(
30
)
not
null
comment
'规格id'
,
spec_name
varchar
(
45
)
not
null
comment
'规格名称'
,
spec_alias
varchar
(
45
)
null
comment
'规格别名'
,
...
...
@@ -394,14 +391,16 @@ create unique index uidx_ggs_spec_id on goblin_goods_spec (spec_id);
drop
table
if
exists
goblin_goods_category_spec
;
create
table
goblin_goods_category_spec
(
id
bigint
auto_increment
primary
key
,
mid
bigint
auto_increment
primary
key
,
cate_id
varchar
(
30
)
not
null
comment
'分类id,对应 goblin_self_goods_category.cate_id'
,
spec_id
varchar
(
30
)
not
null
comment
'规格id,对应 goblin_goods_spec.spec_id'
,
del_flg
char
default
'0'
comment
'删除标记[0-未删除|1-删除'
del_flg
char
default
'0'
comment
'删除标记[0-未删除|1-删除'
,
comment
varchar
(
255
)
)
engine
=
InnoDB
comment
'分类关联规格'
;
create
index
idx_ggcs_cate_id
on
goblin_goods_category_spec
(
cate_id
);
#
-- >>------------------------------------------------------------------------------------
#
-- >>------------------------------------------------------------------------------------
#
-- >>------------------------------------------------------------------------------------
DROP
TABLE
IF
EXISTS
`goblin_front_banner`
;
CREATE
TABLE
`goblin_front_banner`
...
...
@@ -424,14 +423,6 @@ CREATE TABLE `goblin_front_banner`
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
COMMENT
=
'轮播图'
;
#
-- >>------------------------------------------------------------------------------------
#
-- >>------------------------------------------------------------------------------------
#
-- >>------------------------------------------------------------------------------------
#
-- >>------------------------------------------------------------------------------------
#
-- >>------------------------------------------------------------------------------------
#
-- >>------------------------------------------------------------------------------------
#
-- >>------------------------------------------------------------------------------------
#
-- >>------------------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment