打印简化
This commit is contained in:
parent
b1f88d9932
commit
c439ac091e
|
|
@ -69,9 +69,10 @@ public class PrintConsumer {
|
|||
}
|
||||
|
||||
@RabbitListener(queues = {RabbitConstants.QUEUE_PRINT_PLACE})
|
||||
public void printPlaceListener(JSONObject jsonObject) {
|
||||
public void printPlaceListener(String msg) {
|
||||
try {
|
||||
log.info("打印消息mq 接收到打印结算单消息,消息内容: {}", jsonObject);
|
||||
log.info("打印消息mq 接收到打印结算单消息,消息内容: {}", msg);
|
||||
JSONObject jsonObject = JSONObject.parseObject(msg);
|
||||
Integer orderId = jsonObject.getInteger("orderId");
|
||||
Boolean isReturn = jsonObject.getBoolean("isReturn");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue