记得上下班打卡 | 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
eec88506
Commit
eec88506
authored
Jan 21, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加 接口
parent
a0c0e466
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
GoblinZhengzaiMarketServiceImpl.java
.../goblin/service/impl/GoblinZhengzaiMarketServiceImpl.java
+1
-0
GoblinRedisUtils.java
.../client/admin/zhengzai/goblin/utils/GoblinRedisUtils.java
+1
-1
GoblinAppZhengzaiServiceImpl.java
...ice/goblin/service/impl/GoblinAppZhengzaiServiceImpl.java
+1
-1
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/goblin/service/impl/GoblinZhengzaiMarketServiceImpl.java
View file @
eec88506
...
...
@@ -100,6 +100,7 @@ public class GoblinZhengzaiMarketServiceImpl implements IGoblinZhengzaiMarketSer
//mongo
GoblinSelfMarketingVo
vo
=
GoblinSelfMarketingVo
.
getNew
();
BeanUtils
.
copyProperties
(
selfMarketing
,
vo
);
vo
.
setStatus
(
status
);
GoblinSelfMarketingVo
changeVo
=
goblinMongoUtils
.
updateSelfMarket
(
item
,
vo
);
//redis
goblinRedisUtils
.
setSelfMarket
(
item
,
changeVo
);
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/goblin/utils/GoblinRedisUtils.java
View file @
eec88506
...
...
@@ -124,7 +124,7 @@ public class GoblinRedisUtils {
for
(
int
i
=
0
;
i
<
list
.
size
();
i
++)
{
GoblinSelfMarketingVo
item
=
list
.
get
(
i
);
if
(
item
.
getSelfMarketId
().
equals
(
vo
.
getSelfMarketId
()))
{
list
.
set
(
i
,
item
);
list
.
set
(
i
,
vo
);
break
;
}
}
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/GoblinAppZhengzaiServiceImpl.java
View file @
eec88506
...
...
@@ -38,7 +38,7 @@ public class GoblinAppZhengzaiServiceImpl implements IGoblinAppZhengzaiService {
List
<
GoblinSelfMarketingVo
>
voList
=
ObjectUtil
.
getGoblinSelfMarketingVoList
();
LocalDateTime
now
=
LocalDateTime
.
now
();
for
(
GoblinSelfMarketingVo
item
:
list
)
{
if
(
LocalDateTime
.
parse
(
item
.
getStartTime
(),
DTF_YMD_HMS
).
isBefore
(
now
)
&&
LocalDateTime
.
parse
(
item
.
getEndTime
(),
DTF_YMD_HMS
).
isAfter
(
now
)
&&
(
item
.
getStatus
()
==
0
||
item
.
getStatus
()
==
1
))
{
if
(
LocalDateTime
.
parse
(
item
.
getStartTime
(),
DTF_YMD_HMS
).
isBefore
(
now
)
&&
LocalDateTime
.
parse
(
item
.
getEndTime
(),
DTF_YMD_HMS
).
isAfter
(
now
)
&&
(
item
.
getStatus
()
==
null
||
item
.
getStatus
()
!=
7
))
{
voList
.
add
(
item
);
}
}
...
...
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