修改取单号的 bug

This commit is contained in:
Jack 2024-11-09 18:15:18 +08:00
parent 3bef30e502
commit b111b2262b
4 changed files with 6 additions and 5 deletions

View File

@ -8246,7 +8246,8 @@ public class ShopOrderBaseServiceImpl extends BaseServiceImpl<ShopOrderBaseMappe
return null;
}
m.put("order_pickup_num_str", String.format("%07d", m.get("order_pickup_num"))); // 取单号左补0共7位数
// 7位数取单号位数不够向左补0
m.put("order_pickup_num_str", String.format("%07d", m.get("order_pickup_num")));
m.put("seller_message", "");//卖家留言
m.put("order_items", orderItems);//订单商品列表
m.put("order_items_count", orderItems.size());//商品数量

View File

@ -522,9 +522,9 @@
<select id="getOrderPrintInfo" resultType="java.util.Map">
select
a.order_id,a.store_id,a.store_name,a.buyer_user_id, a.buyer_user_name,a.order_time,a.order_payment_amount,a.order_product_amount,
b.order_title, b.delivery_type_id, b.payment_type_id, b.payment_time,
b.order_title, b.delivery_type_id, b.payment_type_id, b.payment_time, b.order_pickup_num,
c.order_message, c.order_item_amount, c.order_shipping_fee,c.delivery_time,
e.store_tel, e.order_pickup_num,
e.store_tel,
f.da_province,f.da_city,f.da_address,f.da_mobile, f.order_id
from shop_order_base a
inner join shop_order_info b on a.order_id=b.order_id

View File

@ -522,9 +522,9 @@
<select id="getOrderPrintInfo" resultType="java.util.Map">
select
a.order_id,a.store_id,a.store_name,a.buyer_user_id, a.buyer_user_name,a.order_time,a.order_payment_amount,a.order_product_amount,
b.order_title, b.delivery_type_id, b.payment_type_id, b.payment_time,
b.order_title, b.delivery_type_id, b.payment_type_id, b.payment_time, b.order_pickup_num,
c.order_message, c.order_item_amount, c.order_shipping_fee,c.delivery_time,
e.store_tel, e.order_pickup_num,
e.store_tel,
f.da_province,f.da_city,f.da_address,f.da_mobile, f.order_id
from shop_order_base a
inner join shop_order_info b on a.order_id=b.order_id