| | |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.hx.common.BaseController; |
| | | import com.hx.exception.TipsException; |
| | | import com.hx.phiappt.util.appointment.AppointmentListUtil; |
| | | import com.hx.guide.util.CommonQueryUtil; |
| | | import com.hx.mybatisTool.SqlSentence; |
| | | import com.hx.phiappt.common.OperatorConstants; |
| | |
| | | if(appointmentInfo == null){ |
| | | throw new TipsException("查询不到预约其他信息!"); |
| | | } |
| | | |
| | | |
| | | User user = commonService.selectOneByKey(UserMapper.class, appointment.getUserId()); |
| | | if(user == null){ |
| | | throw new TipsException("查询不到预约用户信息!"); |
| | |
| | | |
| | | //处理预约状态和是否转疗逻辑 |
| | | handleStatusAndIsSwitch(dto.getAddMode(), appointment, shop, employee, true, oldInfo); |
| | | |
| | | |
| | | appointmentV2Service.edit(operatorVo, user, oldInfo, appointment, appointmentInfo, apList, apdnList, doctorTimeList, dnsList); |
| | | |
| | | return Result.success(); |