|
@@ -1,6 +1,7 @@
|
|
|
package com.tourism.webadmin.app.wechat.controller;
|
|
|
|
|
|
import cn.dev33.satoken.annotation.SaIgnore;
|
|
|
+import cn.hutool.core.lang.Snowflake;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.github.pagehelper.page.PageMethod;
|
|
|
import com.tourism.common.additional.utils.StringUtils;
|
|
@@ -24,6 +25,7 @@ import com.tourism.webadmin.back.vo.DeliveryOrderVo;
|
|
|
import com.tourism.common.additional.config.ApplicationConfig;
|
|
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.junit.Ignore;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
@@ -60,6 +62,7 @@ public class WechatDeliveryOrderController {
|
|
|
}
|
|
|
Tuple2<DeliveryOrder, JSONObject> bizData = verifyResult.getData();
|
|
|
DeliveryOrder deliveryOrder = bizData.getFirst();
|
|
|
+ deliveryOrder.setOrderNo(deliveryOrder.getId());
|
|
|
deliveryOrder = deliveryOrderService.saveNewWithRelation(deliveryOrder, bizData.getSecond());
|
|
|
return ResponseResult.success(deliveryOrder.getId().toString());
|
|
|
}
|
|
@@ -177,4 +180,5 @@ public class WechatDeliveryOrderController {
|
|
|
relationData.put("deliveryOrderItemsList", deliveryOrderItemsList);
|
|
|
return ResponseResult.success(new Tuple2<>(deliveryOrder, relationData));
|
|
|
}
|
|
|
+
|
|
|
}
|