| | |
| | | import cn.lihu.jh.framework.common.enums.CommonStatusEnum; |
| | | import cn.lihu.jh.module.ecg.controller.admin.queue.vo.QueueSaveReqVO; |
| | | import cn.lihu.jh.module.ecg.dal.dataobject.queue.QueueDO; |
| | | import cn.lihu.jh.module.ecg.dal.dataobject.queue.QueueStatisticDO; |
| | | import cn.lihu.jh.module.ecg.dal.dataobject.room.RoomStatisticsDO; |
| | | import cn.lihu.jh.module.ecg.feign.RemoteDataService; |
| | | import cn.lihu.jh.module.ecg.feign.RestApiReqBodyVo; |
| | | import cn.lihu.jh.module.ecg.feign.RestApiResult; |
| | | import cn.lihu.jh.module.ecg.feign.dto.AppointmentExternal; |
| | | import cn.lihu.jh.module.ecg.service.queue.QueueService; |
| | | import cn.lihu.jh.module.ecg.service.room.RoomService; |
| | | import cn.lihu.jh.module.system.api.dept.DeptApi; |
| | | import cn.lihu.jh.module.system.api.dept.dto.DeptRespDTO; |
| | | import com.alibaba.fastjson.JSONObject; |
| | |
| | | |
| | | @Resource |
| | | private QueueService queueService; |
| | | |
| | | @Resource |
| | | private RoomService roomService; |
| | | |
| | | @Resource |
| | | private RemoteDataService remoteDataService; |
| | |
| | | |
| | | // 获取 每个营业的诊室 候诊准备的当前人数 就诊中的当前人数 |
| | | // queueService.get |
| | | List<RoomStatisticsDO> roomStatisticsList = roomService.roomStatistics(); |
| | | roomStatisticsList.size(); |
| | | |
| | | List statusList = new ArrayList<Byte>(); |
| | | statusList.add((byte)20); |
| | | statusList.add((byte)30); |
| | | List<QueueStatisticDO> queueStatisticDOList = queueService.queueStatistics(statusList); |
| | | queueStatisticDOList.size(); |
| | | |
| | | return success("hello"); |
| | | } |