| package com.xzx.gc.system.service; | 
|   | 
| import com.xzx.gc.entity.OrderInfo; | 
| import com.xzx.gc.model.admin.OrderModel; | 
| import com.xzx.gc.system.mapper.OrderMapper; | 
| import lombok.extern.slf4j.Slf4j; | 
| import org.springframework.beans.factory.annotation.Autowired; | 
| import org.springframework.stereotype.Service; | 
| import org.springframework.transaction.annotation.Transactional; | 
|   | 
| import java.util.List; | 
|   | 
| @Service | 
| @Transactional | 
| @Slf4j | 
| public class OrderService { | 
|   | 
|     @Autowired | 
|     private OrderMapper orderMapper; | 
|   | 
|   | 
|     public int findStatusNumByPartnerId(List<String> status, String partnerId) { | 
|         return orderMapper.findStatusNumByPartnerId(status, partnerId); | 
|     } | 
|   | 
|   | 
|     public List<OrderModel> queryOrderByCityId(String cityId, List<String> townIds) { | 
|         return orderMapper.queryOrderByCityId(cityId, townIds); | 
|     } | 
|   | 
|     public List<OrderInfo> findPartnerId(){ | 
|         List<OrderInfo> userInfo1 = orderMapper.findPartnerId(); | 
|         return userInfo1; | 
|     } | 
|   | 
|   | 
|     public List<OrderInfo> findPartnerIdByTime(){ | 
|         List<OrderInfo> userInfo1 = orderMapper.findPartnerIdByTime(); | 
|         return userInfo1; | 
|     } | 
|   | 
| } |