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
| package com.fzzy.order.common;
|
| import com.fzzy.api.entity.ApiConfs;
| import com.fzzy.order.common.data.OrderCommonData;
|
| import java.text.ParseException;
|
| /**
| * 根据协议解析指令
| *
| * @author czt
| */
| public interface OrderCommonService {
|
| /**
| * 获取协议编码
| *
| * @return
| */
| public String getProtocol();
|
| /**
| * 解析指令
| * @param req
| * @return
| * @throws Exception
| */
|
| public void execute(OrderCommonData req, String orderType, ApiConfs apiConfs, String orderid) throws ParseException;
| }
|
|