Commit 73520bf8 authored by 赵啸非's avatar 赵啸非

添加材料数量统计

parent 6e6227af
......@@ -8,7 +8,7 @@
SELECT
count( 1 )
FROM
mortals_sys_sheet_matter AS a
mortals_xhx_sheet_matter AS a
LEFT JOIN ( SELECT matterNo FROM mortals_xhx_matter WHERE siteId = #{condition.siteId} ) AS b ON a.matterNo = b.matterNo
<trim suffixOverrides="where" suffix="">
where b.matterNo IS NULL and
......@@ -34,7 +34,7 @@
select
<include refid="_columns"/>
FROM
mortals_sys_sheet_matter AS a
mortals_xhx_sheet_matter AS a
LEFT JOIN ( SELECT matterNo FROM mortals_xhx_matter WHERE siteId = #{condition.siteId} ) AS b ON a.matterNo = b.matterNo
<trim suffixOverrides="where" suffix="">
where b.matterNo IS NULL and
......
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