修改可提现判断

This commit is contained in:
张松
2025-01-14 09:50:43 +08:00
parent ff1efd035e
commit 6feb5fffce
2 changed files with 8 additions and 2 deletions

View File

@@ -188,7 +188,13 @@
</select>
<select id="selectTodayCashCount" resultType="java.lang.Integer">
select count(*) from cash_out where create_at > #{time} and user_id=#{userId} and state=#{state} and withdraw_type=1;
select count(*) from cash_out where create_at > #{time} and user_id=#{userId}
and state in
<foreach collection="stateList" item="state" open="(" separator="," close=")">
#{state}
</foreach>
and state=#{state}
and withdraw_type=1;
</select>