记得上下班打卡 | 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
d25f1fef
Commit
d25f1fef
authored
Apr 12, 2022
by
GaoHu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev_nft_411' into dev_nft_411
parents
5f2dfeec
f44aa81b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
GoblinStoreMgtGoodsSkuListVo.java
...ce/goblin/dto/manage/vo/GoblinStoreMgtGoodsSkuListVo.java
+12
-3
GoblinMongoUtils.java
...a/com/liquidnet/service/goblin/util/GoblinMongoUtils.java
+1
-1
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/manage/vo/GoblinStoreMgtGoodsSkuListVo.java
View file @
d25f1fef
...
@@ -29,11 +29,20 @@ public class GoblinStoreMgtGoodsSkuListVo implements Serializable, Cloneable {
...
@@ -29,11 +29,20 @@ public class GoblinStoreMgtGoodsSkuListVo implements Serializable, Cloneable {
@ApiModelProperty
(
position
=
22
,
value
=
"商品上架状态[0-待上架|1-下架|2-违规|3-上架]"
)
@ApiModelProperty
(
position
=
22
,
value
=
"商品上架状态[0-待上架|1-下架|2-违规|3-上架]"
)
private
String
shelvesStatus
;
private
String
shelvesStatus
;
@ApiModelProperty
(
position
=
23
,
value
=
"总库存"
)
@ApiModelProperty
(
position
=
23
,
value
=
"总库存"
)
private
Integer
total
Stock
;
private
Integer
sku
Stock
;
@ApiModelProperty
(
position
=
24
,
value
=
"剩余库存"
)
@ApiModelProperty
(
position
=
24
,
value
=
"剩余库存"
)
private
Integer
surplusStock
;
private
Integer
surplusStock
;
@ApiModelProperty
(
position
=
27
,
value
=
"开售时间"
)
@ApiModelProperty
(
position
=
27
,
value
=
"开售时间"
)
private
String
saleStartTime
;
private
LocalDateTime
saleStartTime
;
@ApiModelProperty
(
position
=
27
,
value
=
"停售时间"
)
@ApiModelProperty
(
position
=
27
,
value
=
"停售时间"
)
private
String
saleStopTime
;
private
LocalDateTime
saleStopTime
;
public
String
getSaleStartTime
()
{
return
DateUtil
.
Formatter
.
yyyyMMddHHmmss
.
format
(
saleStartTime
);
}
public
String
getSaleStopTime
()
{
return
DateUtil
.
Formatter
.
yyyyMMddHHmmss
.
format
(
saleStopTime
);
}
}
}
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/util/GoblinMongoUtils.java
View file @
d25f1fef
...
@@ -1465,7 +1465,7 @@ public class GoblinMongoUtils {
...
@@ -1465,7 +1465,7 @@ public class GoblinMongoUtils {
}
}
public
PagedResult
<
GoblinStoreMgtGoodsSkuListVo
>
getSkuSearch
(
GoblinStoreMgtGoodsSkuFilterParam
filterParam
)
{
public
PagedResult
<
GoblinStoreMgtGoodsSkuListVo
>
getSkuSearch
(
GoblinStoreMgtGoodsSkuFilterParam
filterParam
)
{
Criteria
criteria
=
Criteria
.
where
(
"storeId"
).
is
(
filterParam
.
getStoreId
()).
and
(
"
S
puId"
).
is
(
filterParam
.
getSpuId
()).
and
(
"delFlg"
).
is
(
"0"
);
Criteria
criteria
=
Criteria
.
where
(
"storeId"
).
is
(
filterParam
.
getStoreId
()).
and
(
"
s
puId"
).
is
(
filterParam
.
getSpuId
()).
and
(
"delFlg"
).
is
(
"0"
);
if
(
StringUtils
.
isNotBlank
(
filterParam
.
getKeyword
()))
{
if
(
StringUtils
.
isNotBlank
(
filterParam
.
getKeyword
()))
{
Pattern
pattern
=
Pattern
.
compile
(
"^.*"
+
filterParam
.
getKeyword
()
+
".*$"
,
Pattern
.
CASE_INSENSITIVE
);
Pattern
pattern
=
Pattern
.
compile
(
"^.*"
+
filterParam
.
getKeyword
()
+
".*$"
,
Pattern
.
CASE_INSENSITIVE
);
criteria
.
and
(
"name"
).
regex
(
pattern
);
criteria
.
and
(
"name"
).
regex
(
pattern
);
...
...
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