记得上下班打卡 | 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
bee8d19d
Commit
bee8d19d
authored
Apr 08, 2022
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~spuType;
parent
76f2900c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
GoblinStoreMgtDigitalGoodsAddSkuParam.java
...lin/dto/manage/GoblinStoreMgtDigitalGoodsAddSkuParam.java
+1
-0
GoblinStoreMgtGoodsFilterParam.java
...ice/goblin/dto/manage/GoblinStoreMgtGoodsFilterParam.java
+1
-1
GoblinMongoUtils.java
...a/com/liquidnet/service/goblin/util/GoblinMongoUtils.java
+6
-4
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/manage/GoblinStoreMgtDigitalGoodsAddSkuParam.java
View file @
bee8d19d
...
...
@@ -102,6 +102,7 @@ public class GoblinStoreMgtDigitalGoodsAddSkuParam implements Serializable {
private
String
intro
;
@ApiModelProperty
(
position
=
30
,
required
=
true
,
value
=
"详情[256]"
,
example
=
"详情..."
)
@NotBlank
(
message
=
"藏品详情不能为空"
)
@Size
(
max
=
2000
,
message
=
"藏品详情内容过长"
)
private
String
details
;
// @ApiModelProperty(position = 31, required = true, value = "上架处理方式[1-等待手动上架|2-直接上架售卖|3-预约定时上架]", example = "1")
...
...
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/manage/GoblinStoreMgtGoodsFilterParam.java
View file @
bee8d19d
...
...
@@ -42,5 +42,5 @@ public class GoblinStoreMgtGoodsFilterParam implements Serializable {
@ApiModelProperty
(
position
=
20
,
required
=
false
,
value
=
"价格区间MAX"
)
private
BigDecimal
priceLe
;
@ApiModelProperty
(
position
=
21
,
required
=
false
,
value
=
"商品类型[0-常规|1-数字藏品]"
)
private
int
spuType
;
private
Integer
spuType
;
}
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/util/GoblinMongoUtils.java
View file @
bee8d19d
...
...
@@ -359,10 +359,12 @@ public class GoblinMongoUtils {
// SPU分页
public
PagedResult
<
GoblinStoreMgtGoodsListVo
>
getMgtGoodsInfoVos
(
GoblinStoreMgtGoodsFilterParam
filterParam
)
{
Criteria
criteria
=
Criteria
.
where
(
"delFlg"
).
is
(
"0"
).
and
(
"storeId"
).
is
(
filterParam
.
getStoreId
()).
and
(
"marketId"
).
exists
(
false
);
if
(
0
==
filterParam
.
getSpuType
())
{
criteria
.
andOperator
(
Criteria
.
where
(
"spuType"
).
exists
(
false
).
orOperator
(
Criteria
.
where
(
"spuType"
).
is
(
0
)));
}
else
{
criteria
.
and
(
"spuType"
).
is
(
1
);
if
(
null
!=
filterParam
.
getSpuType
())
{
if
(
0
==
filterParam
.
getSpuType
())
{
criteria
.
andOperator
(
Criteria
.
where
(
"spuType"
).
exists
(
false
).
orOperator
(
Criteria
.
where
(
"spuType"
).
is
(
0
)));
}
else
{
criteria
.
and
(
"spuType"
).
is
(
1
);
}
}
if
(
StringUtils
.
isNotBlank
(
filterParam
.
getKeyword
()))
{
Pattern
pattern
=
Pattern
.
compile
(
"^.*"
+
filterParam
.
getKeyword
()
+
".*$"
,
Pattern
.
CASE_INSENSITIVE
);
...
...
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