修改可提现判断
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user