Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingmin
yd-csf
Commits
51f7e180
Commit
51f7e180
authored
Nov 20, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
bee5ff89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiExpectedFortuneServiceImpl.java
+1
-1
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiExpectedFortuneServiceImpl.java
View file @
51f7e180
...
@@ -87,7 +87,7 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
...
@@ -87,7 +87,7 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
String
value
=
redisUtil
.
getCacheObject
(
RedisConstants
.
EXPECTED_FORTUNE
+
request
.
getPolicyNo
());
String
value
=
redisUtil
.
getCacheObject
(
RedisConstants
.
EXPECTED_FORTUNE
+
request
.
getPolicyNo
());
if
(
StringUtil
.
isNotBlank
(
value
))
{
if
(
StringUtil
.
isNotBlank
(
value
))
{
//有值正在执行,提示
//有值正在执行,提示
throw
new
BusinessException
(
"生成预计发佣正在执行中,无需再次执行"
);
return
Result
.
fail
(
"生成预计发佣正在执行中,无需再次执行"
);
}
else
{
}
else
{
//无值设置值,表示正在执行
//无值设置值,表示正在执行
redisUtil
.
setCacheObject
(
RedisConstants
.
EXPECTED_FORTUNE
+
request
.
getPolicyNo
(),
request
.
getPolicyNo
());
redisUtil
.
setCacheObject
(
RedisConstants
.
EXPECTED_FORTUNE
+
request
.
getPolicyNo
(),
request
.
getPolicyNo
());
...
...
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