记得上下班打卡 | 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
fc7f5267
Commit
fc7f5267
authored
Jan 07, 2022
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~API;
parent
8faec223
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
127 additions
and
24 deletions
+127
-24
GoblinSelfGoodsCategoryVo.java
...dnet/service/goblin/dto/vo/GoblinSelfGoodsCategoryVo.java
+41
-0
IGoblinstoreMgtGoodsService.java
...ce/goblin/service/manage/IGoblinstoreMgtGoodsService.java
+6
-10
GoblinSelfGoodsCategory.java
...uidnet/service/goblin/entity/GoblinSelfGoodsCategory.java
+6
-1
db_ln_goblin_initialdata.sql
...net-service-goblin-impl/docu/db_ln_goblin_initialdata.sql
+1
-0
GoblinStoreMgtGoodsController.java
...blin/controller/manage/GoblinStoreMgtGoodsController.java
+5
-4
GoblinStoreMgtGoodsServiceImpl.java
...n/service/impl/manage/GoblinStoreMgtGoodsServiceImpl.java
+12
-8
GoblinMongoUtils.java
...a/com/liquidnet/service/goblin/util/GoblinMongoUtils.java
+15
-1
GoblinRedisUtils.java
...a/com/liquidnet/service/goblin/util/GoblinRedisUtils.java
+36
-0
ObjectUtil.java
...in/java/com/liquidnet/service/goblin/util/ObjectUtil.java
+5
-0
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/vo/GoblinSelfGoodsCategoryVo.java
0 → 100644
View file @
fc7f5267
package
com
.
liquidnet
.
service
.
goblin
.
dto
.
vo
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
@ApiModel
(
value
=
"GoblinSelfGoodsCategoryVo"
,
description
=
"平台分类信息"
)
@Data
public
class
GoblinSelfGoodsCategoryVo
implements
Serializable
,
Cloneable
{
private
static
final
long
serialVersionUID
=
-
2342407105969740471L
;
@ApiModelProperty
(
position
=
10
,
value
=
"分类ID"
)
private
String
cateId
;
@ApiModelProperty
(
position
=
11
,
value
=
"分类名称"
)
private
String
name
;
@ApiModelProperty
(
position
=
12
,
value
=
"分类图标"
)
private
String
icon
;
@ApiModelProperty
(
position
=
13
,
value
=
"排序[数值越小,排序越前]"
)
private
Integer
sort
;
@ApiModelProperty
(
position
=
14
,
value
=
"分类层级[1-一级|2-二级|3-三级]"
)
private
String
grade
;
@ApiModelProperty
(
position
=
15
,
value
=
"分类父ID"
)
private
String
catePid
;
@ApiModelProperty
(
position
=
16
,
value
=
"是否需要填写ISBN[0-否|1-是]"
)
private
String
neIsbn
;
public
GoblinSelfGoodsCategoryVo
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
private
static
final
GoblinSelfGoodsCategoryVo
obj
=
new
GoblinSelfGoodsCategoryVo
();
public
static
GoblinSelfGoodsCategoryVo
getNew
()
{
try
{
return
(
GoblinSelfGoodsCategoryVo
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
GoblinSelfGoodsCategoryVo
();
}
}
}
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/service/manage/IGoblinstoreMgtGoodsService.java
View file @
fc7f5267
...
@@ -76,23 +76,19 @@ public interface IGoblinstoreMgtGoodsService {
...
@@ -76,23 +76,19 @@ public interface IGoblinstoreMgtGoodsService {
boolean
goodsEditSkuBat
(
String
spuId
,
String
batField
,
String
batFieldVal
);
boolean
goodsEditSkuBat
(
String
spuId
,
String
batField
,
String
batFieldVal
);
/**
/**
* 商品管理:上架商品
* 商品管理:上
下
架商品
*
*
* @param storeMgtGoodsActionParam GoblinStoreMgtGoodsActionParam
* @param storeMgtGoodsActionParam GoblinStoreMgtGoodsActionParam
* @param uid UID
* @param shelvesFlg true:上架|false:下架
*/
*/
void
goodsOnshelves
(
GoblinStoreMgtGoodsActionParam
storeMgtGoodsActionParam
);
void
goodsShelvesProcessing
(
GoblinStoreMgtGoodsActionParam
storeMgtGoodsActionParam
,
String
uid
,
boolean
shelvesFlg
);
/**
* 商品管理:下架商品
*
* @param storeMgtGoodsActionParam GoblinStoreMgtGoodsActionParam
*/
void
goodsUnshelves
(
GoblinStoreMgtGoodsActionParam
storeMgtGoodsActionParam
);
/**
/**
* 商品管理:删除商品
* 商品管理:删除商品
*
*
* @param storeMgtGoodsActionParam GoblinStoreMgtGoodsActionParam
* @param storeMgtGoodsActionParam GoblinStoreMgtGoodsActionParam
* @param uid UID
*/
*/
void
goodsRemove
(
GoblinStoreMgtGoodsActionParam
storeMgtGoodsActionParam
);
void
goodsRemove
(
GoblinStoreMgtGoodsActionParam
storeMgtGoodsActionParam
,
String
uid
);
}
}
liquidnet-bus-do/liquidnet-service-goblin-do/src/main/java/com/liquidnet/service/goblin/entity/GoblinSelfGoodsCategory.java
View file @
fc7f5267
...
@@ -25,7 +25,7 @@ public class GoblinSelfGoodsCategory implements Serializable {
...
@@ -25,7 +25,7 @@ public class GoblinSelfGoodsCategory implements Serializable {
private
Long
mid
;
private
Long
mid
;
/**
/**
*
商铺
分类id
* 分类id
*/
*/
private
String
cateId
;
private
String
cateId
;
...
@@ -34,6 +34,11 @@ public class GoblinSelfGoodsCategory implements Serializable {
...
@@ -34,6 +34,11 @@ public class GoblinSelfGoodsCategory implements Serializable {
*/
*/
private
String
name
;
private
String
name
;
/**
* 分类图标
*/
private
String
icon
;
/**
/**
* 排序[数值越小,排序越前]
* 排序[数值越小,排序越前]
*/
*/
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/docu/db_ln_goblin_initialdata.sql
View file @
fc7f5267
...
@@ -73,6 +73,7 @@ create table goblin_self_goods_category
...
@@ -73,6 +73,7 @@ create table goblin_self_goods_category
mid
bigint
auto_increment
primary
key
,
mid
bigint
auto_increment
primary
key
,
cate_id
varchar
(
30
)
not
null
comment
'商铺分类id'
,
cate_id
varchar
(
30
)
not
null
comment
'商铺分类id'
,
name
varchar
(
50
)
not
null
comment
'分类名称'
,
name
varchar
(
50
)
not
null
comment
'分类名称'
,
icon
varchar
(
50
)
null
comment
'分类图标'
,
sort
int
default
0
comment
'排序[数值越小,排序越前]'
,
sort
int
default
0
comment
'排序[数值越小,排序越前]'
,
grade
char
null
comment
'分类层级[1-一级|2-二级|3-三级]'
,
grade
char
null
comment
'分类层级[1-一级|2-二级|3-三级]'
,
cate_pid
varchar
(
30
)
null
comment
'分类父id'
,
cate_pid
varchar
(
30
)
null
comment
'分类父id'
,
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/controller/manage/GoblinStoreMgtGoodsController.java
View file @
fc7f5267
...
@@ -99,7 +99,8 @@ public class GoblinStoreMgtGoodsController {
...
@@ -99,7 +99,8 @@ public class GoblinStoreMgtGoodsController {
@ApiOperation
(
value
=
"SPU管理"
)
@ApiOperation
(
value
=
"SPU管理"
)
@PostMapping
(
"operate"
)
@PostMapping
(
"operate"
)
public
ResponseDto
<
Object
>
action
(
@Valid
@RequestBody
GoblinStoreMgtGoodsActionParam
storeMgtGoodsActionParam
)
{
public
ResponseDto
<
Object
>
action
(
@Valid
@RequestBody
GoblinStoreMgtGoodsActionParam
storeMgtGoodsActionParam
)
{
if
(!
goblinRedisUtils
.
hasStoreId
(
CurrentUtil
.
getCurrentUid
(),
storeMgtGoodsActionParam
.
getStoreId
()))
{
String
currentUid
=
CurrentUtil
.
getCurrentUid
();
if
(!
goblinRedisUtils
.
hasStoreId
(
currentUid
,
storeMgtGoodsActionParam
.
getStoreId
()))
{
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
"149002"
));
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
"149002"
));
}
}
if
(
log
.
isDebugEnabled
())
{
if
(
log
.
isDebugEnabled
())
{
...
@@ -109,13 +110,13 @@ public class GoblinStoreMgtGoodsController {
...
@@ -109,13 +110,13 @@ public class GoblinStoreMgtGoodsController {
switch
(
storeMgtGoodsActionParam
.
getAction
())
{
switch
(
storeMgtGoodsActionParam
.
getAction
())
{
case
"ONSHELVES"
:
case
"ONSHELVES"
:
goblinstoreMgtGoodsService
.
goods
Onshelves
(
storeMgtGoodsActionParam
);
goblinstoreMgtGoodsService
.
goods
ShelvesProcessing
(
storeMgtGoodsActionParam
,
currentUid
,
true
);
break
;
break
;
case
"UNSHELVE"
:
case
"UNSHELVE"
:
goblinstoreMgtGoodsService
.
goods
Unshelves
(
storeMgtGoodsActionParam
);
goblinstoreMgtGoodsService
.
goods
ShelvesProcessing
(
storeMgtGoodsActionParam
,
currentUid
,
false
);
break
;
break
;
case
"REMOVE"
:
case
"REMOVE"
:
goblinstoreMgtGoodsService
.
goodsRemove
(
storeMgtGoodsActionParam
);
goblinstoreMgtGoodsService
.
goodsRemove
(
storeMgtGoodsActionParam
,
currentUid
);
break
;
break
;
default
:
default
:
log
.
warn
(
"Invalid operation[action={}]"
,
storeMgtGoodsActionParam
.
getAction
());
log
.
warn
(
"Invalid operation[action={}]"
,
storeMgtGoodsActionParam
.
getAction
());
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/manage/GoblinStoreMgtGoodsServiceImpl.java
View file @
fc7f5267
...
@@ -231,17 +231,21 @@ public class GoblinStoreMgtGoodsServiceImpl implements IGoblinstoreMgtGoodsServi
...
@@ -231,17 +231,21 @@ public class GoblinStoreMgtGoodsServiceImpl implements IGoblinstoreMgtGoodsServi
}
}
@Override
@Override
public
void
goodsOnshelves
(
GoblinStoreMgtGoodsActionParam
storeMgtGoodsActionParam
)
{
public
void
goodsShelvesProcessing
(
GoblinStoreMgtGoodsActionParam
storeMgtGoodsActionParam
,
String
uid
,
boolean
shelvesFlg
)
{
// TODO: 2021/12/28 zhanggb
LocalDateTime
now
=
LocalDateTime
.
now
();
}
String
storeId
=
storeMgtGoodsActionParam
.
getStoreId
();
List
<
String
>
spuIdList
=
storeMgtGoodsActionParam
.
getSpuIdList
();
@Override
goblinMongoUtils
.
updateGoodsInfoVoByShelves
(
storeId
,
spuIdList
,
shelvesFlg
,
uid
,
now
);
public
void
goodsUnshelves
(
GoblinStoreMgtGoodsActionParam
storeMgtGoodsActionParam
)
{
// TODO: 2022/1/7 zhanggb redis+sql
// TODO: 2021/12/28 zhanggb
}
}
@Override
@Override
public
void
goodsRemove
(
GoblinStoreMgtGoodsActionParam
storeMgtGoodsActionParam
)
{
public
void
goodsRemove
(
GoblinStoreMgtGoodsActionParam
storeMgtGoodsActionParam
,
String
uid
)
{
// TODO: 2021/12/28 zhanggb
LocalDateTime
now
=
LocalDateTime
.
now
();
String
storeId
=
storeMgtGoodsActionParam
.
getStoreId
();
List
<
String
>
spuIdList
=
storeMgtGoodsActionParam
.
getSpuIdList
();
goblinMongoUtils
.
delGoodsInfoVoBySpuIds
(
storeId
,
spuIdList
,
uid
,
now
);
}
}
}
}
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/util/GoblinMongoUtils.java
View file @
fc7f5267
...
@@ -118,6 +118,14 @@ public class GoblinMongoUtils {
...
@@ -118,6 +118,14 @@ public class GoblinMongoUtils {
GoblinGoodsInfoVo
.
class
,
GoblinGoodsInfoVo
.
class
.
getSimpleName
()).
getDeletedCount
()
>
0
;
GoblinGoodsInfoVo
.
class
,
GoblinGoodsInfoVo
.
class
.
getSimpleName
()).
getDeletedCount
()
>
0
;
}
}
public
boolean
delGoodsInfoVoBySpuIds
(
String
storeId
,
List
<
String
>
spuIdList
,
String
uid
,
LocalDateTime
time
)
{
return
mongoTemplate
.
updateMulti
(
Query
.
query
(
Criteria
.
where
(
"store_id"
).
is
(
storeId
).
and
(
"spuId"
).
in
(
spuIdList
.
toArray
())),
Update
.
update
(
"delFlg"
,
1
).
set
(
"updatedBy"
,
uid
).
set
(
"updatedAt"
,
time
).
set
(
"deletedBy"
,
uid
).
set
(
"deletedAt"
,
time
),
GoblinGoodsInfoVo
.
class
.
getSimpleName
()
).
getModifiedCount
()
>
0
;
}
public
List
<
String
>
delGoodsInfoVoByStoreId
(
String
storeId
,
String
uid
,
LocalDateTime
time
)
{
public
List
<
String
>
delGoodsInfoVoByStoreId
(
String
storeId
,
String
uid
,
LocalDateTime
time
)
{
Query
query
=
Query
.
query
(
Criteria
.
where
(
"storeId"
).
is
(
storeId
).
and
(
"shelves_status"
).
is
(
"3"
));
Query
query
=
Query
.
query
(
Criteria
.
where
(
"storeId"
).
is
(
storeId
).
and
(
"shelves_status"
).
is
(
"3"
));
query
.
fields
().
include
(
"spuId"
);
query
.
fields
().
include
(
"spuId"
);
...
@@ -170,7 +178,7 @@ public class GoblinMongoUtils {
...
@@ -170,7 +178,7 @@ public class GoblinMongoUtils {
if
(
null
!=
filterParam
.
getPriceLe
())
{
if
(
null
!=
filterParam
.
getPriceLe
())
{
criteria
.
andOperator
(
Criteria
.
where
(
"priceGe"
).
lte
(
filterParam
.
getPriceLe
()));
criteria
.
andOperator
(
Criteria
.
where
(
"priceGe"
).
lte
(
filterParam
.
getPriceLe
()));
}
}
Query
query
=
Query
.
query
(
criteria
);
Query
query
=
Query
.
query
(
criteria
.
and
(
"delFlg"
).
is
(
"0"
)
);
long
count
=
mongoTemplate
.
count
(
query
,
GoblinGoodsInfoVo
.
class
.
getSimpleName
());
long
count
=
mongoTemplate
.
count
(
query
,
GoblinGoodsInfoVo
.
class
.
getSimpleName
());
...
@@ -206,6 +214,12 @@ public class GoblinMongoUtils {
...
@@ -206,6 +214,12 @@ public class GoblinMongoUtils {
).
getModifiedCount
()
>
0
;
).
getModifiedCount
()
>
0
;
}
}
public
boolean
updateGoodsInfoVoByShelves
(
String
storeId
,
List
<
String
>
spuIdList
,
boolean
shelvesFlg
,
String
uid
,
LocalDateTime
time
)
{
return
mongoTemplate
.
updateMulti
(
Query
.
query
(
Criteria
.
where
(
"storeId"
).
is
(
storeId
).
and
(
"spuId"
).
in
(
spuIdList
.
toArray
())),
Update
.
update
(
"shelvesStatus"
,
shelvesFlg
?
"3"
:
"1"
).
set
(
"shelvesAt"
,
time
).
set
(
"updatedBy"
,
uid
).
set
(
"updatedAt"
,
time
),
GoblinGoodsInfoVo
.
class
.
getSimpleName
()).
getModifiedCount
()
>
0
;
}
// SKU信息
// SKU信息
public
GoblinGoodsSkuInfoVo
setGoodsSkuInfoVo
(
GoblinGoodsSkuInfoVo
vo
)
{
public
GoblinGoodsSkuInfoVo
setGoodsSkuInfoVo
(
GoblinGoodsSkuInfoVo
vo
)
{
return
mongoTemplate
.
insert
(
vo
,
GoblinGoodsSkuInfoVo
.
class
.
getSimpleName
());
return
mongoTemplate
.
insert
(
vo
,
GoblinGoodsSkuInfoVo
.
class
.
getSimpleName
());
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/util/GoblinRedisUtils.java
View file @
fc7f5267
...
@@ -63,6 +63,38 @@ public class GoblinRedisUtils {
...
@@ -63,6 +63,38 @@ public class GoblinRedisUtils {
return
(
int
)
redisUtil
.
decr
(
rk
,
stock
);
return
(
int
)
redisUtil
.
decr
(
rk
,
stock
);
}
}
/* ---------------------------------------- 其他数据源 ---------------------------------------- */
public
List
<
GoblinSelfGoodsCategoryVo
>
getSelfGoodsCategoryVos
()
{
ArrayList
<
GoblinSelfGoodsCategoryVo
>
selfGoodsCategoryVoList
=
ObjectUtil
.
getGoblinSelfGoodsCategoryVoArrayList
();
for
(
int
i
=
0
;
i
<
3
;
i
++)
{
GoblinSelfGoodsCategoryVo
vo
=
GoblinSelfGoodsCategoryVo
.
getNew
();
vo
.
setCateId
(
"10000"
);
vo
.
setName
(
"分类一级"
);
vo
.
setSort
(
i
);
vo
.
setCatePid
(
""
);
vo
.
setGrade
(
i
+
1
+
""
);
vo
.
setNeIsbn
(
"0"
);
vo
.
setIcon
(
"https://img.zhengzai.tv/files/2020/08/31/5f4c75095e9bc.png"
);
if
(
i
==
1
)
{
vo
.
setNeIsbn
(
"1"
);
vo
.
setCateId
(
"10100"
);
vo
.
setName
(
"分类二级"
);
vo
.
setCatePid
(
"10001"
);
vo
.
setIcon
(
"https://img.zhengzai.tv/files/2020/08/31/5f4c75095e9bc.png"
);
}
if
(
i
==
2
)
{
vo
.
setNeIsbn
(
"0"
);
vo
.
setCateId
(
"10101"
);
vo
.
setName
(
"分类三级"
);
vo
.
setCatePid
(
"10100"
);
vo
.
setIcon
(
"https://img.zhengzai.tv/files/2020/08/31/5f4c75095e9bc.png"
);
}
selfGoodsCategoryVoList
.
add
(
vo
);
}
return
selfGoodsCategoryVoList
;
}
/* ---------------------------------------- 店铺数据源 ---------------------------------------- */
/* ---------------------------------------- 店铺数据源 ---------------------------------------- */
private
boolean
setStoreIds
(
String
uid
,
List
<
String
>
storeIds
)
{
private
boolean
setStoreIds
(
String
uid
,
List
<
String
>
storeIds
)
{
...
@@ -152,6 +184,8 @@ public class GoblinRedisUtils {
...
@@ -152,6 +184,8 @@ public class GoblinRedisUtils {
GoblinGoodsInfoVo
vo
=
(
GoblinGoodsInfoVo
)
redisUtil
.
get
(
rk
);
GoblinGoodsInfoVo
vo
=
(
GoblinGoodsInfoVo
)
redisUtil
.
get
(
rk
);
if
(
null
==
vo
&&
null
!=
(
vo
=
goblinMongoUtils
.
getGoodsInfoVo
(
spuId
)))
{
if
(
null
==
vo
&&
null
!=
(
vo
=
goblinMongoUtils
.
getGoodsInfoVo
(
spuId
)))
{
// redisUtil.set(rk, vo);// TODO: 2022/1/4 zhanggb:暂不设置
// redisUtil.set(rk, vo);// TODO: 2022/1/4 zhanggb:暂不设置
vo
=
!
vo
.
getDelFlg
().
equals
(
"0"
)
?
null
:
vo
;
}
}
return
vo
;
return
vo
;
}
}
...
@@ -184,6 +218,8 @@ public class GoblinRedisUtils {
...
@@ -184,6 +218,8 @@ public class GoblinRedisUtils {
GoblinGoodsSkuInfoVo
vo
=
(
GoblinGoodsSkuInfoVo
)
redisUtil
.
get
(
rk
);
GoblinGoodsSkuInfoVo
vo
=
(
GoblinGoodsSkuInfoVo
)
redisUtil
.
get
(
rk
);
if
(
null
==
vo
&&
null
!=
(
vo
=
goblinMongoUtils
.
getGoodsSkuInfoVo
(
skuId
)))
{
if
(
null
==
vo
&&
null
!=
(
vo
=
goblinMongoUtils
.
getGoodsSkuInfoVo
(
skuId
)))
{
// redisUtil.set(rk, vo);// TODO: 2022/1/4 zhanggb:暂不设置
// redisUtil.set(rk, vo);// TODO: 2022/1/4 zhanggb:暂不设置
vo
=
!
vo
.
getDelFlg
().
equals
(
"0"
)
?
null
:
vo
;
}
}
return
vo
;
return
vo
;
}
}
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/util/ObjectUtil.java
View file @
fc7f5267
...
@@ -28,6 +28,7 @@ public class ObjectUtil {
...
@@ -28,6 +28,7 @@ public class ObjectUtil {
private
static
final
ArrayList
<
GoblinServiceSupportVo
>
goblinServiceSupportVoArrayList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
GoblinServiceSupportVo
>
goblinServiceSupportVoArrayList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
GoblinSelfTagVo
>
goblinSelfTagVoArrayList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
GoblinSelfTagVo
>
goblinSelfTagVoArrayList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
GoblinGoodsTagVo
>
goblinGoodsTagVoArrayList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
GoblinGoodsTagVo
>
goblinGoodsTagVoArrayList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
GoblinSelfGoodsCategoryVo
>
goblinSelfGoodsCategoryVoArrayList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
GoblinGoodsExtagVo
>
goblinGoodsExtagVoArrayList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
GoblinGoodsExtagVo
>
goblinGoodsExtagVoArrayList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
GoblinGoodsSpecDto
>
goblinGoodsSpecDtoArrayList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
GoblinGoodsSpecDto
>
goblinGoodsSpecDtoArrayList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
GoblinMarketSpuListVo
>
goblinMarketSpuListVoArrayList
=
new
ArrayList
<>();
private
static
final
ArrayList
<
GoblinMarketSpuListVo
>
goblinMarketSpuListVoArrayList
=
new
ArrayList
<>();
...
@@ -129,6 +130,10 @@ public class ObjectUtil {
...
@@ -129,6 +130,10 @@ public class ObjectUtil {
return
(
ArrayList
<
GoblinGoodsTagVo
>)
goblinGoodsTagVoArrayList
.
clone
();
return
(
ArrayList
<
GoblinGoodsTagVo
>)
goblinGoodsTagVoArrayList
.
clone
();
}
}
public
static
ArrayList
<
GoblinSelfGoodsCategoryVo
>
getGoblinSelfGoodsCategoryVoArrayList
()
{
return
(
ArrayList
<
GoblinSelfGoodsCategoryVo
>)
goblinSelfGoodsCategoryVoArrayList
.
clone
();
}
public
static
ArrayList
<
GoblinGoodsExtagVo
>
getGoblinGoodsExtagVoArrayList
()
{
public
static
ArrayList
<
GoblinGoodsExtagVo
>
getGoblinGoodsExtagVoArrayList
()
{
return
(
ArrayList
<
GoblinGoodsExtagVo
>)
goblinGoodsExtagVoArrayList
.
clone
();
return
(
ArrayList
<
GoblinGoodsExtagVo
>)
goblinGoodsExtagVoArrayList
.
clone
();
}
}
...
...
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