|
@@ -63,6 +63,7 @@ import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
63
|
63
|
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
|
64
|
64
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
65
|
65
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
66
|
+import lombok.extern.slf4j.Slf4j;
|
66
|
67
|
import org.apache.poi.ss.util.CellRangeAddressList;
|
67
|
68
|
import org.apache.rocketmq.spring.core.RocketMQTemplate;
|
68
|
69
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -84,6 +85,7 @@ import java.util.stream.Collectors;
|
84
|
85
|
* @author Chopper
|
85
|
86
|
* @since 2020/11/17 7:38 下午
|
86
|
87
|
*/
|
|
88
|
+@Slf4j
|
87
|
89
|
@Service
|
88
|
90
|
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements OrderService {
|
89
|
91
|
|
|
@@ -468,6 +470,13 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
|
468
|
470
|
}
|
469
|
471
|
|
470
|
472
|
@Override
|
|
473
|
+ public void saveCustomsCallback(String content, String copMsgId) {
|
|
474
|
+ // 根据copMsgId取出企业对应报关元数据
|
|
475
|
+ // 解密存储
|
|
476
|
+ log.info("receive callback message: [{}, {}]", content, copMsgId);
|
|
477
|
+ }
|
|
478
|
+
|
|
479
|
+ @Override
|
471
|
480
|
@OrderLogPoint(description = "'订单['+#orderSn+']核销,核销码['+#verificationCode+']'", orderSn = "#orderSn")
|
472
|
481
|
public Order take(String orderSn, String verificationCode) {
|
473
|
482
|
|