Commit 2c161814 authored by KeYong's avatar KeYong

Merge remote-tracking branch 'origin/develop_dl_plan6' into develop_dl_plan6

parents 7df6702f b26d32cc
...@@ -1526,18 +1526,22 @@ ...@@ -1526,18 +1526,22 @@
</select> </select>
<select id="queryCompanyStaData" resultType="java.util.Map"> <select id="queryCompanyStaData" resultType="java.util.Map">
SELECT SELECT
s.biz_org_code as bizOrgCode, s.biz_org_code AS bizOrgCode,
c.code as categoryCode, c.`code` AS categoryCode,
count(1) as total count( 1 ) AS total
FROM FROM
`wl_equipment_specific` s, `wl_equipment_specific` s
wl_equipment e, LEFT JOIN wl_equipment_detail ed ON ed.id = s.equipment_detail_id
wl_equipment_category c LEFT JOIN wl_equipment e ON e.id = ed.equipment_id
where LEFT JOIN wl_equipment_category c ON c.id = e.category_id
s.equipment_code = e.`code` WHERE
and e.category_id = c.id s.biz_org_code != ''
and s.biz_org_code <![CDATA[<>]]> '' AND s.biz_org_code IS NOT NULL
GROUP BY s.biz_org_code ,c.code AND c.`code` IS NOT NULL
AND c.`code` != ''
GROUP BY
s.biz_org_code,
c.`code`
</select> </select>
<select id="getEquipmentBySpecificId" resultType="String"> <select id="getEquipmentBySpecificId" resultType="String">
......
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