Commit c330f694 authored by wzp's avatar wzp

修改bug

parent 341f03c0
...@@ -226,6 +226,7 @@ ...@@ -226,6 +226,7 @@
</if> </if>
</where> </where>
group by i.organ_id group by i.organ_id
order by count(i.organ_id) desc
</if> </if>
<if test="frequencyDate != null and frequencyDate.length() == 6"> <if test="frequencyDate != null and frequencyDate.length() == 6">
SELECT o.name organName,count(i.organ_id) frequencyCnt SELECT o.name organName,count(i.organ_id) frequencyCnt
...@@ -238,6 +239,7 @@ ...@@ -238,6 +239,7 @@
</if> </if>
</where> </where>
group by i.organ_id group by i.organ_id
order by count(i.organ_id) desc
</if> </if>
<if test="frequencyDate != null and frequencyDate.length() == 8"> <if test="frequencyDate != null and frequencyDate.length() == 8">
SELECT o.name organName,count(i.organ_id) frequencyCnt SELECT o.name organName,count(i.organ_id) frequencyCnt
...@@ -250,6 +252,7 @@ ...@@ -250,6 +252,7 @@
</if> </if>
</where> </where>
group by i.organ_id group by i.organ_id
order by count(i.organ_id) desc
</if> </if>
</select> </select>
......
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