Commit f220e7a7 authored by fangxinjiang's avatar fangxinjiang

待办数量更新-fxj

parent 539877b9
......@@ -461,31 +461,30 @@
<select id="selectExportCount" resultType="java.lang.Long">
SELECT
count(1)
count(distinct a.id)
FROM t_dispatch_info_pre a
left join view_contract b on a.EMP_IDCARD = b.EMP_IDCARD and a.DEPT_NO = b.DEPT_NO
<where>
1=1 and a.type_sub = '0'
<include refid="tDispatchInfoPre_where"/>
group by a.id
</where>
</select>
<select id="selectFundExportCount" resultType="java.lang.Long">
SELECT
count(1)
count(distinct a.id)
FROM t_dispatch_info_pre a
left join view_contract b on a.EMP_IDCARD = b.EMP_IDCARD and a.DEPT_NO = b.DEPT_NO
<where>
1=1 and a.type_sub = '1'
and a.DELETE_FLAG = '0'
<include refid="tDispatchInfoPre_where"/>
group by a.id
</where>
</select>
<select id="selectFundCount" resultType="java.lang.Long">
SELECT
count(1)
count(distinct a.id)
FROM t_dispatch_info_pre a
left join view_contract b on a.EMP_IDCARD = b.EMP_IDCARD and a.DEPT_NO = b.DEPT_NO
<where>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment