hr~ 1 månad sedan
förälder
incheckning
064bcc8362

+ 0 - 10
poyee-order/src/main/java/com/tzy/mapper/GroupOrderExpressMapper.java

@@ -1,10 +0,0 @@
-package com.tzy.mapper;
-
-import com.tzy.dto.LogisticsDTO;
-import org.apache.ibatis.annotations.Mapper;
-import org.apache.ibatis.annotations.Param;
-
-@Mapper
-public interface GroupOrderExpressMapper {
-    LogisticsDTO logisticsInfo(@Param("orderNo") String orderNo);
-}

+ 3 - 3
poyee-order/src/main/java/com/tzy/service/impl/LotOrderServiceImpl.java

@@ -5,7 +5,7 @@ import com.tzy.common.utils.DateUtils;
 import com.tzy.dto.LogisticsDTO;
 import com.tzy.entity.LotOrder;
 import com.tzy.entity.Spu;
-import com.tzy.mapper.GroupOrderExpressMapper;
+import com.tzy.mapper.LotOrderExpressMapper;
 import com.tzy.mapper.LotOrderMapper;
 import com.tzy.req.LotOrderConfirmRequest;
 import com.tzy.service.LotOrderService;
@@ -32,7 +32,7 @@ public class LotOrderServiceImpl implements LotOrderService {
     ITzyShippingAddressService shippingAddressService;
 
     @Resource
-    GroupOrderExpressMapper groupOrderExpressMapper;
+    LotOrderExpressMapper lotOrderExpressMapper;
     @Override
     public List<LotOrder> getLotOrders(LotOrder lotOrder) {
         return lotOrderMapper.selectLotOrder(lotOrder);
@@ -80,7 +80,7 @@ public class LotOrderServiceImpl implements LotOrderService {
         if (count <= 0) {
             return new LogisticsDTO();
         }
-        return groupOrderExpressMapper.logisticsInfo(orderNo);
+        return lotOrderExpressMapper.logisticsInfo(orderNo);
     }
 
     @Override

+ 2 - 2
poyee-order/src/main/resources/mapper/LogisticsMapper.xml

@@ -2,7 +2,7 @@
 <!DOCTYPE mapper
         PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         "https://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.tzy.mapper.GroupOrderExpressMapper">
+<mapper namespace="com.tzy.mapper.LotOrderExpressMapper">
 
     <sql id="base_select">
         id,order_no,courier_no,sign_status,result,sync_time,logistics_company
@@ -14,4 +14,4 @@
         from group_order_express
         where order_no=#{orderNo}
     </select>
-</mapper>
+</mapper>