|
|
@@ -18,7 +18,9 @@ import java.util.Date;
|
|
|
@Getter
|
|
|
@Setter
|
|
|
@SearchBean(tables = "(select * from gift_card_user_record where is_pay is true :condition:) gr left join user u on u.id = gr.user_id" +
|
|
|
- " left join user u2 on u2.id = gr.to_user_id")
|
|
|
+ " left join user u2 on u2.id = gr.to_user_id" +
|
|
|
+ " left join goods_don g on gc.goods_id = g.id" +
|
|
|
+ " left join goods_don_sku sku on sku.id = gc.sku_id")
|
|
|
public class GiftCardUserPayFrontView {
|
|
|
@DbField("gr.id")
|
|
|
private Long id;
|
|
|
@@ -41,9 +43,15 @@ public class GiftCardUserPayFrontView {
|
|
|
@DbField("gr.gc_goods_id")
|
|
|
private Long gcGoodsId;
|
|
|
|
|
|
+ @DbField("g.title")
|
|
|
+ private String gcTitle;
|
|
|
+
|
|
|
@DbField("gr.gc_sku_id")
|
|
|
private Long gcSkuId;
|
|
|
|
|
|
+ @DbField("sku.spec_val")
|
|
|
+ private String gcSpecVal;
|
|
|
+
|
|
|
@DbField("gr.remain_cash")
|
|
|
private BigDecimal remainCash;
|
|
|
|