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
55a28cf4
Commit
55a28cf4
authored
Sep 29, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
校验
parent
3ab942f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentCheckServiceImpl.java
+15
-0
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentCheckServiceImpl.java
View file @
55a28cf4
...
@@ -88,6 +88,9 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
...
@@ -88,6 +88,9 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
* @return
* @return
*/
*/
public
Result
checkAddApiAppointmentInfoDto
(
ApiAppointmentInfoDto
dto
)
{
public
Result
checkAddApiAppointmentInfoDto
(
ApiAppointmentInfoDto
dto
)
{
if
(
Objects
.
isNull
(
dto
))
{
dto
=
new
ApiAppointmentInfoDto
();
}
String
tipStr
=
"预约信息-"
;
String
tipStr
=
"预约信息-"
;
if
(!
Objects
.
isNull
(
dto
.
getId
()))
{
if
(!
Objects
.
isNull
(
dto
.
getId
()))
{
throw
new
BusinessException
(
tipStr
+
"预约信息表主键id不传值"
);
throw
new
BusinessException
(
tipStr
+
"预约信息表主键id不传值"
);
...
@@ -181,6 +184,9 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
...
@@ -181,6 +184,9 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
* @return
* @return
*/
*/
public
Result
checkAddApiProductPlanInfoDto
(
ApiProductPlanInfoDto
dto
)
{
public
Result
checkAddApiProductPlanInfoDto
(
ApiProductPlanInfoDto
dto
)
{
if
(
Objects
.
isNull
(
dto
))
{
dto
=
new
ApiProductPlanInfoDto
();
}
//新增预约入参字段校验 - 产品计划信息字段校验 - 产品计划主信息字段校验
//新增预约入参字段校验 - 产品计划信息字段校验 - 产品计划主信息字段校验
checkAddApiProductPlanMainInfoDto
(
dto
.
getApiProductPlanMainInfoDto
());
checkAddApiProductPlanMainInfoDto
(
dto
.
getApiProductPlanMainInfoDto
());
...
@@ -211,6 +217,9 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
...
@@ -211,6 +217,9 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
* @return
* @return
*/
*/
public
Result
checkAddApiProductPlanMainInfoDto
(
ApiProductPlanMainInfoDto
dto
){
public
Result
checkAddApiProductPlanMainInfoDto
(
ApiProductPlanMainInfoDto
dto
){
if
(
Objects
.
isNull
(
dto
))
{
dto
=
new
ApiProductPlanMainInfoDto
();
}
String
tipStr
=
"产品计划-"
;
String
tipStr
=
"产品计划-"
;
if
(!
Objects
.
isNull
(
dto
.
getId
()))
{
if
(!
Objects
.
isNull
(
dto
.
getId
()))
{
throw
new
BusinessException
(
tipStr
+
"产品计划表主键id不传值"
);
throw
new
BusinessException
(
tipStr
+
"产品计划表主键id不传值"
);
...
@@ -362,6 +371,9 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
...
@@ -362,6 +371,9 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
* @return
* @return
*/
*/
public
Result
checkAddApiPolicyholderInfoDto
(
ApiPolicyholderInfoDto
dto
)
{
public
Result
checkAddApiPolicyholderInfoDto
(
ApiPolicyholderInfoDto
dto
)
{
if
(
Objects
.
isNull
(
dto
))
{
dto
=
new
ApiPolicyholderInfoDto
();
}
String
tipStr
=
"投保人-"
;
String
tipStr
=
"投保人-"
;
if
(
StringUtils
.
isBlank
(
dto
.
getCustomerType
()))
{
if
(
StringUtils
.
isBlank
(
dto
.
getCustomerType
()))
{
throw
new
BusinessException
(
tipStr
+
"客户类型不能为空"
);
throw
new
BusinessException
(
tipStr
+
"客户类型不能为空"
);
...
@@ -451,6 +463,9 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
...
@@ -451,6 +463,9 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
* @return
* @return
*/
*/
public
Result
checkAddApiInsurantInfoDto
(
ApiInsurantInfoDto
dto
)
{
public
Result
checkAddApiInsurantInfoDto
(
ApiInsurantInfoDto
dto
)
{
if
(
Objects
.
isNull
(
dto
))
{
dto
=
new
ApiInsurantInfoDto
();
}
String
tipStr
=
"受保人-"
;
String
tipStr
=
"受保人-"
;
if
(
StringUtils
.
isBlank
(
dto
.
getCustomerType
()))
{
if
(
StringUtils
.
isBlank
(
dto
.
getCustomerType
()))
{
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