|
|
@@ -28,6 +28,6 @@ public interface GoodsDonMapper extends BaseMapper<GoodsDon> {
|
|
|
" where g.deleted is true and type = #{type}")
|
|
|
List<GoodsDonSkuView> selectGoodsDonSkuByGoodsType(Integer type);
|
|
|
|
|
|
- @Select("select g.id, g.title from (select distinct goods_id from order_don where status not in ('close','noPayment') and yhs_id = #{yhsId}) o inner join goods_don g on g.id = o.goods_id")
|
|
|
+ @Select("select g.id, g.title from (select distinct goods_id from order_don where status not in ('close','noPayment') and yhs_id = #{yhsId}) o inner join goods_don g on g.id = o.goods_id and g.type = 1")
|
|
|
List<GoodsDon> getYhShopDistributeGoodsDetail(Long yhsId);
|
|
|
}
|