Commit cdab3287 by guojuxing

新增打款户信息修复,如果为null,默认排序1

parent 1f590b6a
...@@ -150,14 +150,14 @@ ...@@ -150,14 +150,14 @@
<select id="getMaxSort" resultType="int"> <select id="getMaxSort" resultType="int">
select select
max(sort) ifnull(max(sort), 0)
from tab_pay_account from tab_pay_account
where status != 0 where status != 0
</select> </select>
<select id="getMinSort" resultType="int"> <select id="getMinSort" resultType="int">
select select
min(sort) ifnull(min(sort),0)
from tab_pay_account from tab_pay_account
where status != 0 where status != 0
</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