OrderClient.java
3.07 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
package com.glsx.common.feign.client;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import com.alibaba.fastjson.JSONObject;
import com.glsx.common.config.FeignConfig;
/**
* @author duanht
* @version 1.0.0
* @Title OrderClient
* @Package com.glsx.common.feign.client
* @Description ${todo}
* @date 2019/3/11 16:33
*/
@FeignClient(name="car-service-ordercenter", configuration=FeignConfig.class)
public interface OrderClient {
/**
*
* @author duanht
* @Title: getOrderByUserId
* @Description: TODO 根据用户id查询订单信息(商户,服务商,技工)
* @param userId
* @return ResultObject
*
*/
@RequestMapping(value="/carservice/ordercenter/order/getOrderByUserId", method= RequestMethod.GET)
public JSONObject getOrderByUserId(@RequestParam("userId")Integer userId);
/**
*
*@author xiaoyj
* @Title: updateOrderOpenId
* @Description: TODO 根据id修改商户id
* @param id,shopId
* @return ResultObject
*/
@RequestMapping(value="/carservice/ordercenter/order/updateOrdersBindShop", method= RequestMethod.GET)
public JSONObject updateOrdersBindShop(@RequestParam("id")Integer id,@RequestParam("shopId")Integer shopId,@RequestParam("serviceType")Integer serviceType);
/**
*
*@author xiaoyj
* @Title: updateOrderOpenId
* @Description: TODO 查询超过30分钟,服务商未指定或技工未接单的订单
* @param
* @return ResultObject
*/
@RequestMapping(value="/carservice/ordercenter/order/getOrderOnHand", method= RequestMethod.GET)
public JSONObject getOrderOnHand();
/**
*
* @author zhanghj
* @Title: getBiddingOrderNoBidRemindList
* @Description: TODO 查询超过多少分钟内没有竞价,获取对拥有该单数据权限的普通账号进行推送列表
* @param minute 超过多少分钟
* @param timeInterval 定时任务时间间隔
* @return
* JSONObject
*
*/
@RequestMapping(value="/carservice/ordercenter/orderBidding/getBiddingOrderNoBidRemindList", method= RequestMethod.GET)
public JSONObject getBiddingOrderNoBidRemindList(@RequestParam("minute")Integer minute, @RequestParam("timeInterval")Integer timeInterval);
/**
*
* @author zhanghj
* @Title: updateBiddingOrderNoBidList
* @Description: TODO 更新无人竞价的竞价单列表状态为未报价
* void
*
*/
@RequestMapping(value="/carservice/ordercenter/orderBidding/updateBiddingOrderNoBidList", method= RequestMethod.POST)
public void updateBiddingOrderNoBidList();
}