Helius
2021-08-05 fdb91cc72f7cbe8c095a1ce6442c9259ff01ff06
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
package com.xzx.gc.user.mapper;
 
import com.xzx.gc.entity.JhyOrder;
import com.xzx.gc.entity.JhyOrderItems;
import com.xzx.gc.entity.OrderInfo;
import com.xzx.gc.entity.OrderItemInfo;
import com.xzx.gc.model.admin.PromoterModel;
import com.xzx.gc.model.admin.XzxCityPartnerModel;
import com.xzx.gc.model.order.OrderInfoVo;
import com.xzx.gc.user.vo.CategaryVo;
import com.xzx.gc.util.GcMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
import java.util.List;
import java.util.Map;
 
@Repository
public interface OrderMapper extends GcMapper<OrderInfo> {
 
 
    List<OrderItemInfo> findOrderItemInfo(@Param("userId") String userId,@Param("type") int type);
 
    List<OrderInfoVo> findLastTimeBycreateUserId(String userId);
 
    Map<String, Object> queryCuserOrderByUserIdCount1(String userId);
 
    List<Map<String, Object>> queryUserOrderList(@Param("userId") String userId);
 
    List<Map<String, Object>> queryCuserOrderCount(@Param("userId") String userId, @Param("status") Integer[] status);
 
    PromoterModel queryPromoterOrderWeightMoney(@Param("userId") String userId, @Param("startTime") String startTime, @Param("endTime") String endTime);
 
    int queryAllOrderByUserId(@Param("userId") String userId, @Param("startTime") String startTime, @Param("endTime") String endTime);
 
    List<PromoterModel> queryQromoterOrderOne(PromoterModel promoterModel);
 
    List<PromoterModel> queryQromoterOrder(PromoterModel promoterModel);
 
    List<String> queryUserOrderNum(@Param("userId") String userId, @Param("partnerIds") List<String> partnerIds, @Param("startTime") String startTime, @Param("endTime") String endTime);
 
    List<Map<String, Object>> queryCuserOrderFinishList(@Param("userId") String userId, @Param("status") Integer[] status);
 
 
    String orderCountStat(Map map);
 
    String queryOrderById(@Param("orderId") String orderId, @Param("userId") String userId, @Param("startTime") String startTime, @Param("endTime") String endTime);
 
    List<String> queryOrderByIds(@Param("userId") String userId, @Param("startTime") String startTime, @Param("endTime") String endTime);
 
    List<Map<String, String>> queryOrderByHsy(XzxCityPartnerModel model);
 
    List<OrderInfo> findDetailByPartned(@Param("partnerId")String partnerId);
 
    List<OrderInfo> findDetail();
 
 
    List<OrderInfo> findServiceOrderByUserIdAndStatus(@Param("userId")String userId, @Param("status")List<String> status);
 
    List<OrderInfo> findListOrderReceiveTime(@Param("receiver")String receiver);
 
    List<JhyOrder> selectJhyOrderByUserId(@Param("userId")String userId);
 
    List<OrderInfo> selectOrderByUserId(String userId, int i);
 
    List<CategaryVo> selectListByOrderId(String orderId);
 
    List<CategaryVo> selectJHYListByOrderId(String orderId);
}