Retrieve specifics aka customization data of PlatformOrderContent

pull/6221/head
Qiuyi LI 2023-08-21 14:36:35 +02:00
parent d51549c2db
commit 049d48f928
2 changed files with 5 additions and 2 deletions

View File

@ -34,6 +34,9 @@ public class OrderItem {
private String productAvailable; private String productAvailable;
@JSONField(name = "specifics")
private String specifics;
/** /**
* Status : * Status :
* 2 = Normal * 2 = Normal

View File

@ -189,14 +189,14 @@
INSERT INTO platform_order_content( INSERT INTO platform_order_content(
id, create_by, create_time, id, create_by, create_time,
update_by, update_time, platform_order_id, update_by, update_time, platform_order_id,
sku_id, quantity, erp_status, product_available) sku_id, quantity, erp_status, product_available, customization_data)
VALUES VALUES
<foreach collection="items" separator="," open="" close="" item="item" index="index"> <foreach collection="items" separator="," open="" close="" item="item" index="index">
( (
UUID(), 'Mabang API', NOW(), UUID(), 'Mabang API', NOW(),
'Mabang API', NOW(), #{item.platformOrderId}, 'Mabang API', NOW(), #{item.platformOrderId},
skuErpToId(#{item.erpCode}), #{item.quantity}, #{item.erpStatus}, skuErpToId(#{item.erpCode}), #{item.quantity}, #{item.erpStatus},
#{item.productAvailable}) #{item.productAvailable}, #{item.specifics})
</foreach> </foreach>
</insert> </insert>