@@ -349,7 +349,7 @@
and oi.unit_name= #{unitName,jdbcType=VARCAHR}
</if>
<if test="principal != null">
- group by c.id
+ group by c.id, oi.id
order by c.serial_number DESC
<if test="page_sql!=null">
@@ -677,7 +677,7 @@
#{locationProvince,jdbcType=INTEGER}
- group by p.id
+ group by p.id, o.id
ORDER BY p.serial_number DESC