记得上下班打卡 | 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
3b94a071
Commit
3b94a071
authored
Mar 08, 2022
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~mdb.sql;
parent
3458767c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
GoblinMongoUtils.java
...a/com/liquidnet/service/goblin/util/GoblinMongoUtils.java
+3
-3
No files found.
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/util/GoblinMongoUtils.java
View file @
3b94a071
...
@@ -321,9 +321,9 @@ public class GoblinMongoUtils {
...
@@ -321,9 +321,9 @@ public class GoblinMongoUtils {
).
getModifiedCount
()
>
0
;
).
getModifiedCount
()
>
0
;
}
}
public
boolean
delGoodsSkuInfoVo
(
String
s
p
uId
)
{
public
boolean
delGoodsSkuInfoVo
(
String
s
k
uId
)
{
return
mongoTemplate
.
getCollection
(
GoblinGoodsSkuInfoVo
.
class
.
getSimpleName
()).
updateOne
(
return
mongoTemplate
.
getCollection
(
GoblinGoodsSkuInfoVo
.
class
.
getSimpleName
()).
updateOne
(
Query
.
query
(
Criteria
.
where
(
"skuId"
).
is
(
s
p
uId
).
and
(
"delFlg"
).
is
(
"0"
)).
getQueryObject
(),
Query
.
query
(
Criteria
.
where
(
"skuId"
).
is
(
s
k
uId
).
and
(
"delFlg"
).
is
(
"0"
)).
getQueryObject
(),
Update
.
update
(
"delFlg"
,
"1"
).
getUpdateObject
()
Update
.
update
(
"delFlg"
,
"1"
).
getUpdateObject
()
).
getModifiedCount
()
>
0
;
).
getModifiedCount
()
>
0
;
}
}
...
@@ -500,7 +500,7 @@ public class GoblinMongoUtils {
...
@@ -500,7 +500,7 @@ public class GoblinMongoUtils {
// SPU信息
// SPU信息
public
boolean
updateGoodsInfoVoAppear
(
String
storeId
,
String
spuAppear
,
LocalDateTime
time
,
String
uid
)
{
public
boolean
updateGoodsInfoVoAppear
(
String
storeId
,
String
spuAppear
,
LocalDateTime
time
,
String
uid
)
{
return
mongoTemplate
.
getCollection
(
GoblinGoodsInfoVo
.
class
.
getSimpleName
()).
update
One
(
return
mongoTemplate
.
getCollection
(
GoblinGoodsInfoVo
.
class
.
getSimpleName
()).
update
Many
(
Query
.
query
(
Criteria
.
where
(
"storeId"
).
is
(
storeId
).
and
(
"delFlg"
).
is
(
"0"
)).
getQueryObject
(),
Query
.
query
(
Criteria
.
where
(
"storeId"
).
is
(
storeId
).
and
(
"delFlg"
).
is
(
"0"
)).
getQueryObject
(),
Update
.
update
(
"spuAppear"
,
spuAppear
).
set
(
"updatedBy"
,
uid
).
set
(
"updatedAt"
,
time
).
getUpdateObject
()
Update
.
update
(
"spuAppear"
,
spuAppear
).
set
(
"updatedBy"
,
uid
).
set
(
"updatedAt"
,
time
).
getUpdateObject
()
).
getModifiedCount
()
>
0
;
).
getModifiedCount
()
>
0
;
...
...
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