소스 검색

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

dzx 1 년 전
부모
커밋
175430af2f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>