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
e298b547
Commit
e298b547
authored
Jan 08, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
470b2d7a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentServiceImpl.java
+5
-3
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentServiceImpl.java
View file @
e298b547
...
@@ -1129,9 +1129,9 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
...
@@ -1129,9 +1129,9 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
objectSaveJkQuestion
(
String
appointmentBizId
,
public
Result
objectSaveJkQuestion
(
String
appointmentBizId
,
ApiAnswerSaveRequest
apiAnswerSaveRequest
)
{
ApiAnswerSaveRequest
apiAnswerSaveRequest
)
{
if
(
Objects
.
isNull
(
apiAnswerSaveRequest
))
{
//
if (Objects.isNull(apiAnswerSaveRequest)) {
throw
new
BusinessException
(
"问卷-答题提交对象不能为空"
);
//
throw new BusinessException("问卷-答题提交对象不能为空");
}
//
}
ApiObjectSaveRequest
apiObjectSaveRequest
=
new
ApiObjectSaveRequest
();
ApiObjectSaveRequest
apiObjectSaveRequest
=
new
ApiObjectSaveRequest
();
apiObjectSaveRequest
.
setObjectBizId
(
appointmentBizId
);
apiObjectSaveRequest
.
setObjectBizId
(
appointmentBizId
);
apiObjectSaveRequest
.
setObjectName
(
"预约"
);
apiObjectSaveRequest
.
setObjectName
(
"预约"
);
...
@@ -1139,9 +1139,11 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
...
@@ -1139,9 +1139,11 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
apiObjectSaveRequest
.
setQuestionnaireBizId
(
"questionnaires_1001"
);
apiObjectSaveRequest
.
setQuestionnaireBizId
(
"questionnaires_1001"
);
apiQuestionnairesFeignClient
.
objectSave
(
apiObjectSaveRequest
);
apiQuestionnairesFeignClient
.
objectSave
(
apiObjectSaveRequest
);
//问卷-答题提交接口
//问卷-答题提交接口
if
(!
Objects
.
isNull
(
apiAnswerSaveRequest
))
{
apiAnswerSaveRequest
.
setObjectBizId
(
appointmentBizId
);
apiAnswerSaveRequest
.
setObjectBizId
(
appointmentBizId
);
apiAnswerSaveRequest
.
setQuestionnaireBizId
(
"questionnaires_1001"
);
apiAnswerSaveRequest
.
setQuestionnaireBizId
(
"questionnaires_1001"
);
apiQuestionnairesFeignClient
.
answerSave
(
apiAnswerSaveRequest
);
apiQuestionnairesFeignClient
.
answerSave
(
apiAnswerSaveRequest
);
}
return
Result
.
success
();
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