记得上下班打卡 | 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
7612a8ed
Commit
7612a8ed
authored
Nov 10, 2022
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~api:商品SPU|SKU+条码、ERP编码;
parent
6dde9b98
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
39 additions
and
4 deletions
+39
-4
GoblinGoodsInfoVo.java
...om/liquidnet/service/goblin/dto/vo/GoblinGoodsInfoVo.java
+5
-1
GoblinGoodsSkuInfoVo.java
...liquidnet/service/goblin/dto/vo/GoblinGoodsSkuInfoVo.java
+5
-1
GoblinGoods.java
...java/com/liquidnet/service/goblin/entity/GoblinGoods.java
+10
-0
GoblinGoodsSku.java
...a/com/liquidnet/service/goblin/entity/GoblinGoodsSku.java
+11
-1
db_ln_goblin_initialdata.sql
...net-service-goblin-impl/docu/db_ln_goblin_initialdata.sql
+8
-1
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/vo/GoblinGoodsInfoVo.java
View file @
7612a8ed
...
...
@@ -22,8 +22,12 @@ public class GoblinGoodsInfoVo implements Serializable, Cloneable {
private
String
storeId
;
@ApiModelProperty
(
position
=
11
,
value
=
"商品ID[64]"
)
private
String
spuId
;
@ApiModelProperty
(
position
=
12
,
value
=
"商品编码[
默认为系统编码,也可手动输入商家自己的编码]
"
)
@ApiModelProperty
(
position
=
12
,
value
=
"商品编码[
50]默认为系统编码,也可手动输入商家自己的编码
"
)
private
String
spuNo
;
@ApiModelProperty
(
position
=
12
,
value
=
"商品条码[32]"
)
private
String
spuBarCode
;
@ApiModelProperty
(
position
=
12
,
value
=
"ERP商品编码[64]"
)
private
String
spuErpCode
;
@ApiModelProperty
(
position
=
12
,
value
=
"商品类型[0-常规|1-数字藏品]"
)
private
int
spuType
;
@ApiModelProperty
(
position
=
13
,
value
=
"商品名称[100]"
)
...
...
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/vo/GoblinGoodsSkuInfoVo.java
View file @
7612a8ed
...
...
@@ -23,8 +23,12 @@ public class GoblinGoodsSkuInfoVo implements Serializable, Cloneable {
private
String
skuId
;
@ApiModelProperty
(
position
=
11
,
value
=
"商品ID[64]"
)
private
String
spuId
;
@ApiModelProperty
(
position
=
12
,
value
=
"单品的
编号[45]
"
)
@ApiModelProperty
(
position
=
12
,
value
=
"单品的
条码[50]默认为系统编码,也可手动输入商家自己的编码
"
)
private
String
skuNo
;
@ApiModelProperty
(
position
=
12
,
value
=
"单品条码[32]"
)
private
String
skuBarCode
;
@ApiModelProperty
(
position
=
12
,
value
=
"ERP单品编码[64]"
)
private
String
skuErpCode
;
@ApiModelProperty
(
position
=
12
,
value
=
"商品类型[0-常规|1-数字藏品]"
)
private
int
skuType
;
@ApiModelProperty
(
position
=
13
,
value
=
"单品的名称[100]"
)
...
...
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinGoods.java
View file @
7612a8ed
...
...
@@ -35,6 +35,16 @@ public class GoblinGoods implements Serializable {
*/
private
String
spuNo
;
/**
* 商品条码
*/
private
String
spuBarCode
;
/**
* ERP商品编码
*/
private
String
spuErpCode
;
/**
* 商品类型[0-常规|1-数字藏品]
*/
...
...
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinGoodsSku.java
View file @
7612a8ed
...
...
@@ -28,10 +28,20 @@ public class GoblinGoodsSku implements Serializable {
private
String
spuId
;
/**
* 单品
的编号
* 单品
编码
*/
private
String
skuNo
;
/**
* 单品条码
*/
private
String
skuBarCode
;
/**
* ERP单品编码
*/
private
String
skuErpCode
;
/**
* 商品类型[0-常规|1-数字藏品]
*/
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/docu/db_ln_goblin_initialdata.sql
View file @
7612a8ed
...
...
@@ -1188,7 +1188,14 @@ create table goblin_nft_transfer_order
comment
varchar
(
500
)
)
engine
=
InnoDB
comment
'藏品转赠订单记录'
;
create
unique
index
uidx_gnto_order_id
on
goblin_nft_transfer_order
(
order_id
);
#
-- >>------------------------------------------------------------------------------------
#
-- >>------------------------------------------------------------------------------------ |20221110商品导入扫码
alter
table
goblin_goods
modify
spu_no
varchar
(
64
)
not
null
comment
'商品编码'
;
alter
table
goblin_goods
add
spuBarCode
varchar
(
64
)
null
comment
'商品条码'
after
spu_no
;
alter
table
goblin_goods
add
spuErpCode
varchar
(
64
)
null
comment
'ERP商品编码'
after
spuBarCode
;
alter
table
goblin_goods_sku
modify
sku_no
varchar
(
64
)
not
null
comment
'单品编码'
;
alter
table
goblin_goods_sku
add
sku_bar_code
varchar
(
64
)
null
comment
'单品条码'
after
sku_no
;
alter
table
goblin_goods_sku
add
sku_erp_code
varchar
(
64
)
null
comment
'ERP单品编码'
after
sku_bar_code
;
#
-- >>------------------------------------------------------------------------------------
#
-- >>------------------------------------------------------------------------------------
#
-- >>------------------------------------------------------------------------------------
...
...
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