...
|
...
|
@@ -17,7 +17,7 @@ |
|
|
<select id="selectTotalByUidAndMerchantUids" resultType="java.lang.Integer">
|
|
|
select count(1) from seller_wallet
|
|
|
<where>
|
|
|
<if test="uid != null">uid=#{uid}</if>
|
|
|
<if test="uid != null and uid != ''">uid=#{uid}</if>
|
|
|
<if test="merchantUids != null">
|
|
|
and uid in
|
|
|
<foreach collection="merchantUids" item="muid" open="(" separator="," close=")">
|
...
|
...
|
@@ -29,7 +29,7 @@ |
|
|
<select id="selectByUidAndMerchantUids" resultType="com.yoho.order.model.SellerWallet">
|
|
|
select <include refid="Base_Column_List" /> from seller_wallet
|
|
|
<where>
|
|
|
<if test="uid != null">uid=#{uid}</if>
|
|
|
<if test="uid != null and uid != ''">uid=#{uid}</if>
|
|
|
<if test="merchantUids != null">
|
|
|
and uid in
|
|
|
<foreach collection="merchantUids" item="muid" open="(" separator="," close=")">
|
...
|
...
|
|