Commit ae718401 authored by KeYong's avatar KeYong

修改bug

parent 9c2482dc
......@@ -93,12 +93,16 @@
) s1
LEFT JOIN (
SELECT
count(userId) signNum,
s.*
count(s0.userId) AS signNum,
s0.*
FROM
(
SELECT
DISTINCT sign.user_id userId,
s.*
FROM
(
SELECT DISTINCT
sign.user_id userId,
date,
biz_org_Name bizOrgName,
biz_org_code bizOrgCode,
......@@ -113,13 +117,11 @@
and sign.biz_org_code like CONCAT(#{dto.bizOrgCode},'%')
</if>
</where>
group by
date,
biz_org_code,
user_id
order by
sign.sign_time desc
ORDER BY
sign.sign_time DESC
) s
) s0
GROUP BY s0.date
) s2 ON s2.date = s1.date
GROUP BY
s1.date
......
......@@ -1630,8 +1630,6 @@
AND p.biz_org_code LIKE CONCAT(#{bizOrgCode}, '%')
</if>
</where>
GROUP BY
LEFT (pt.check_date, 10)
ORDER BY
pt.check_date
) s
......
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