瀏覽代碼

报销列表显示修改

anderx 1 年之前
父節點
當前提交
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>