Commit 10cd08b2 by levphon

线上bug修复

1 parent 3c99b937
......@@ -97,7 +97,7 @@
and t5.status in (1,2,3)
and t5.biz_type=2
and t6.del_flag = 0
and t5.id in(select max(id) from t_approval group by biz_id)
and t5.id in(select max(id) from t_approval where biz_type = 2 group by biz_id)
<if test="search.approvalStatus !=null and search.approvalStatus != ''">
and t5.status=#{search.approvalStatus}
</if>
......@@ -105,7 +105,6 @@
and (t6.username like concat('%',#{search.keywords},'%')
or t6.account like concat('%',#{search.keywords},'%')
or t7.fence_name like concat('%',#{search.keywords},'%')
)
</if>
GROUP BY
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!