Преглед на файлове

优化用户ID查询功能

java110 преди 4 години
родител
ревизия
2e7c0d241c
променени са 1 файла, в които са добавени 0 реда и са изтрити 9 реда
  1. 0 9
      java110-db/src/main/resources/mapper/user/OwnerServiceDaoImplMapper.xml

+ 0 - 9
java110-db/src/main/resources/mapper/user/OwnerServiceDaoImplMapper.xml

@@ -368,9 +368,6 @@
         <if test="bId !=null and bId != ''">
         <if test="bId !=null and bId != ''">
             and t.b_id= #{bId}
             and t.b_id= #{bId}
         </if>
         </if>
-        <if test="userId !=null and userId != ''">
-            and t.user_id= #{userId}
-        </if>
         <if test="ownerFlag !=null and ownerFlag != ''">
         <if test="ownerFlag !=null and ownerFlag != ''">
             and t.owner_flag= #{ownerFlag}
             and t.owner_flag= #{ownerFlag}
         </if>
         </if>
@@ -423,9 +420,6 @@
         <if test="bId !=null and bId != ''">
         <if test="bId !=null and bId != ''">
             and t.b_id= #{bId}
             and t.b_id= #{bId}
         </if>
         </if>
-        <if test="userId !=null and userId != ''">
-            and t.user_id= #{userId}
-        </if>
         <if test="ownerFlag !=null and ownerFlag != ''">
         <if test="ownerFlag !=null and ownerFlag != ''">
             and t.owner_flag= #{ownerFlag}
             and t.owner_flag= #{ownerFlag}
         </if>
         </if>
@@ -480,9 +474,6 @@
         <if test="bId !=null and bId != ''">
         <if test="bId !=null and bId != ''">
             and t.b_id= #{bId}
             and t.b_id= #{bId}
         </if>
         </if>
-        <if test="userId !=null and userId != ''">
-            and t.user_id= #{userId}
-        </if>
         <if test="ownerFlag !=null and ownerFlag != ''">
         <if test="ownerFlag !=null and ownerFlag != ''">
             and t.owner_flag= #{ownerFlag}
             and t.owner_flag= #{ownerFlag}
         </if>
         </if>