Quellcode durchsuchen

解决寝室床位查询入住身份报错问题

dzx vor 1 Jahr
Ursprung
Commit
175430af2f
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/main/resources/mapper/room/RoomBedMapper.xml

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

@@ -40,7 +40,7 @@
             and t5.student_id like concat('%',#{dto.studentId},'%')
         </if>
         <if test="dto.identity != null and dto.identity != ''">
-            and t5.check_in_status like concat('%',#{dto.identity},'%')
+            and t2.check_in_status like concat('%',#{dto.identity},'%')
         </if>
         ORDER BY t1.sort_code
     </select>