| @@ -117,6 +117,18 @@ public class WxCouponOrderBVo extends WxCouponOrder{ | |||||
| @Transient | @Transient | ||||
| private Date endDate; | private Date endDate; | ||||
| @Transient | |||||
| private Long couponId; | |||||
| @Override | |||||
| public Long getCouponId() { | |||||
| return couponId; | |||||
| } | |||||
| @Override | |||||
| public void setCouponId(Long couponId) { | |||||
| this.couponId = couponId; | |||||
| } | |||||
| public Date getStartDate() { | public Date getStartDate() { | ||||
| return startDate; | return startDate; | ||||
| @@ -358,6 +358,9 @@ | |||||
| <if test=" null != id "> | <if test=" null != id "> | ||||
| and co.id = #{id} | and co.id = #{id} | ||||
| </if> | </if> | ||||
| <if test=" null != couponId "> | |||||
| and c.id = #{couponId} | |||||
| </if> | |||||
| <if test=" null != sortColumns"> order by ${sortColumns} </if> | <if test=" null != sortColumns"> order by ${sortColumns} </if> | ||||