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
3ab942f8
Commit
3ab942f8
authored
Sep 29, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
校验
parent
0a9a797a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentCheckServiceImpl.java
+11
-11
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentCheckServiceImpl.java
View file @
3ab942f8
...
...
@@ -163,9 +163,9 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
if
(
StringUtils
.
isBlank
(
dto
.
getCustomerBizId
()))
{
throw
new
BusinessException
(
tipStr
+
"客户信息表唯一业务ID不能为空"
);
}
if
(
StringUtils
.
isBlank
(
dto
.
getCustomerNo
()))
{
throw
new
BusinessException
(
tipStr
+
"客户编号不能为空"
);
}
//
if (StringUtils.isBlank(dto.getCustomerNo())) {
//
throw new BusinessException(tipStr+"客户编号不能为空");
//
}
if
(
StringUtils
.
isBlank
(
dto
.
getFnaBizId
()))
{
throw
new
BusinessException
(
tipStr
+
"FNA信息表唯一业务ID不能为空"
);
}
...
...
@@ -674,14 +674,14 @@ public class ApiAppointmentCheckServiceImpl implements ApiAppointmentCheckServic
* @return
*/
public
Result
checkCustomerBizIdAndNo
(
String
customerBizId
,
String
customerNo
,
String
tipStr
)
{
if
(
StringUtils
.
isNotBlank
(
customerNo
)
&&
StringUtils
.
isBlank
(
customerBizId
))
{
//关联客户编号不为空并且关联客户信息表唯一业务ID为空,提示:客户信息表唯一业务ID不能为空
throw
new
BusinessException
(
tipStr
+
"客户信息表唯一业务ID不能为空"
);
}
if
(
StringUtils
.
isNotBlank
(
customerBizId
)
&&
StringUtils
.
isBlank
(
customerNo
))
{
//关联客户编号为空并且关联客户信息表唯一业务ID不为空,提示:客户编号不能为空
throw
new
BusinessException
(
tipStr
+
"客户编号不能为空"
);
}
//
if (StringUtils.isNotBlank(customerNo) && StringUtils.isBlank(customerBizId)) {
//
//关联客户编号不为空并且关联客户信息表唯一业务ID为空,提示:客户信息表唯一业务ID不能为空
//
throw new BusinessException(tipStr+"客户信息表唯一业务ID不能为空");
//
}
//
if (StringUtils.isNotBlank(customerBizId) && StringUtils.isBlank(customerNo)) {
//
//关联客户编号为空并且关联客户信息表唯一业务ID不为空,提示:客户编号不能为空
//
throw new BusinessException(tipStr+"客户编号不能为空");
//
}
return
Result
.
success
();
}
...
...
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