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
eaef57c3
Commit
eaef57c3
authored
Jun 03, 2026
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增应付错误提示已存在
parent
49b40c0b
Show 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 @
eaef57c3
...
@@ -1136,7 +1136,7 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
...
@@ -1136,7 +1136,7 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
// 校验是否存在
// 校验是否存在
for
(
ExpectedFortuneAddRequest
request
:
fortuneAddRequestList
)
{
for
(
ExpectedFortuneAddRequest
request
:
fortuneAddRequestList
)
{
String
key
=
String
.
format
(
"%s_%s_%s"
,
request
.
getPolicyNo
(),
request
.
getFortunePeriod
(),
request
.
getFortune
Biz
Type
());
String
key
=
String
.
format
(
"%s_%s_%s"
,
request
.
getPolicyNo
(),
request
.
getFortunePeriod
(),
request
.
getFortuneType
());
if
(
existingRecordsMap
.
containsKey
(
key
))
{
if
(
existingRecordsMap
.
containsKey
(
key
))
{
throw
new
BusinessException
(
ResultCode
.
PARAM_CHECK_ERROR
.
getCode
(),
"当前期数已存在: "
+
request
.
getFortuneName
());
throw
new
BusinessException
(
ResultCode
.
PARAM_CHECK_ERROR
.
getCode
(),
"当前期数已存在: "
+
request
.
getFortuneName
());
}
}
...
...
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