退单金额

This commit is contained in:
2026-04-21 17:42:52 +08:00
parent 8665a8d4dc
commit f873674f73
2 changed files with 12 additions and 11 deletions

View File

@@ -140,10 +140,10 @@ public class RabbitPublisher {
/**
* 后付费订单打印消息
*
* @param orderId 订单id
* @param before 0后付费/1先付费
* @param status 订单状态 0未完成/1完成
* @param placeNum 第几次下单
* @param orderId 订单id
* @param before 0后付费/1先付费
* @param status 订单状态 0未完成/1完成
* @param placeNum 第几次下单
*/
public void sendOrderPrintMsg(Long orderId, Integer before, Integer status, Integer placeNum, String source) {
log.info("订单打印消息, orderId:{},{},{},第:{}次下单,source:{}",
@@ -162,11 +162,12 @@ public class RabbitPublisher {
* @param printTypeEnum
* @param data
*/
public void sendOrderPrintLocalMsg(Long shopId, Long orderId, Integer placeNum, String printTypeEnum, String data, String operator) {
public void sendOrderPrintLocalMsg(Long shopId, Long orderId, Integer placeNum, String printTypeEnum, String data, String operator, String amount) {
JSONObject jsonObject = new JSONObject();
jsonObject.put("shopId", shopId);
jsonObject.put("orderId", orderId);
jsonObject.put("placeNum", placeNum);
jsonObject.put("amount", amount);
jsonObject.put("printType", printTypeEnum);
jsonObject.put("data", data);
jsonObject.put("operator", operator);