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
9e03ad4c
Commit
9e03ad4c
authored
May 06, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
976f5fa0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentServiceImpl.java
+2
-2
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentServiceImpl.java
View file @
9e03ad4c
...
...
@@ -390,7 +390,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
dto
=
new
ApiAppointmentInfoDto
();
}
//获取Security上下文当前用户的登录信息
AuthUserDto
authUserDto
=
SecurityUtil
.
getCurrentLoginUser
();
//
AuthUserDto authUserDto = SecurityUtil.getCurrentLoginUser();
Appointment
appointment
=
new
Appointment
();
BeanUtils
.
copyProperties
(
dto
,
appointment
);
//生成预约信息主表唯一业务ID
...
...
@@ -399,7 +399,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
appointment
.
setAppointmentNo
(
CodeGenerator
.
generateCode
(
CodeGeneratorConstants
.
APPOINTMENT
));
//预约状态
appointment
.
setStatus
(
status
);
appointment
.
setCreatorName
(
authUserDto
.
getUsername
());
//
appointment.setCreatorName(authUserDto.getUsername());
appointment
.
setIsLegalBeneficiary
(
isLegalBeneficiary
);
iAppointmentService
.
saveOrUpdate
(
appointment
);
return
Result
.
success
(
appointment
);
...
...
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