@@ -15,4 +15,7 @@ public class ChannelGoodsSettleOrderItemVO extends ChannelGoodsSettleOrderItem {
@ApiModelProperty("商品属性")
private String properties;
+
+ @ApiModelProperty("商品id")
+ private Long goodsId;
}
@@ -24,7 +24,7 @@
item_id, channel_id, order_id, channel_goods_id, title, pic_url, goods_num, created_time, updated_time, purchase_cost, verify_qty, remain_qty, settle_qty
</sql>
<select id="listSettleOrderItemVO" resultType="com.qs.mp.channel.domain.vo.ChannelGoodsSettleOrderItemVO">
- select t1.*,t2.properties
+ select t1.*,t2.properties,t2.goods_id
from mp_channel_goods_settle_order_item t1
left join mp_channel_goods t2 on t1.channel_goods_id = t2.id
${ew.customSqlSegment}