mirror of https://github.com/jeecgboot/jeecg-boot
Add field "city" to PlatformOrder
parent
be5a9694f2
commit
11867df921
|
@ -84,6 +84,11 @@ public class Order {
|
||||||
*/
|
*/
|
||||||
@JSONField(name = "countryNameEN")
|
@JSONField(name = "countryNameEN")
|
||||||
private String country;
|
private String country;
|
||||||
|
/**
|
||||||
|
* 订单收件人城市
|
||||||
|
*/
|
||||||
|
@JSONField(name = "city")
|
||||||
|
private String city;
|
||||||
/**
|
/**
|
||||||
* 订单收件人邮编
|
* 订单收件人邮编
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -91,6 +91,11 @@
|
||||||
when #{item.id} then #{item.country}
|
when #{item.id} then #{item.country}
|
||||||
</foreach>
|
</foreach>
|
||||||
end,
|
end,
|
||||||
|
city = case id
|
||||||
|
<foreach collection="orders" separator=" " open="" close="" index="index" item="item">
|
||||||
|
when #{item.id} then #{item.city}
|
||||||
|
</foreach>
|
||||||
|
end,
|
||||||
postcode = case id
|
postcode = case id
|
||||||
<foreach collection="orders" separator=" " open="" close="" index="index" item="item">
|
<foreach collection="orders" separator=" " open="" close="" index="index" item="item">
|
||||||
when #{item.id} then #{item.postcode}
|
when #{item.id} then #{item.postcode}
|
||||||
|
@ -157,7 +162,7 @@
|
||||||
update_time, shop_id, logistic_channel_name,
|
update_time, shop_id, logistic_channel_name,
|
||||||
platform_order_id, platform_order_number, erp_order_id,
|
platform_order_id, platform_order_number, erp_order_id,
|
||||||
tracking_number, internal_tracking_number, order_time, shipping_time, recipient,
|
tracking_number, internal_tracking_number, order_time, shipping_time, recipient,
|
||||||
country, postcode, erp_status, product_available, can_send)
|
country, city, postcode, erp_status, product_available, can_send)
|
||||||
VALUES
|
VALUES
|
||||||
<foreach collection="orders" separator="," open="" close="" item="order" index="index">
|
<foreach collection="orders" separator="," open="" close="" item="order" index="index">
|
||||||
(
|
(
|
||||||
|
@ -177,6 +182,7 @@
|
||||||
#{order.shippingTime},
|
#{order.shippingTime},
|
||||||
#{order.recipient},
|
#{order.recipient},
|
||||||
#{order.country},
|
#{order.country},
|
||||||
|
#{order.city},
|
||||||
#{order.postcode},
|
#{order.postcode},
|
||||||
#{order.status},
|
#{order.status},
|
||||||
#{order.productAvailable},
|
#{order.productAvailable},
|
||||||
|
|
Loading…
Reference in New Issue