Commit 9e03ad4c by zhangxingmin

push

parent 976f5fa0
...@@ -390,7 +390,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService { ...@@ -390,7 +390,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
dto = new ApiAppointmentInfoDto(); dto = new ApiAppointmentInfoDto();
} }
//获取Security上下文当前用户的登录信息 //获取Security上下文当前用户的登录信息
AuthUserDto authUserDto = SecurityUtil.getCurrentLoginUser(); // AuthUserDto authUserDto = SecurityUtil.getCurrentLoginUser();
Appointment appointment = new Appointment(); Appointment appointment = new Appointment();
BeanUtils.copyProperties(dto, appointment); BeanUtils.copyProperties(dto, appointment);
//生成预约信息主表唯一业务ID //生成预约信息主表唯一业务ID
...@@ -399,7 +399,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService { ...@@ -399,7 +399,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
appointment.setAppointmentNo(CodeGenerator.generateCode(CodeGeneratorConstants.APPOINTMENT)); appointment.setAppointmentNo(CodeGenerator.generateCode(CodeGeneratorConstants.APPOINTMENT));
//预约状态 //预约状态
appointment.setStatus(status); appointment.setStatus(status);
appointment.setCreatorName(authUserDto.getUsername()); // appointment.setCreatorName(authUserDto.getUsername());
appointment.setIsLegalBeneficiary(isLegalBeneficiary); appointment.setIsLegalBeneficiary(isLegalBeneficiary);
iAppointmentService.saveOrUpdate(appointment); iAppointmentService.saveOrUpdate(appointment);
return Result.success(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