瀏覽代碼

解决分配床位查询报错问题

dzx 1 年之前
父節點
當前提交
289585b025
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/room/RoomBedMapper.xml

+ 1 - 1
src/main/resources/mapper/room/RoomBedMapper.xml

@@ -235,7 +235,7 @@
         LEFT JOIN base_student_school_roll c2 ON c1.student_user_id = c2.user_id
         LEFT JOIN base_class c3 ON c2.class_id = c3.id
         WHERE c1.delete_mark = 0 AND c1.room_id = t1.id
-        AND c1.student_user_id IS NOT NULL group by c3.id
+        AND c1.student_user_id IS NOT NULL
         ) AS into_class FROM room t1
         LEFT JOIN base_office_build t2 ON t1.office_build_id = t2.id
         LEFT JOIN xjr_dictionary_detail t3 ON t1.check_in_status = t3.code AND t3.item_id = 1739843696019435521