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
bae3c6db
Commit
bae3c6db
authored
Sep 29, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
校验
parent
55a28cf4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentCheckServiceImpl.java
+4
-4
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentCheckServiceImpl.java
View file @
bae3c6db
...
@@ -232,7 +232,7 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
...
@@ -232,7 +232,7 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
}
}
//新增或者编辑预约入参字段校验 - 产品计划信息字段校验 - 产品计划主信息字段校验
//新增或者编辑预约入参字段校验 - 产品计划信息字段校验 - 产品计划主信息字段校验
checkApiProductPlanMainInfoDtoCommon
(
dto
,
tipStr
);
checkApiProductPlanMainInfoDtoCommon
(
dto
,
tipStr
,
0
);
return
Result
.
success
();
return
Result
.
success
();
}
}
...
@@ -254,7 +254,7 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
...
@@ -254,7 +254,7 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
}
}
//新增或者编辑预约入参字段校验 - 产品计划信息字段校验 - 产品计划主信息字段校验
//新增或者编辑预约入参字段校验 - 产品计划信息字段校验 - 产品计划主信息字段校验
checkApiProductPlanMainInfoDtoCommon
(
dto
,
tipStr
);
checkApiProductPlanMainInfoDtoCommon
(
dto
,
tipStr
,
1
);
return
Result
.
success
();
return
Result
.
success
();
}
}
...
@@ -263,9 +263,9 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
...
@@ -263,9 +263,9 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
* @param dto
* @param dto
* @return
* @return
*/
*/
public
Result
checkApiProductPlanMainInfoDtoCommon
(
ApiProductPlanMainInfoDto
dto
,
String
tipStr
)
{
public
Result
checkApiProductPlanMainInfoDtoCommon
(
ApiProductPlanMainInfoDto
dto
,
String
tipStr
,
Integer
source
)
{
if
(
StringUtils
.
isBlank
(
dto
.
getProductBizId
()))
{
if
(
StringUtils
.
isBlank
(
dto
.
getProductBizId
()))
{
throw
new
BusinessException
(
tipStr
+
"保险产品唯一业务ID不能为空"
);
throw
new
BusinessException
(
tipStr
+
"保险产品唯一业务ID
(中台保险产品业务id,冗余)
不能为空"
);
}
}
if
(
StringUtils
.
isBlank
(
dto
.
getProductName
()))
{
if
(
StringUtils
.
isBlank
(
dto
.
getProductName
()))
{
throw
new
BusinessException
(
tipStr
+
"保险产品名称不能为空"
);
throw
new
BusinessException
(
tipStr
+
"保险产品名称不能为空"
);
...
...
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