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;
|
||||
|
||||
@JSONField(name = "specifics")
|
||||
private String specifics;
|
||||
|
||||
/**
|
||||
* Status :
|
||||
* 2 = Normal
|
||||
|
|
|
@ -189,14 +189,14 @@
|
|||
INSERT INTO platform_order_content(
|
||||
id, create_by, create_time,
|
||||
update_by, update_time, platform_order_id,
|
||||
sku_id, quantity, erp_status, product_available)
|
||||
sku_id, quantity, erp_status, product_available, customization_data)
|
||||
VALUES
|
||||
<foreach collection="items" separator="," open="" close="" item="item" index="index">
|
||||
(
|
||||
UUID(), 'Mabang API', NOW(),
|
||||
'Mabang API', NOW(), #{item.platformOrderId},
|
||||
skuErpToId(#{item.erpCode}), #{item.quantity}, #{item.erpStatus},
|
||||
#{item.productAvailable})
|
||||
#{item.productAvailable}, #{item.specifics})
|
||||
</foreach>
|
||||
</insert>
|
||||
|
||||
|
|
Loading…
Reference in New Issue