Commit 9e03ad4c by zhangxingmin

push

parent 976f5fa0
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment