Browse Source

优化账号流水导出逻辑

zyy 1 month ago
parent
commit
0e73757639

+ 6 - 3
fs-service-system/src/main/java/com/fs/live/mapper/LiveOrderMapper.java

@@ -6,11 +6,10 @@ import com.fs.live.vo.LiveOrderListVo;
 import com.fs.live.vo.LiveOrderQueryVO;
 import com.fs.live.vo.LiveOrderVo;
 import com.fs.store.domain.FsStoreOrder;
-import org.apache.ibatis.annotations.Param;
-import org.apache.ibatis.annotations.Select;
-import org.apache.ibatis.annotations.Update;
+import org.apache.ibatis.annotations.*;
 
 import java.util.List;
+import java.util.Map;
 
 /**
  * 订单Mapper接口
@@ -30,6 +29,10 @@ public interface LiveOrderMapper {
     @Select("select order_code from live_order where order_id=#{orderId}")
     String selectLiveOrderCodeByOrderId(@Param("orderId") String orderId);
 
+    @MapKey("orderId")
+    Map<String, String> selectOrderCodeMapByOrderIds(@Param("orderIds") List<String> orderIds);
+
+
     /**
      * 查询订单列表
      *