退款打印方法调试
This commit is contained in:
parent
e7d8a126fc
commit
a73615f350
@ -16,12 +16,15 @@ import java.text.DecimalFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 订单商品详情打印对象
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel(value = "订单商品打印对象", description = "订单商品打印对象")
|
||||
@ApiModel(value = "订单商品详情打印对象", description = "订单商品详情打印对象")
|
||||
public class OrderItemPrintVO implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
@ApiModelProperty(value = "商品名")
|
||||
|
||||
@ -1,13 +1,14 @@
|
||||
package com.suisung.mall.common.pojo.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.*;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 退货单打印对象
|
||||
@ -17,9 +18,121 @@ import java.io.Serializable;
|
||||
@Accessors(chain = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@ApiModel(value = "(退款)订单主信息打印对象", description = "(退款)订单主信息打印对象")
|
||||
public class OrderPrintVO implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "订单编号")
|
||||
private String order_id;
|
||||
|
||||
@ApiModelProperty(value = "退单编号")
|
||||
private String return_id;
|
||||
|
||||
@ApiModelProperty(value = "店铺名称")
|
||||
private String store_name;
|
||||
|
||||
@ApiModelProperty(value = "店铺电话")
|
||||
private String store_tel;
|
||||
|
||||
@ApiModelProperty(value = "(配送)取单号")
|
||||
@Builder.Default
|
||||
private String order_pickup_num_str = "#0000000";
|
||||
|
||||
@ApiModelProperty(value = "退款订单编号")
|
||||
private String order_message;
|
||||
|
||||
@ApiModelProperty(value = "支付时间")
|
||||
private Date payment_time;
|
||||
|
||||
@ApiModelProperty(value = "商品总件数")
|
||||
private Integer order_items_count;
|
||||
|
||||
@ApiModelProperty(value = "商品总类数")
|
||||
private Integer order_product_amount;
|
||||
|
||||
@ApiModelProperty(value = "订单配送费")
|
||||
private BigDecimal order_shipping_fee;
|
||||
|
||||
@ApiModelProperty(value = "订单来源")
|
||||
@Builder.Default
|
||||
private String order_channel_name = "微信小程序";
|
||||
|
||||
@ApiModelProperty(value = "支付方式")
|
||||
@Builder.Default
|
||||
private String payment_type_name = "微信支付";
|
||||
|
||||
@ApiModelProperty(value = "配送渠道")
|
||||
@Builder.Default
|
||||
private String deliver_type_name = "顺丰同城";
|
||||
|
||||
@ApiModelProperty(value = "打包费")
|
||||
private BigDecimal packing_fee;
|
||||
|
||||
@ApiModelProperty(value = "会员优惠权益金额")
|
||||
private BigDecimal basic_rights;
|
||||
|
||||
@ApiModelProperty(value = "实付金额")
|
||||
private BigDecimal order_payment_amount;
|
||||
|
||||
@ApiModelProperty(value = "退款金额")
|
||||
private BigDecimal return_refund_amount;
|
||||
|
||||
@ApiModelProperty(value = "订单状态(LIST):2011-待订单审核;2013-待财务审核;2020-待配货/待出库审核;2030-待发货;2040-已发货/待收货确认;2060-已完成/已签收;2070-已取消/已作废;")
|
||||
private String order_state;
|
||||
|
||||
@ApiModelProperty(value = "下单时买家退货留言")
|
||||
private String return_buyer_message;
|
||||
|
||||
@ApiModelProperty(value = "下单时商家留言")
|
||||
private String seller_message;
|
||||
|
||||
@ApiModelProperty(value = "买家退货留言")
|
||||
private String return_store_message;
|
||||
|
||||
@ApiModelProperty(value = "申请退款时间")
|
||||
private Date return_add_time;
|
||||
|
||||
@ApiModelProperty(value = "退款完成时间")
|
||||
private Date return_finish_time;
|
||||
|
||||
@ApiModelProperty(value = "预订单状态")
|
||||
private Integer booking_state;
|
||||
|
||||
@ApiModelProperty(value = "预订单开始时间")
|
||||
private Date booking_begin_time;
|
||||
|
||||
@ApiModelProperty(value = "退货类型(ENUM): 0-不用退货;1-需要退货")
|
||||
@Builder.Default
|
||||
private String return_flag_str = "原路返回";
|
||||
|
||||
@ApiModelProperty(value = "卖家处理状态(ENUM): 3100-【客户】提交退单;3105-退单审核;3110-收货确认;3115-退款确认;3120-【客户】收款确认;3125-完成退款;3130-商家拒绝退货;3135-买家取消退款")
|
||||
private String return_state;
|
||||
|
||||
@ApiModelProperty(value = "买方用户名")
|
||||
private String buyer_user_name;
|
||||
|
||||
@ApiModelProperty(value = "退款人手机号")
|
||||
private String return_tel;
|
||||
|
||||
@ApiModelProperty(value = "收货联系电话")
|
||||
private String da_mobile;
|
||||
|
||||
@ApiModelProperty(value = "收货省份")
|
||||
private String da_province;
|
||||
|
||||
@ApiModelProperty(value = "收货城市")
|
||||
private String da_city;
|
||||
|
||||
@ApiModelProperty(value = "收货详细地址")
|
||||
private String da_address;
|
||||
|
||||
@ApiModelProperty(value = "(店长)收银员")
|
||||
@Builder.Default
|
||||
private String cashier = "收银员";
|
||||
|
||||
@ApiModelProperty(value = "订单商品详情打印对象列表")
|
||||
private List<OrderItemPrintVO> orderItemPrintVOList;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -14,7 +14,6 @@ import com.suisung.mall.common.api.CommonResult;
|
||||
import com.suisung.mall.common.service.impl.BaseControllerImpl;
|
||||
import com.suisung.mall.shop.lakala.service.LakalaApiService;
|
||||
import com.suisung.mall.shop.lakala.service.LklLedgerEcService;
|
||||
import com.suisung.mall.shop.lakala.service.LklLedgerReceiverService;
|
||||
import com.suisung.mall.shop.library.service.LibraryProductService;
|
||||
import com.suisung.mall.shop.message.service.MqMessageService;
|
||||
import com.suisung.mall.shop.message.service.PushMessageService;
|
||||
@ -83,8 +82,6 @@ public class LakalaController extends BaseControllerImpl {
|
||||
@Resource
|
||||
private LklLedgerEcService lklLedgerEcService;
|
||||
|
||||
@Resource
|
||||
private LklLedgerReceiverService lklLedgerReceiverService;
|
||||
|
||||
@ApiOperation(value = "测试案例", notes = "测试案例")
|
||||
@RequestMapping(value = "/testcase", method = RequestMethod.POST)
|
||||
@ -94,7 +91,9 @@ public class LakalaController extends BaseControllerImpl {
|
||||
|
||||
// return lakalaApiService.ewalletWithDrawNotify(null, paramsJSON.getStr("a"), paramsJSON.getStr("b"));
|
||||
|
||||
return lakalaApiService.tradeQuery(paramsJSON.getInt("storeId"), paramsJSON.getStr("orderId"));
|
||||
// return lakalaApiService.tradeQuery(paramsJSON.getInt("storeId"), paramsJSON.getStr("orderId"));
|
||||
|
||||
return JSONUtil.parseObj(shopOrderReturnService.fetchReturnOrderPrintInfo("", "FX_20251127_9"));
|
||||
}
|
||||
|
||||
@ApiOperation(value = "批量发送推送消息 - 测试案例", notes = "批量发送推送消息 - 测试案例")
|
||||
|
||||
@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.suisung.mall.common.modules.order.ShopOrderReturn;
|
||||
import com.suisung.mall.common.pojo.vo.OrderPrintVO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@ -30,4 +31,13 @@ public interface ShopOrderReturnMapper extends BaseMapper<ShopOrderReturn> {
|
||||
List<Map<String, Object>> statisticCountSeller(@Param("end") Date end, @Param("days") int days, @Param("store_id") int store_id);
|
||||
|
||||
IPage<Map> getReturnGroupByOrderId(Page<Map> page, @Param("map") Map params);
|
||||
|
||||
/**
|
||||
* 根据退货订单id获取退货订单打印信息
|
||||
*
|
||||
* @param orderId
|
||||
* @param returnId
|
||||
* @return
|
||||
*/
|
||||
OrderPrintVO fetchReturnOrderPrintInfo(@Param("orderId") String orderId, @Param("returnId") String returnId);
|
||||
}
|
||||
|
||||
@ -7,6 +7,7 @@ import com.suisung.mall.common.modules.order.ShopOrderItem;
|
||||
import com.suisung.mall.common.modules.order.ShopOrderReturn;
|
||||
import com.suisung.mall.common.modules.order.ShopOrderReturnItem;
|
||||
import com.suisung.mall.common.modules.product.ShopProductIndex;
|
||||
import com.suisung.mall.common.pojo.vo.OrderPrintVO;
|
||||
import com.suisung.mall.core.web.service.IBaseService;
|
||||
import com.suisung.mall.shop.order.vo.OrderReturnInputVo;
|
||||
|
||||
@ -225,4 +226,14 @@ public interface ShopOrderReturnService extends IBaseService<ShopOrderReturn> {
|
||||
CommonResult doRefundForMch(JSONObject params);
|
||||
|
||||
|
||||
/**
|
||||
* 根据退货订单id获取退货订单打印信息
|
||||
*
|
||||
* @param orderId
|
||||
* @param returnId
|
||||
* @return
|
||||
*/
|
||||
OrderPrintVO fetchReturnOrderPrintInfo(String orderId, String returnId);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -35,6 +35,7 @@ import com.suisung.mall.common.modules.product.ShopProductInfo;
|
||||
import com.suisung.mall.common.modules.product.ShopProductItem;
|
||||
import com.suisung.mall.common.modules.store.ShopStoreBase;
|
||||
import com.suisung.mall.common.modules.store.ShopStoreShippingAddress;
|
||||
import com.suisung.mall.common.pojo.vo.OrderPrintVO;
|
||||
import com.suisung.mall.common.service.MessageService;
|
||||
import com.suisung.mall.common.utils.*;
|
||||
import com.suisung.mall.core.web.service.impl.BaseServiceImpl;
|
||||
@ -3008,6 +3009,29 @@ public class ShopOrderReturnServiceImpl extends BaseServiceImpl<ShopOrderReturnM
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据退货订单id获取退货订单打印信息
|
||||
*
|
||||
* @param orderId 订单ID 可选参数
|
||||
* @param returnId 退货单ID 必填参数
|
||||
* @return 退货订单打印信息对象
|
||||
*/
|
||||
@Override
|
||||
public OrderPrintVO fetchReturnOrderPrintInfo(String orderId, String returnId) {
|
||||
// 参数校验
|
||||
if (StrUtil.isBlank(returnId)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
try {
|
||||
// 调用Mapper方法获取退货订单打印信息
|
||||
return shopOrderReturnMapper.fetchReturnOrderPrintInfo(orderId, returnId);
|
||||
} catch (Exception e) {
|
||||
logger.error("获取退货订单打印信息失败, orderId: {}, returnId: {}", orderId, returnId, e);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取拒绝退货的详细原因
|
||||
|
||||
@ -565,38 +565,6 @@
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="getReturnOrderPrintInfo" 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_pickup_num,
|
||||
CASE WHEN b.booking_state = 2 THEN 2 ELSE 1 END AS booking_state, b.booking_begin_time,
|
||||
c.order_message, c.order_item_amount, c.order_shipping_fee, c.order_shipping_fee_amount, c.delivery_time,
|
||||
(c.order_discount_amount + c.voucher_price + c.order_points_fee + c.order_adjust_fee) as total_discount_amount,
|
||||
c.packing_fee,
|
||||
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
|
||||
inner join shop_order_data c on a.order_id=c.order_id
|
||||
inner join shop_store_base d on a.store_id=d.store_id
|
||||
inner join shop_store_info e on a.store_id=e.store_id
|
||||
inner join shop_order_delivery_address f on a.order_id=f.order_id
|
||||
<where>
|
||||
<if test="storeId!=null and storeId > 0">
|
||||
and a.store_id=#{storeId}
|
||||
</if>
|
||||
|
||||
<if test="orderId!=null and orderId != ''">
|
||||
and a.order_id=#{orderId}
|
||||
</if>
|
||||
|
||||
<if test="payState!=null">
|
||||
and b.order_is_paid=#{payState}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
<resultMap id="MchOrderResult" type="com.suisung.mall.common.modules.order.dto.MchOrderInfoDTO">
|
||||
<!--订单对象映射-->
|
||||
|
||||
@ -86,4 +86,95 @@
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
<resultMap id="ReturnOrderPrintInfoResult" type="com.suisung.mall.common.pojo.vo.OrderPrintVO">
|
||||
<!--订单对象映射-->
|
||||
<result property="order_id" column="order_id"/>
|
||||
<result property="return_id" column="return_id"/>
|
||||
<result property="store_name" column="store_name"/>
|
||||
<result property="store_tel" column="store_tel"/>
|
||||
<result property="order_pickup_num_str" column="order_pickup_num_str"/>
|
||||
<result property="order_message" column="order_message"/>
|
||||
<result property="seller_message" column="seller_message"/>
|
||||
<result property="payment_time" column="payment_time"/>
|
||||
<result property="order_items_count" column="order_items_count"/>
|
||||
<result property="order_product_amount" column="order_product_amount"/>
|
||||
<result property="order_shipping_fee" column="order_shipping_fee"/>
|
||||
<result property="order_channel_name" column="order_channel_name"/>
|
||||
<result property="payment_type_name" column="payment_type_name"/>
|
||||
<result property="deliver_type_name" column="deliver_type_name"/>
|
||||
<result property="packing_fee" column="packing_fee"/>
|
||||
<result property="basic_rights" column="basic_rights"/>
|
||||
<result property="order_payment_amount" column="order_payment_amount"/>
|
||||
<result property="return_refund_amount" column="return_refund_amount"/>
|
||||
<result property="order_state" column="order_state"/>
|
||||
<result property="return_buyer_message" column="return_buyer_message"/>
|
||||
<result property="return_store_message" column="return_store_message"/>
|
||||
<result property="return_add_time" column="return_add_time"/>
|
||||
<result property="return_finish_time" column="return_finish_time"/>
|
||||
<result property="return_flag_str" column="return_flag_str"/>
|
||||
<result property="return_state" column="return_state"/>
|
||||
<result property="buyer_user_name" column="buyer_user_name"/>
|
||||
<result property="return_tel" column="return_tel"/>
|
||||
<result property="da_mobile" column="da_mobile"/>
|
||||
<result property="da_province" column="da_province"/>
|
||||
<result property="da_city" column="da_city"/>
|
||||
<result property="da_address" column="da_address"/>
|
||||
<result property="cashier" column="cashier"/>
|
||||
<!-- 集合类型映射 -->
|
||||
<collection property="orderItemPrintVOList" ofType="com.suisung.mall.common.pojo.vo.OrderItemPrintVO">
|
||||
<result property="item_name" column="item_name"/>
|
||||
<result property="order_item_quantity" column="order_item_quantity"/>
|
||||
<result property="order_item_amount" column="order_item_amount"/>
|
||||
<result property="s_name" column="s_name"/>
|
||||
<result property="s_quantity" column="s_quantity"/>
|
||||
<result property="s_amount" column="s_amount"/>
|
||||
<result property="product_sn" column="product_sn"/>
|
||||
</collection>
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="fetchReturnOrderPrintInfo" resultMap="ReturnOrderPrintInfoResult">
|
||||
select
|
||||
sob.order_id,sob.store_id,sob.store_name,sob.buyer_user_id,
|
||||
sob.buyer_user_name,sob.order_time,sob.order_payment_amount,sob.order_product_amount,
|
||||
soi.order_title, soi.delivery_type_id, soi.payment_type_id, soi.payment_time,
|
||||
LPAD(soi.order_pickup_num, 7, '0') as order_pickup_num_str,
|
||||
CASE WHEN soi.booking_state = 2 THEN 2 ELSE 1 END AS booking_state, soi.booking_begin_time,
|
||||
sod.order_message, sod.order_item_amount, sod.order_shipping_fee, sod.order_shipping_fee_amount, sod.delivery_time,
|
||||
(sod.order_discount_amount + sod.voucher_price + sod.order_points_fee + sod.order_adjust_fee) as total_discount_amount,
|
||||
sod.packing_fee,
|
||||
ssi.store_tel,
|
||||
soda.da_province,soda.da_city,soda.da_address,soda.da_mobile, soda.order_id,
|
||||
sor.return_id, sor.return_buyer_message, sor.return_store_message, sor.return_add_time, sor.return_finish_time,
|
||||
CASE WHEN sor.return_flag != 1 THEN '仅退款' ELSE '退款退货' END AS return_flag_str,
|
||||
sor.return_state_id, sor.return_refund_amount,
|
||||
sor.return_tel,
|
||||
soi_item.item_barcode as product_sn, soi_item.item_name,
|
||||
sor_item.return_item_subtotal as order_item_amount, sor_item.return_item_num as order_item_quantity
|
||||
from shop_order_base sob
|
||||
INNER JOIN shop_order_info soi on sob.order_id=soi.order_id
|
||||
INNER JOIN shop_order_data sod on sob.order_id=sod.order_id
|
||||
INNER JOIN shop_store_base ssb on sob.store_id=ssb.store_id
|
||||
INNER JOIN shop_store_info ssi on sob.store_id=ssi.store_id
|
||||
INNER JOIN shop_order_delivery_address soda on sob.order_id=soda.order_id
|
||||
INNER JOIN shop_order_item soi_item on soi_item.order_id=sob.order_id
|
||||
INNER JOIN shop_order_return sor on sob.order_id=sor.order_id
|
||||
INNER JOIN shop_order_return_item sor_item on sor_item.order_id=sob.order_id AND sor_item.return_id=sor.return_id
|
||||
AND sor_item.order_item_id=soi_item.order_item_id
|
||||
|
||||
<where>
|
||||
<if test="orderId!=null and orderId != ''">
|
||||
and sob.order_id=#{orderId}
|
||||
</if>
|
||||
|
||||
<if test="returnId!=null and returnId != ''">
|
||||
and sor.return_id=#{returnId}
|
||||
</if>
|
||||
|
||||
</where>
|
||||
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
@ -51,6 +51,48 @@
|
||||
收银员:李小璐<BR>
|
||||
|
||||
|
||||
格式化带变量模版:
|
||||
<#if is_booking_order><CB><B>【预约订单】<BR></B></CB>
|
||||
</#if><CB>${store_name}</CB><BR>
|
||||
--------------------------------<BR>
|
||||
<CB>#${order_pickup_num_str}</CB><BR>
|
||||
<L>买家备注:${order_message!'-'}</L><BR>
|
||||
<BOLD>配送时间:${payment_time?string('MM-dd HH:mm')}~${delivery_time?string('HH:mm')}</BOLD><BR>
|
||||
--------------------------------<BR>
|
||||
订单编号:${order_id}<BR>
|
||||
订单来源:微信小程序<BR>
|
||||
支付方式:微信支付<BR>
|
||||
配送来源:顺丰同城<BR>
|
||||
付款时间:${payment_time?string('yyyy-MM-dd HH:mm:ss')}<BR>
|
||||
--------------------------------<BR>
|
||||
<L>商品名称 数量 金额</L><BR>
|
||||
--------------------------------<BR>
|
||||
<#list order_items as item><L>${item.s_name}</L><L><BOLD>${item.s_quantity}</BOLD></L><L>${item.s_amount}</L><BR>
|
||||
<#if item.s_name_segs??><#list item.s_name_segs as seg><L>${seg}</L><BR>
|
||||
</#list></#if><BOLD><#if item.product_sn?default("")?trim?length gt 1>${item.product_sn}</BOLD><BR>
|
||||
</#if><BR>
|
||||
|
||||
</#list>--------------------------------<BR>
|
||||
商品总件数:<BOLD>${order_items_count!0}</BOLD><BR>
|
||||
商品总额:<BOLD>¥${order_product_amount?string('0.00')}</BOLD><BR>
|
||||
运费:<BOLD>¥${order_shipping_fee?string('0.00')}</BOLD><BR>
|
||||
<#if packing_fee?? && (packing_fee > 0)>打包费:<BOLD>¥${packing_fee?string('0.00')}</BOLD><BR>
|
||||
</#if>优惠金额:<BOLD>-¥${(quanyi!0)?string('0.00')}</BOLD><BR>
|
||||
实付金额:<BOLD>¥${order_payment_amount?string('0.00')}</BOLD><BR>
|
||||
<#if seller_message?default("")?trim?length gt 1>
|
||||
--------------------------------<BR>
|
||||
<BOLD>商家备注:${seller_message!'-'}</BOLD><BR>
|
||||
</#if>
|
||||
--------------------------------<BR>
|
||||
<BOLD>收货人:${buyer_user_name!''}</BOLD><BR>
|
||||
<BOLD>收货人手机:${da_mobile!'-'}</BOLD><BR>
|
||||
<BOLD>收货地址:${da_province!'-'}${da_city!'-'}${da_address!'-'}</BOLD><BR>
|
||||
--------------------------------<BR>
|
||||
门店:${store_name}<BR>
|
||||
门店电话:<BOLD>${store_tel!'-'}</BOLD><BR>
|
||||
收银员:${cashier!'店长'}<BR>
|
||||
|
||||
|
||||
格式化的示例:
|
||||
<CB>小发同城</CB><BR>--------------------------------<BR><CB>#00019232</CB><BR><L>买家备注:不用敲门,放在门口旁边的外卖箱,打个电话告知送达就行,谢谢!!!</L><BR><BOLD>配送时间:2024-10-25 14:00-14:30</BOLD><BR>--------------------------------<BR>订单编号:ES20231026111444527685<BR>订单来源:微信小程序<BR>支付方式:微信支付<BR>配送来源:顺丰同城<BR>付款时间:2024-10-25 14:00:23<BR>--------------------------------<BR><L>商品名称 数量 金额</L><BR>--------------------------------<BR><L>可口可乐CocaC</L> <L><BOLD> x110 </BOLD></L><L> 8100.45</L><BR><L>ola经典美味汽水1.2</L><BR><L>5L/瓶</L><BR><BOLD>6970448170051</BOLD><BR><L>排骨约350g(默 </L><L><BOLD> 1 </BOLD></L><L> 150.13 </L><BR><L>认砍小块)</L><BR><BOLD>6970448170053</BOLD><BR><L>新鲜虫草花1包约2 </L><L><BOLD> x11 </BOLD></L><L> 4.01 </L><BR><L>00g 韭菜1000g 鸡蛋</L><BR><L>2003克</L><BR><BOLD>6970448170054</BOLD><BR><L>冰红茶风味饮料 <L><BOLD> 1 </BOLD></L><L> 13.24 </L></L><BR><BOLD>6970448170055</BOLD><BR>--------------------------------<BR>商品总件数:<BOLD>3</BOLD><BR>商品总额:<BOLD>¥18.7</BOLD><BR>押金:<BOLD>¥500</BOLD><BR>运费:<BOLD>¥5.54</BOLD><BR>会员权益:<BOLD>-¥50</BOLD><BR>秒杀:<BOLD>-¥100</BOLD><BR>实付金额:<BOLD>¥428.9元</BOLD><BR>--------------------------------<BR><BOLD>商家备注:老顾客赠送一箱牛奶;玻璃瓶包装轻拿轻放!</BOLD><BR>--------------------------------<BR><BOLD>收货人:张三</BOLD><BR><BOLD>收货人手机:13128778765</BOLD><BR><BOLD>收货地址:北京市朝阳区朝阳路朝阳人民小区1号楼1栋1101</BOLD><BR>--------------------------------<BR>门店:岛内价生活超市<BR>门店电话:<BOLD>13665822542</BOLD><BR>收银员:李小璐<BR>
|
||||
|
||||
|
||||
@ -41,41 +41,41 @@
|
||||
|
||||
修改后的模版
|
||||
|
||||
<CB>小发同城</CB><BR>
|
||||
|
||||
<CB><B>用户退款订单<BR></B></CB>
|
||||
<CB>${store_name}</CB><BR>
|
||||
--------------------------------<BR>
|
||||
<CB>#00019232</CB><BR>
|
||||
<L>退款原因:不用敲门,放在门口旁边的外卖箱,打个电话告知送达就行,谢谢!!!</L><BR>
|
||||
<BOLD>配送时间:2024-10-25 14:00-14:30</BOLD><BR>
|
||||
<CB>#${order_pickup_num_str}</CB><BR>
|
||||
<L>退款原因:${return_buyer_message!'-'}</L><BR>
|
||||
<BOLD>配送时间:${payment_time}(之后20-30分钟)</BOLD><BR>
|
||||
--------------------------------<BR>
|
||||
订单编号:ES20231026111444527685<BR>
|
||||
退单编号:ES20231026111444527685<BR>
|
||||
订单来源:微信小程序<BR>
|
||||
支付方式:微信支付<BR>
|
||||
配送来源:顺丰同城<BR>
|
||||
付款时间:2024-10-25 14:00:23<BR>
|
||||
申请退款:2024-10-27 14:05:23<BR>
|
||||
确认退款:2024-10-27 14:8:23<BR>
|
||||
订单编号:${order_id}<BR>
|
||||
退单编号:${return_id}<BR>
|
||||
订单来源:${order_channel_name!'微信小程序'}<BR>
|
||||
支付方式:${payment_type_name!'微信支付'}<BR>
|
||||
配送来源:${deliver_type_name!'顺丰同城'}<BR>
|
||||
付款时间:${payment_time}<BR>
|
||||
申请退款:${return_add_time}<BR>
|
||||
确认退款:${return_finish_time}<BR>
|
||||
--------------------------------<BR>
|
||||
<C>******* 退款商品 ******</C><BR>
|
||||
--------------------------------<BR>
|
||||
<L>可口可乐CocaC</L> <L><BOLD> x110 </BOLD></L><L> 8100.45</L><BR>
|
||||
<L>ola经典美味汽水1.2</L><BR>
|
||||
<L>5L/瓶</L><BR>
|
||||
<BOLD>6970448170051</BOLD><BR>
|
||||
<L>排骨约350g(默 </L><L><BOLD> 1 </BOLD></L><L> 150.13 </L><BR>
|
||||
<L>认砍小块)</L><BR>
|
||||
<BOLD>6970448170053</BOLD><BR>
|
||||
<#list order_items as item><L>${item.s_name}</L><L><BOLD>${item.s_quantity}</BOLD></L><L>${item.s_amount}</L><BR><#if item.s_name_segs??><#list item.s_name_segs as seg><L>${seg}</L><BR></#list></#if><BOLD><#if item.product_sn?default("")?trim?length gt 1>${item.product_sn}</BOLD><BR></#if></#list>
|
||||
--------------------------------<BR>
|
||||
实付金额:<BOLD>¥428.9元</BOLD><BR>
|
||||
申请退款:<BOLD>¥32.7</BOLD><BR>
|
||||
退款方式:<BOLD>仅退款</BOLD><BR>
|
||||
商家审批备注:<BOLD>商家发货少了</BOLD><BR>
|
||||
实付金额:<BOLD>¥${order_payment_amount?string('0.00')}元</BOLD><BR>
|
||||
配送费:<BOLD>¥${order_shipping_fee?string('0.00')}元</BOLD><BR>
|
||||
申请退款:<BOLD>¥${return_refund_amount?string('0.00')}</BOLD><BR>
|
||||
退款方式:<BOLD>${return_flag_str}</BOLD><BR>
|
||||
商家审批备注:<BOLD>${return_store_message!'-'}</BOLD><BR>
|
||||
--------------------------------<BR>
|
||||
<BOLD>会员名称:张三</BOLD><BR>
|
||||
<BOLD>会员手机:13128778765</BOLD><BR>
|
||||
<BOLD>会员名称:${buyer_user_name!'微信用户'}</BOLD><BR>
|
||||
<BOLD>会员手机:${return_tel!'-'}</BOLD><BR>
|
||||
--------------------------------<BR>
|
||||
操作员:李小明<BR>
|
||||
操作员:${cashier!'-'}<BR>
|
||||
|
||||
|
||||
原模版:
|
||||
<CB>${store_name}</CB><BR>--------------------------------<BR><CB>#${order_pickup_num_str}</CB><BR><L>买家备注:${order_message!'-'}</L><BR><BOLD>配送时间:${delivery_time}</BOLD><BR>--------------------------------<BR>订单编号:${order_id}<BR>订单来源:微信小程序<BR>支付方式:微信支付<BR>配送来源:顺丰同城<BR>付款时间:${payment_time}<BR>--------------------------------<BR><L>商品名称 数量 金额</L><BR>--------------------------------<BR><#list order_items as item><L>${item.s_name}</L><L><BOLD>${item.s_quantity}</BOLD></L><L>${item.s_amount}</L><BR><#if item.s_name_segs??><#list item.s_name_segs as seg><L>${seg}</L><BR></#list></#if><BOLD><#if item.product_sn?default("")?trim?length gt 1>${item.product_sn}</BOLD><BR></#if></#list>--------------------------------<BR>商品总件数:<BOLD>${order_items_count!0}</BOLD><BR>商品总额:<BOLD>¥${order_product_amount?string('0.00')}</BOLD><BR>押金:<BOLD>¥${(yajin!0)?string('0.00')}</BOLD><BR>运费:<BOLD>¥${order_shipping_fee?string('0.00')}</BOLD><BR>会员权益:<BOLD>-¥${(quanyi!0)?string('0.00')}</BOLD><BR>秒杀:<BOLD>-¥${(miaosha!0)?string('0.00')}</BOLD><BR>实付金额:<BOLD>¥${order_payment_amount?string('0.00')}</BOLD><BR><#if seller_message?default("")?trim?length gt 1>--------------------------------<BR><BOLD>商家备注:${seller_message!'---'}</BOLD><BR></#if>--------------------------------<BR><BOLD>收货人:${buyer_user_name!''}</BOLD><BR><BOLD>收货人手机:${store_tel!''}</BOLD><BR><BOLD>收货地址:${da_province!'-'}${da_city!'-'}${da_address!'-'}</BOLD><BR>--------------------------------<BR>门店:${store_name}<BR>门店电话:<BOLD>${store_tel!'-'}</BOLD><BR>收银员:${cashier!'-'}<BR>
|
||||
|
||||
带参模版:
|
||||
<CB><B>用户退款订单<BR></B></CB><CB>${store_name}</CB><BR>--------------------------------<BR><CB>#${order_pickup_num_str}</CB><BR><L>退款原因:${return_buyer_message!'-'}</L><BR><BOLD>配送时间:${payment_time}(之后20-30分钟)</BOLD><BR>--------------------------------<BR>订单编号:${order_id}<BR>退单编号:${return_id}<BR>订单来源:${order_channel_name!'微信小程序'}<BR>支付方式:${payment_type_name!'微信支付'}<BR>配送来源:${deliver_type_name!'顺丰同城'}<BR>付款时间:${payment_time}<BR>申请退款:${return_add_time}<BR>确认退款:${return_finish_time}<BR>--------------------------------<BR><C>******* 退款商品 ******</C><BR>--------------------------------<BR><#list order_items as item><L>${item.s_name}</L><L><BOLD>${item.s_quantity}</BOLD></L><L>${item.s_amount}</L><BR><#if item.s_name_segs??><#list item.s_name_segs as seg><L>${seg}</L><BR></#list></#if><BOLD><#if item.product_sn?default("")?trim?length gt 1>${item.product_sn}</BOLD><BR></#if></#list>--------------------------------<BR>实付金额:<BOLD>¥${order_payment_amount?string('0.00')}元</BOLD><BR>配送费:<BOLD>¥${order_shipping_fee?string('0.00')}元</BOLD><BR>申请退款:<BOLD>¥${return_refund_amount?string('0.00')}</BOLD><BR>退款方式:<BOLD>${return_flag_str}</BOLD><BR>商家审批备注:<BOLD>${return_store_message!'-'}</BOLD><BR>--------------------------------<BR><BOLD>会员名称:${buyer_user_name}</BOLD><BR><BOLD>会员手机:${return_tel}</BOLD><BR>--------------------------------<BR>操作员:${cashier!'-'}<BR>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user