Commit 9de116c7 authored by suhuiguang's avatar suhuiguang

1.union修改为union-all

parent aa745275
......@@ -348,21 +348,21 @@
tzs_jg_installation_notice T
WHERE
T.notice_status = 6616
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' ) UNION
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' ) UNION all
SELECT COUNT
( 1 )
FROM
tzs_jg_maintain_notice T
WHERE
T.notice_status = 6616
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' ) UNION
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' ) UNION all
SELECT COUNT
( 1 )
FROM
tzs_jg_reform_notice T
WHERE
T.notice_status = 6616
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' ) UNION
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' ) UNION all
SELECT COUNT
( 1 )
FROM
......
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