Authored by wujiexiang

删除不需要的条件

@@ -198,9 +198,6 @@ @@ -198,9 +198,6 @@
198 status=1 198 status=1
199 </set> 199 </set>
200 where uid= #{uid} 200 where uid= #{uid}
201 - <if test="userType != null">  
202 - and user_type= #{userType,jdbcType=INTEGER}  
203 - </if>  
204 and coupon_code in 201 and coupon_code in
205 <foreach collection="couponCodes" index="index" item="couponCode" 202 <foreach collection="couponCodes" index="index" item="couponCode"
206 open="(" separator="," close=")"> 203 open="(" separator="," close=")">