Commit e84e7ecb by 史文博

Merge branch 'feature/form_statistics_05' into 'develop'

区域公司购砂单位统计修改

See merge request kunlun/xyst_dinas/xyst_dinas_backend!70
parents 6a39bf81 2eb07943
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
FROM FROM
xystOrganization AS xystOrganization xystOrganization AS xystOrganization
LEFT JOIN PurchaseSandCompany AS purchaseSandCompany on purchaseSandCompany.regionalCompany = xystOrganization.id LEFT JOIN PurchaseSandCompany AS purchaseSandCompany on purchaseSandCompany.regionalCompany = xystOrganization.id
AND purchaseSandCompany.discard <> 1
WHERE 1=1 WHERE 1=1
AND xystOrganization.type <> 'GROUP_COMPANY' AND xystOrganization.type <> 'GROUP_COMPANY'
AND xystOrganization.discard <> 1 AND xystOrganization.discard <> 1
......
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