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")
|
||||
private String country;
|
||||
/**
|
||||
* 订单收件人城市
|
||||
*/
|
||||
@JSONField(name = "city")
|
||||
private String city;
|
||||
/**
|
||||
* 订单收件人邮编
|
||||
*/
|
||||
|
|
|
@ -91,6 +91,11 @@
|
|||
when #{item.id} then #{item.country}
|
||||
</foreach>
|
||||
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
|
||||
<foreach collection="orders" separator=" " open="" close="" index="index" item="item">
|
||||
when #{item.id} then #{item.postcode}
|
||||
|
@ -157,7 +162,7 @@
|
|||
update_time, shop_id, logistic_channel_name,
|
||||
platform_order_id, platform_order_number, erp_order_id,
|
||||
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
|
||||
<foreach collection="orders" separator="," open="" close="" item="order" index="index">
|
||||
(
|
||||
|
@ -177,6 +182,7 @@
|
|||
#{order.shippingTime},
|
||||
#{order.recipient},
|
||||
#{order.country},
|
||||
#{order.city},
|
||||
#{order.postcode},
|
||||
#{order.status},
|
||||
#{order.productAvailable},
|
||||
|
|
Loading…
Reference in New Issue