|
|
@@ -1,5 +1,6 @@
|
|
|
package com.kym.service.awoara.event.handle;
|
|
|
|
|
|
+import com.alibaba.fastjson2.JSON;
|
|
|
import com.kym.entity.awoara.MessageBody;
|
|
|
import com.kym.entity.awoara.OrderInfoObject;
|
|
|
import com.kym.entity.WashOrder;
|
|
|
@@ -50,7 +51,7 @@ public class OrderUpdateEventHandler implements AwoaraEventHandler<OrderInfoObje
|
|
|
.set(WashOrder::getDiscountMoney, orderInfo.getDiscount_money())
|
|
|
.set(WashOrder::getOperationRemainTime, orderInfo.getOperation_remain_time())
|
|
|
.set(WashOrder::getIdleRemainTime, orderInfo.getIdle_remain_time())
|
|
|
- .set(WashOrder::getDetail, orderInfo.getDetail())
|
|
|
+ .set(WashOrder::getDetail, JSON.toJSONString(orderInfo.getDetail()))
|
|
|
.eq(WashOrder::getOrderId, orderInfo.getOrder_id())
|
|
|
.update();
|
|
|
|