소스 검색

优化代码

java110 5 년 전
부모
커밋
a0556192b3
1개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 6
      java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml

+ 1 - 6
java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml

@@ -314,9 +314,7 @@
         <if test="remark !=null and remark != ''">
             and t.remark= #{remark}
         </if>
-        <if test="userId !=null and userId != ''">
-            and t.user_id= #{userId}
-        </if>
+
         <if test="roomId !=null and roomId != ''">
             and t.room_id= #{roomId}
         </if>
@@ -638,9 +636,6 @@
         <if test="remark !=null and remark != ''">
             and t.remark= #{remark}
         </if>
-        <if test="userId !=null and userId != ''">
-            and t.user_id= #{userId}
-        </if>
         <if test="roomId !=null and roomId != ''">
             and t.room_id= #{roomId}
         </if>