zoujiajian 2 vuotta sitten
vanhempi
sitoutus
483882b6ed

+ 1 - 1
netflix-dao/src/main/java/com/cyksj/model/views/GoodsDonSkuSubsidyFrontView.java

@@ -50,7 +50,7 @@ public class GoodsDonSkuSubsidyFrontView {
 	/**
 	 * 商品原价
 	 */
-	@DbField("select (select price from goods_don_sku where sku_id = ggs.sku_id limit 1) from goods_don_sku_subsidy ggs where ggs.goods_id = gs.goods_id and ggs.price = min(gs.price) and ggs.deleted is true limit 1")
+	@DbField("select (select price from goods_don_sku where sku_id = ggs.sku_id limit 1) from goods_don_sku_subsidy ggs where ggs.goods_id = g.id and ggs.price = min(gs.price) and ggs.deleted is true limit 1")
 	private BigDecimal oriPrice;