|  |  | 
 |  |  | import org.apache.ibatis.annotations.*; | 
 |  |  |  | 
 |  |  | import cn.lihu.jh.module.ecg.controller.admin.room.vo.RoomPageReqVO; | 
 |  |  | import cn.lihu.jh.module.ecg.dal.dataobject.room.RoomStatisticsDO; | 
 |  |  | import cn.lihu.jh.module.ecg.enums.BedStatusEnum; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  | 
 |  |  |             "</script>") | 
 |  |  |     Integer resetRoom(@Param("newStatus") Integer newStatus); | 
 |  |  |  | 
 |  |  |     @Select({ "SELECT room_id, room_name, count(1) as bed_num FROM lihu.clinic_room group by room_id;" }) | 
 |  |  |     List<RoomStatisticsDO> roomStatistic(); | 
 |  |  |  | 
 |  |  |     @Select("<script> " + | 
 |  |  |             "SELECT * FROM lihu.clinic_room " + | 
 |  |  |             "where status in ( " + | 
 |  |  |                     " <foreach collection='curStatusList' separator=',' item='curStatus'>" + | 
 |  |  |                     "  #{curStatus.status} " + | 
 |  |  |                     " </foreach> )" + | 
 |  |  |             " and deleted = 0;" + | 
 |  |  |             " and deleted = 0" + | 
 |  |  |             " order by room_id;" + | 
 |  |  |             "</script>") | 
 |  |  |     @Results({ | 
 |  |  |             @Result(property = "checkTypes", column = "check_types", typeHandler=com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler.class) |