修改退单sku
This commit is contained in:
@@ -610,5 +610,22 @@ select * from tb_order_info where trade_day = #{day} and table_id = #{masterId}
|
||||
|
||||
<select id="selectById" resultMap="BaseResultMap">
|
||||
select * from tb_order_info where id=#{id} and status='closed'
|
||||
</select>
|
||||
|
||||
<select id="selectSkuByOrderIdAndType" resultType="com.chaozhanggui.system.cashierservice.entity.po.SkuInfoPo">
|
||||
SELECT
|
||||
d.product_name AS productName,
|
||||
d.num,
|
||||
d.product_sku_name AS productSkuName,
|
||||
'' AS categoryId,
|
||||
d.price_amount as priceAmount,
|
||||
d.pack_amount as packAmount
|
||||
FROM
|
||||
tb_order_detail d
|
||||
where d.order_id=#{orderId}
|
||||
|
||||
|
||||
|
||||
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user