java110 лет назад: 5
Родитель
Сommit
a0556192b3

+ 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>