|
|
|
@@ -992,6 +992,12 @@ |
|
|
|
<if test="wxCoupon.id != null"> |
|
|
|
and c.id = #{wxCoupon.id} |
|
|
|
</if> |
|
|
|
<if test=" null != wxCoupon.ids "> |
|
|
|
and c.id in |
|
|
|
<foreach collection="wxCoupon.ids" index="index" item="idItem" open="(" separator="," close=")"> |
|
|
|
#{idItem} |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
<if test=" null != wxCoupon.sortColumns">order by ${wxCoupon.sortColumns}</if> |
|
|
|
<if test=" null == wxCoupon.sortColumns">order by c.status asc,c.create_date desc</if> |
|
|
|
|
|
|
|
|