@@ -1447,7 +1447,7 @@ select a.id, b.contract_no contractNo,a.order_no as orderNo,c.nickname as userNa
<if test="startSign !=null and endSign !=null">
and a.sign_time between #{startSign} and #{endSign}
</if>
- )x group by x.id,x.province,x.aid)y group by y.province)z
+ )x group by x.id,x.province,x.aid)y group by y.id,y.province)z
order by
<if test="sort ==0">
total