|
|
@@ -17,9 +17,10 @@ import java.math.BigDecimal;
|
|
|
*/
|
|
|
@Getter
|
|
|
@Setter
|
|
|
-@SearchBean(tables = "gift_card_goods_sku gc left join goods_don g on g.id = gc.gc_goods_id" +
|
|
|
+@SearchBean(tables = "gift_card_goods_sku gc inner join goods_don gcd on gcd.id = gc.goods_id" +
|
|
|
+ " left join goods_don g on g.id = gc.gc_goods_id" +
|
|
|
" left join goods_don_sku sku on sku.id = gc.gc_sku_id",
|
|
|
- where = "gc.status is true and gc.deleted is true")
|
|
|
+ where = "gcd.status is true and gc.status is true and gc.deleted is true")
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
public class GiftCardGoodsSkuFrontView {
|
|
|
@DbField("gc.id")
|