...
|
...
|
@@ -185,20 +185,20 @@ |
|
|
select
|
|
|
count(*)
|
|
|
from seller_wallet_detail
|
|
|
where uid = #{uid,jdbcType=INTEGER} and is_batch = 0 and type in (1,31,32,33,34,61)
|
|
|
where uid = #{uid,jdbcType=INTEGER} and is_batch = 0 and type in (1,31,32,33,34,35,61)
|
|
|
</select>
|
|
|
<select id="selectUserDetail" resultMap="BaseResultMap" >
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
|
from seller_wallet_detail
|
|
|
where uid = #{uid,jdbcType=INTEGER} and is_batch = 0 and type in (1,31,32,33,34,61) order by id desc limit #{start},#{count}
|
|
|
where uid = #{uid,jdbcType=INTEGER} and is_batch = 0 and type in (1,31,32,33,34,35,61) order by id desc limit #{start},#{count}
|
|
|
</select>
|
|
|
|
|
|
<select id="selectUserPunishAmount" resultMap="BaseResultMap" >
|
|
|
select
|
|
|
uid, sum(amount) as amount
|
|
|
from seller_wallet_detail
|
|
|
where uid = #{uid,jdbcType=INTEGER} and is_batch = 0 and type in (31,32,33,34)
|
|
|
where uid = #{uid,jdbcType=INTEGER} and is_batch = 0 and type in (31,32,33,34,35)
|
|
|
</select>
|
|
|
<delete id="clearUserHistoryData">
|
|
|
delete from seller_wallet_detail
|
...
|
...
|
|