mirror of https://github.com/jeecgboot/jeecg-boot
Retrieve specifics aka customization data of PlatformOrderContent
parent
d51549c2db
commit
049d48f928
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue