Kaynağa Gözat

优化用户ID

wuxw 5 yıl önce
ebeveyn
işleme
380e7f1ac9

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

@@ -158,9 +158,7 @@
         <if test="userName !=null and userName != ''">
             and t.user_name= #{userName}
         </if>
-        <if test="userId !=null and userId != ''">
-            and t.user_id= #{userId}
-        </if>
+
         <if test="activitiesId !=null and activitiesId != ''">
             and t.activities_id= #{activitiesId}
         </if>
@@ -273,9 +271,6 @@
         <if test="userName !=null and userName != ''">
             and t.user_name= #{userName}
         </if>
-        <if test="userId !=null and userId != ''">
-            and t.user_id= #{userId}
-        </if>
         <if test="activitiesId !=null and activitiesId != ''">
             and t.activities_id= #{activitiesId}
         </if>