Commit 27c4735b by songyinghui

feat: 订单扩展记录取值

parent 47a4e1cb
......@@ -76,7 +76,7 @@ public class MallOrderStatusChangeApiServiceImpl implements MallOrderStatusChang
JSONObject jsonObject = JSON.parseObject(extendJson, JSONObject.class);
String clerkId = jsonObject.getString("clerkId");
String contentMaterialId = jsonObject.getString("contentMaterialId");
String goodsId = jsonObject.getString("goodsId");
String goodsId = jsonObject.getString("proId");
String memberId = orderEventMqBO.getMemberId();
InteractRecordMessageBO interactRecordMessageBO = new InteractRecordMessageBO();
......
......@@ -5,9 +5,11 @@ import com.gic.haoban.manage.api.dto.content.PotentialCustomerDTO;
import com.gic.haoban.manage.api.dto.qdto.content.PotentialCustomerQDTO;
import com.gic.haoban.manage.api.service.content.MallOrderStatusChangeApiService;
import com.gic.haoban.manage.api.service.content.PotentialCustomerApiService;
import com.gic.haoban.manage.service.pojo.bo.content.OrderEventMqBO;
import com.gic.haoban.manage.service.pojo.bo.content.message.InteractRecordMessageBO;
import com.gic.haoban.manage.service.service.content.PotentialCustomerService;
import com.gic.haoban.manage.service.service.content.message.InteractRecordMessageService;
import com.gic.haoban.manage.service.service.out.impl.content.MallOrderStatusChangeApiServiceImpl;
import com.sun.org.apache.bcel.internal.generic.DADD;
import org.junit.Test;
import org.junit.runner.RunWith;
......@@ -90,10 +92,13 @@ public class InteractRecordMessageServiceTest {
System.out.println(JSONObject.toJSONString(pageServiceResponse));
}
@Autowired
private MallOrderStatusChangeApiServiceImpl mallOrderStatusChangeApiServiceImpl;
@Test
public void orderTest() {
String json = "";
//interactRecordMessageService.dealRecord("");
String json = "{\"orderNumber\":\"1230823781099589\",\"toStatus\":2,\"fromStatus\":1,\"orderId\":\"5ee56a6098f1471f8922215cb9672ae9\",\"deliveryChannel\":1,\"eventTime\":1692793725306,\"enterpriseId\":\"8a809083802bbf5201804af08b0d0095\",\"businessType\":1,\"mqTraceId\":\"59759-1-1692793725.033-/gic-thirdparty/wxmall_payment_result_notice\",\"memberId\":\"8a808d838995476c0189b55f0ab807f7\"}";
mallOrderStatusChangeApiServiceImpl.sendDelayMessage(JSONObject.parseObject(json, OrderEventMqBO.class));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment