Przeglądaj źródła

报销列表显示修改

anderx 1 rok temu
rodzic
commit
bd645c2e9d

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

@@ -1569,15 +1569,7 @@
     <select id="selectUserClueCount" resultType="java.lang.Integer">
     <select id="selectUserClueCount" resultType="java.lang.Integer">
         select count(*) from `user` a
         select count(*) from `user` a
         where clue_status =1
         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>
     </select>
 </mapper>
 </mapper>