记得上下班打卡 | 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
c2dcf08e
Commit
c2dcf08e
authored
Jan 07, 2023
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改erp文案
parent
16ac1d2f
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
24 additions
and
24 deletions
+24
-24
GoblinStoreMgtDigitalGoodsAddParam.java
...goblin/dto/manage/GoblinStoreMgtDigitalGoodsAddParam.java
+2
-2
GoblinStoreMgtDigitalGoodsAddSkuParam.java
...lin/dto/manage/GoblinStoreMgtDigitalGoodsAddSkuParam.java
+2
-2
GoblinStoreMgtGoodsAddParam.java
...ervice/goblin/dto/manage/GoblinStoreMgtGoodsAddParam.java
+2
-2
GoblinStoreMgtGoodsAddSkuParam.java
...ice/goblin/dto/manage/GoblinStoreMgtGoodsAddSkuParam.java
+2
-2
GoblinStoreMgtGoodsEditSkuParam.java
...ce/goblin/dto/manage/GoblinStoreMgtGoodsEditSkuParam.java
+2
-2
GoblinGoodsInfoVo.java
...om/liquidnet/service/goblin/dto/vo/GoblinGoodsInfoVo.java
+1
-1
GoblinGoodsSkuInfoVo.java
...liquidnet/service/goblin/dto/vo/GoblinGoodsSkuInfoVo.java
+1
-1
GoblinGoods.java
...java/com/liquidnet/service/goblin/entity/GoblinGoods.java
+1
-1
GoblinGoodsSku.java
...a/com/liquidnet/service/goblin/entity/GoblinGoodsSku.java
+1
-1
GoblinNftOrder.java
...a/com/liquidnet/service/goblin/entity/GoblinNftOrder.java
+2
-2
GoblinOrderSku.java
...a/com/liquidnet/service/goblin/entity/GoblinOrderSku.java
+2
-2
db_ln_goblin_initialdata.sql
...net-service-goblin-impl/docu/db_ln_goblin_initialdata.sql
+5
-5
WdtServiceImpl.java
...idnet/service/goblin/service/impl/erp/WdtServiceImpl.java
+1
-1
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/manage/GoblinStoreMgtDigitalGoodsAddParam.java
View file @
c2dcf08e
...
@@ -68,8 +68,8 @@ public class GoblinStoreMgtDigitalGoodsAddParam implements Serializable {
...
@@ -68,8 +68,8 @@ public class GoblinStoreMgtDigitalGoodsAddParam implements Serializable {
@ApiModelProperty
(
position
=
26
,
required
=
true
,
value
=
"ERP类型[WANGDIAN-旺店通]"
)
@ApiModelProperty
(
position
=
26
,
required
=
true
,
value
=
"ERP类型[WANGDIAN-旺店通]"
)
@Pattern
(
regexp
=
"\\b(WANGDIAN)\\b"
,
message
=
"ERP类型无效"
)
@Pattern
(
regexp
=
"\\b(WANGDIAN)\\b"
,
message
=
"ERP类型无效"
)
private
String
erpType
;
private
String
erpType
;
@ApiModelProperty
(
position
=
26
,
required
=
false
,
value
=
"ERP
商品编码
[藏品品对应在ERP的商品编码,默认为空]"
)
@ApiModelProperty
(
position
=
26
,
required
=
false
,
value
=
"ERP
货品编号
[藏品品对应在ERP的商品编码,默认为空]"
)
@Size
(
max
=
40
,
message
=
"ERP
商品编码
长度限制40"
)
@Size
(
max
=
40
,
message
=
"ERP
货品编号
长度限制40"
)
private
String
spuErpCode
;
private
String
spuErpCode
;
/**
/**
...
...
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/manage/GoblinStoreMgtDigitalGoodsAddSkuParam.java
View file @
c2dcf08e
...
@@ -113,8 +113,8 @@ public class GoblinStoreMgtDigitalGoodsAddSkuParam implements Serializable {
...
@@ -113,8 +113,8 @@ public class GoblinStoreMgtDigitalGoodsAddSkuParam implements Serializable {
@Size
(
max
=
10000
,
message
=
"藏品详情内容过长"
)
@Size
(
max
=
10000
,
message
=
"藏品详情内容过长"
)
private
String
details
;
private
String
details
;
@ApiModelProperty
(
position
=
30
,
required
=
false
,
value
=
"ERP
规格
编码"
)
@ApiModelProperty
(
position
=
30
,
required
=
false
,
value
=
"ERP
商家
编码"
)
@Size
(
max
=
40
,
message
=
"ERP
规格
编码长度限制40"
)
@Size
(
max
=
40
,
message
=
"ERP
商家
编码长度限制40"
)
private
String
skuErpCode
;
private
String
skuErpCode
;
@ApiModelProperty
(
position
=
30
,
value
=
"ERP托管[0-否|1-是],默认0"
)
@ApiModelProperty
(
position
=
30
,
value
=
"ERP托管[0-否|1-是],默认0"
)
@Pattern
(
regexp
=
"\\b(0|1)\\b"
,
message
=
"ERP托管参数无效"
)
@Pattern
(
regexp
=
"\\b(0|1)\\b"
,
message
=
"ERP托管参数无效"
)
...
...
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/manage/GoblinStoreMgtGoodsAddParam.java
View file @
c2dcf08e
...
@@ -99,8 +99,8 @@ public class GoblinStoreMgtGoodsAddParam implements Serializable {
...
@@ -99,8 +99,8 @@ public class GoblinStoreMgtGoodsAddParam implements Serializable {
@ApiModelProperty
(
position
=
26
,
required
=
true
,
value
=
"ERP类型[WANGDIAN-旺店通]"
)
@ApiModelProperty
(
position
=
26
,
required
=
true
,
value
=
"ERP类型[WANGDIAN-旺店通]"
)
@Pattern
(
regexp
=
"\\b(WANGDIAN)\\b"
,
message
=
"ERP类型无效"
)
@Pattern
(
regexp
=
"\\b(WANGDIAN)\\b"
,
message
=
"ERP类型无效"
)
private
String
erpType
;
private
String
erpType
;
@ApiModelProperty
(
position
=
26
,
required
=
false
,
value
=
"ERP
商品编码
[商品对应在ERP的商品编码,默认为空]"
)
@ApiModelProperty
(
position
=
26
,
required
=
false
,
value
=
"ERP
货品编号
[商品对应在ERP的商品编码,默认为空]"
)
@Size
(
max
=
40
,
message
=
"ERP
商品编码
长度限制40"
)
@Size
(
max
=
40
,
message
=
"ERP
货品编号
长度限制40"
)
private
String
spuErpCode
;
private
String
spuErpCode
;
/**
/**
...
...
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/manage/GoblinStoreMgtGoodsAddSkuParam.java
View file @
c2dcf08e
...
@@ -24,8 +24,8 @@ public class GoblinStoreMgtGoodsAddSkuParam implements Serializable {
...
@@ -24,8 +24,8 @@ public class GoblinStoreMgtGoodsAddSkuParam implements Serializable {
@ApiModelProperty
(
position
=
10
,
required
=
false
,
value
=
"单品条码"
)
@ApiModelProperty
(
position
=
10
,
required
=
false
,
value
=
"单品条码"
)
@Pattern
(
regexp
=
LnsRegex
.
Valid
.
ALPHABET_NUMBER_32
,
message
=
"单品条码格式或长度有误"
)
@Pattern
(
regexp
=
LnsRegex
.
Valid
.
ALPHABET_NUMBER_32
,
message
=
"单品条码格式或长度有误"
)
private
String
skuBarCode
;
private
String
skuBarCode
;
@ApiModelProperty
(
position
=
10
,
required
=
false
,
value
=
"ERP
规格
编码"
)
@ApiModelProperty
(
position
=
10
,
required
=
false
,
value
=
"ERP
商家
编码"
)
@Size
(
max
=
40
,
message
=
"ERP
规格
编码长度限制40"
)
@Size
(
max
=
40
,
message
=
"ERP
商家
编码长度限制40"
)
private
String
skuErpCode
;
private
String
skuErpCode
;
@ApiModelProperty
(
position
=
10
,
value
=
"ERP托管[0-否|1-是],默认0"
)
@ApiModelProperty
(
position
=
10
,
value
=
"ERP托管[0-否|1-是],默认0"
)
@Pattern
(
regexp
=
"\\b(0|1)\\b"
,
message
=
"ERP托管参数无效"
)
@Pattern
(
regexp
=
"\\b(0|1)\\b"
,
message
=
"ERP托管参数无效"
)
...
...
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/manage/GoblinStoreMgtGoodsEditSkuParam.java
View file @
c2dcf08e
...
@@ -34,8 +34,8 @@ public class GoblinStoreMgtGoodsEditSkuParam implements Serializable {
...
@@ -34,8 +34,8 @@ public class GoblinStoreMgtGoodsEditSkuParam implements Serializable {
@ApiModelProperty
(
position
=
12
,
required
=
false
,
value
=
"单品条码"
)
@ApiModelProperty
(
position
=
12
,
required
=
false
,
value
=
"单品条码"
)
@Pattern
(
regexp
=
LnsRegex
.
Valid
.
ALPHABET_NUMBER_32
,
message
=
"单品条码格式或长度有误"
)
@Pattern
(
regexp
=
LnsRegex
.
Valid
.
ALPHABET_NUMBER_32
,
message
=
"单品条码格式或长度有误"
)
private
String
skuBarCode
;
private
String
skuBarCode
;
@ApiModelProperty
(
position
=
12
,
required
=
false
,
value
=
"ERP
规格
编码"
)
@ApiModelProperty
(
position
=
12
,
required
=
false
,
value
=
"ERP
商家
编码"
)
@Size
(
max
=
40
,
message
=
"ERP
规格
编码长度限制40"
)
@Size
(
max
=
40
,
message
=
"ERP
商家
编码长度限制40"
)
private
String
skuErpCode
;
private
String
skuErpCode
;
@ApiModelProperty
(
position
=
12
,
value
=
"ERP托管[0-否|1-是],默认0"
)
@ApiModelProperty
(
position
=
12
,
value
=
"ERP托管[0-否|1-是],默认0"
)
@Pattern
(
regexp
=
"\\b(0|1)\\b"
,
message
=
"ERP托管参数无效"
)
@Pattern
(
regexp
=
"\\b(0|1)\\b"
,
message
=
"ERP托管参数无效"
)
...
...
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/vo/GoblinGoodsInfoVo.java
View file @
c2dcf08e
...
@@ -26,7 +26,7 @@ public class GoblinGoodsInfoVo implements Serializable, Cloneable {
...
@@ -26,7 +26,7 @@ public class GoblinGoodsInfoVo implements Serializable, Cloneable {
private
String
spuNo
;
private
String
spuNo
;
@ApiModelProperty
(
position
=
12
,
value
=
"商品条码[32]"
)
@ApiModelProperty
(
position
=
12
,
value
=
"商品条码[32]"
)
private
String
spuBarCode
;
private
String
spuBarCode
;
@ApiModelProperty
(
position
=
12
,
value
=
"ERP
商品编码
[64]"
)
@ApiModelProperty
(
position
=
12
,
value
=
"ERP
货品编号
[64]"
)
private
String
spuErpCode
;
private
String
spuErpCode
;
@ApiModelProperty
(
position
=
12
,
value
=
"ERP类型[WANGDIAN-旺店通]"
)
@ApiModelProperty
(
position
=
12
,
value
=
"ERP类型[WANGDIAN-旺店通]"
)
private
String
erpType
;
private
String
erpType
;
...
...
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/vo/GoblinGoodsSkuInfoVo.java
View file @
c2dcf08e
...
@@ -27,7 +27,7 @@ public class GoblinGoodsSkuInfoVo implements Serializable, Cloneable {
...
@@ -27,7 +27,7 @@ public class GoblinGoodsSkuInfoVo implements Serializable, Cloneable {
private
String
skuNo
;
private
String
skuNo
;
@ApiModelProperty
(
position
=
12
,
value
=
"单品条码[32]"
)
@ApiModelProperty
(
position
=
12
,
value
=
"单品条码[32]"
)
private
String
skuBarCode
;
private
String
skuBarCode
;
@ApiModelProperty
(
position
=
12
,
value
=
"
ERP规格
编码[64]"
)
@ApiModelProperty
(
position
=
12
,
value
=
"
商家
编码[64]"
)
private
String
skuErpCode
;
private
String
skuErpCode
;
@ApiModelProperty
(
position
=
12
,
value
=
"ERP类型[WANGDIAN-旺店通]"
)
@ApiModelProperty
(
position
=
12
,
value
=
"ERP类型[WANGDIAN-旺店通]"
)
private
String
erpType
;
private
String
erpType
;
...
...
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinGoods.java
View file @
c2dcf08e
...
@@ -41,7 +41,7 @@ public class GoblinGoods implements Serializable {
...
@@ -41,7 +41,7 @@ public class GoblinGoods implements Serializable {
private
String
spuBarCode
;
private
String
spuBarCode
;
/**
/**
* ERP
商品编码
* ERP
货品编号
*/
*/
private
String
spuErpCode
;
private
String
spuErpCode
;
...
...
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinGoodsSku.java
View file @
c2dcf08e
...
@@ -38,7 +38,7 @@ public class GoblinGoodsSku implements Serializable {
...
@@ -38,7 +38,7 @@ public class GoblinGoodsSku implements Serializable {
private
String
skuBarCode
;
private
String
skuBarCode
;
/**
/**
* ERP
规格
编码
* ERP
商家
编码
*/
*/
private
String
skuErpCode
;
private
String
skuErpCode
;
...
...
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinNftOrder.java
View file @
c2dcf08e
...
@@ -226,12 +226,12 @@ public class GoblinNftOrder implements Serializable, Cloneable {
...
@@ -226,12 +226,12 @@ public class GoblinNftOrder implements Serializable, Cloneable {
private
LocalDateTime
updatedAt
;
private
LocalDateTime
updatedAt
;
/**
/**
* ERP
商品编码
* ERP
货品编号
*/
*/
private
String
spuErpCode
;
private
String
spuErpCode
;
/**
/**
* ERP
规格
编码
* ERP
商家
编码
*/
*/
private
String
skuErpCode
;
private
String
skuErpCode
;
...
...
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinOrderSku.java
View file @
c2dcf08e
...
@@ -126,12 +126,12 @@ public class GoblinOrderSku implements Serializable,Cloneable {
...
@@ -126,12 +126,12 @@ public class GoblinOrderSku implements Serializable,Cloneable {
private
BigDecimal
cateRate
;
private
BigDecimal
cateRate
;
/**
/**
* ERP
商品编码
* ERP
货品编号
*/
*/
private
String
spuErpCode
;
private
String
spuErpCode
;
/**
/**
* ERP
规格
编码
* ERP
商家
编码
*/
*/
private
String
skuErpCode
;
private
String
skuErpCode
;
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/docu/db_ln_goblin_initialdata.sql
View file @
c2dcf08e
...
@@ -1201,7 +1201,7 @@ create table goblin_goods_anticipate_mix
...
@@ -1201,7 +1201,7 @@ create table goblin_goods_anticipate_mix
#
-- >>------------------------------------------------------------------------------------ |20221110商品导入扫码
#
-- >>------------------------------------------------------------------------------------ |20221110商品导入扫码
alter
table
goblin_goods
modify
spu_no
varchar
(
64
)
not
null
comment
'商品编码'
;
alter
table
goblin_goods
modify
spu_no
varchar
(
64
)
not
null
comment
'商品编码'
;
alter
table
goblin_goods
add
spu_bar_code
varchar
(
64
)
null
comment
'商品条码'
after
spu_no
;
alter
table
goblin_goods
add
spu_bar_code
varchar
(
64
)
null
comment
'商品条码'
after
spu_no
;
alter
table
goblin_goods
add
spu_erp_code
varchar
(
64
)
null
comment
'ERP
商品编码
'
after
spu_bar_code
;
alter
table
goblin_goods
add
spu_erp_code
varchar
(
64
)
null
comment
'ERP
货品编号
'
after
spu_bar_code
;
alter
table
goblin_goods_sku
modify
sku_no
varchar
(
64
)
not
null
comment
'单品编码'
;
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_bar_code
varchar
(
64
)
null
comment
'单品条码'
after
sku_no
;
...
@@ -1215,14 +1215,14 @@ alter table goblin_goods_sku add erp_warehouse_no varchar(64) null comment 'ERP
...
@@ -1215,14 +1215,14 @@ alter table goblin_goods_sku add erp_warehouse_no varchar(64) null comment 'ERP
alter
table
goblin_order_sku
add
erp_type
varchar
(
64
)
null
comment
'ERP类型[WANGDIAN-旺店通]'
after
push_time
;
alter
table
goblin_order_sku
add
erp_type
varchar
(
64
)
null
comment
'ERP类型[WANGDIAN-旺店通]'
after
push_time
;
alter
table
goblin_order_sku
add
erp_hosting
tinyint
default
0
comment
'ERP托管[0-否|1-是]默认0'
after
erp_type
;
alter
table
goblin_order_sku
add
erp_hosting
tinyint
default
0
comment
'ERP托管[0-否|1-是]默认0'
after
erp_type
;
alter
table
goblin_order_sku
add
spu_erp_code
varchar
(
64
)
null
comment
'ERP
商品编码
'
after
erp_hosting
;
alter
table
goblin_order_sku
add
spu_erp_code
varchar
(
64
)
null
comment
'ERP
货品编号
'
after
erp_hosting
;
alter
table
goblin_order_sku
add
sku_erp_code
varchar
(
64
)
null
comment
'ERP
规格
编码'
after
spu_erp_code
;
alter
table
goblin_order_sku
add
sku_erp_code
varchar
(
64
)
null
comment
'ERP
商家
编码'
after
spu_erp_code
;
alter
table
goblin_order_sku
add
erp_warehouse_no
varchar
(
64
)
null
comment
'ERP仓库编号'
after
sku_erp_code
;
alter
table
goblin_order_sku
add
erp_warehouse_no
varchar
(
64
)
null
comment
'ERP仓库编号'
after
sku_erp_code
;
alter
table
goblin_nft_order
add
erp_type
varchar
(
64
)
null
comment
'ERP类型[WANGDIAN-旺店通]'
after
mix_code
;
alter
table
goblin_nft_order
add
erp_type
varchar
(
64
)
null
comment
'ERP类型[WANGDIAN-旺店通]'
after
mix_code
;
alter
table
goblin_nft_order
add
erp_hosting
tinyint
default
0
comment
'ERP托管[0-否|1-是]默认0'
after
erp_type
;
alter
table
goblin_nft_order
add
erp_hosting
tinyint
default
0
comment
'ERP托管[0-否|1-是]默认0'
after
erp_type
;
alter
table
goblin_nft_order
add
spu_erp_code
varchar
(
64
)
null
comment
'ERP
商品编码
'
after
erp_hosting
;
alter
table
goblin_nft_order
add
spu_erp_code
varchar
(
64
)
null
comment
'ERP
货品编号
'
after
erp_hosting
;
alter
table
goblin_nft_order
add
sku_erp_code
varchar
(
64
)
null
comment
'ERP
规格
编码'
after
spu_erp_code
;
alter
table
goblin_nft_order
add
sku_erp_code
varchar
(
64
)
null
comment
'ERP
商家
编码'
after
spu_erp_code
;
alter
table
goblin_nft_order
add
erp_warehouse_no
varchar
(
64
)
null
comment
'ERP仓库编号'
after
sku_erp_code
;
alter
table
goblin_nft_order
add
erp_warehouse_no
varchar
(
64
)
null
comment
'ERP仓库编号'
after
sku_erp_code
;
drop
table
if
exists
goblin_store_erp_config
;
drop
table
if
exists
goblin_store_erp_config
;
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/erp/WdtServiceImpl.java
View file @
c2dcf08e
...
@@ -438,7 +438,7 @@ public class WdtServiceImpl implements IGoblinErpService {
...
@@ -438,7 +438,7 @@ public class WdtServiceImpl implements IGoblinErpService {
String
json
=
erpWdtClient
.
execute
(
ErpEnum
.
WdtAPI
.
GOODS_QUERY
.
getUri
(),
paramAck
,
storeErpConfigVo
.
getAppKey
(),
storeErpConfigVo
.
getSid
(),
storeErpConfigVo
.
getAppSecret
());
String
json
=
erpWdtClient
.
execute
(
ErpEnum
.
WdtAPI
.
GOODS_QUERY
.
getUri
(),
paramAck
,
storeErpConfigVo
.
getAppKey
(),
storeErpConfigVo
.
getSid
(),
storeErpConfigVo
.
getAppSecret
());
CheckGoodsBaseVo
checkGoodsBaseVo
=
JsonUtils
.
fromJson
(
json
,
CheckGoodsBaseVo
.
class
);
CheckGoodsBaseVo
checkGoodsBaseVo
=
JsonUtils
.
fromJson
(
json
,
CheckGoodsBaseVo
.
class
);
if
(
checkGoodsBaseVo
.
getTotal_count
()
==
0
)
{
if
(
checkGoodsBaseVo
.
getTotal_count
()
==
0
)
{
return
ResponseDto
.
failure
(
"ERP
商品编码或ERP规格
编码不存在"
);
return
ResponseDto
.
failure
(
"ERP
货品编号或ERP商家
编码不存在"
);
}
else
{
}
else
{
return
ResponseDto
.
success
(
true
);
return
ResponseDto
.
success
(
true
);
}
}
...
...
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