소스 검색

bug修复

dzx 1 년 전
부모
커밋
70ee332a94
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/resources/mapper/room/RoomValueWeekItemMapper.xml

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

@@ -15,7 +15,7 @@
             and #{dto.endTime} >= t2.end_time
         </if>
         <if test="dto.userName != null and dto.userName != ''">
-            and t3.name like concat('%', #{dto.userId}, '%')
+            and t3.name like concat('%', #{dto.userName}, '%')
         </if>
         <if test="dto.roomType != null and dto.roomType != ''">
             and t1.room_type = #{dto.roomType}