anderx 1 год назад
Родитель
Сommit
bd645c2e9d
1 измененных файлов с 1 добавлено и 9 удалено
  1. 1 9
      src/main/java/com/goafanti/common/mapper/UserMapper.xml

+ 1 - 9
src/main/java/com/goafanti/common/mapper/UserMapper.xml

@@ -1569,15 +1569,7 @@
     <select id="selectUserClueCount" resultType="java.lang.Integer">
         select count(*) from `user` a
         where clue_status =1
-        <if test="aid !=null">
-            and a.aid= #{aid}
-        </if>
-        <if  test="clueProcess !=null">
-            and a.clue_process= #{clueProcess}
-        </if>
-        <if test="startTime  !=null and endTime != null">
-            and a.clue_time between #{startTime} and #{endTime}
-        </if>
+        <include refid="selectUserClueListSql"/>
     </select>
 </mapper>