|
@@ -16,7 +16,7 @@ import java.util.Date;
|
|
|
@Getter
|
|
@Getter
|
|
|
@Setter
|
|
@Setter
|
|
|
@SearchBean(tables = "(select id,name from coupon where deleted is true :cid:) c inner join coupon_user cu on cu.coupon_id = c.id inner join user u on u.id = cu.user_id" +
|
|
@SearchBean(tables = "(select id,name from coupon where deleted is true :cid:) c inner join coupon_user cu on cu.coupon_id = c.id inner join user u on u.id = cu.user_id" +
|
|
|
- " inner join order_don o on o.coupon_user_id = cu.id" +
|
|
|
|
|
|
|
+ " inner join order_don o on o.coupon_user_id = cu.id and o.status not in ('close','noPayment','refund')" +
|
|
|
" left join goods_don g on g.id = o.goods_id" +
|
|
" left join goods_don g on g.id = o.goods_id" +
|
|
|
" left join goods_don_sku sku on sku.id = o.sku_id")
|
|
" left join goods_don_sku sku on sku.id = o.sku_id")
|
|
|
public class CouponUsedDetailView {
|
|
public class CouponUsedDetailView {
|