提交 | 用户 | 时间
|
58d006
|
1 |
package com.mandi.fendan.service; |
A |
2 |
|
|
3 |
import java.util.Date; |
|
4 |
import java.util.List; |
|
5 |
import java.util.Map; |
|
6 |
|
|
7 |
import com.mandi.dao.common.ObjectResult; |
|
8 |
import com.mandi.dao.common.PageRequest; |
|
9 |
import com.mandi.dao.common.PageResult; |
|
10 |
import com.mandi.fendan.persist.FdMxWlgs; |
|
11 |
import com.mandi.fendan.util.persist.Scxt_zcInfo; |
|
12 |
import com.mandi.fendan.util.persist.WaitXSTDMX; |
|
13 |
import com.mandi.system.persist.Login; |
|
14 |
|
|
15 |
/** |
|
16 |
* erp和生产装车系统实现接口 |
|
17 |
* @author 15083 |
|
18 |
* |
|
19 |
*/ |
|
20 |
public interface IErpService { |
|
21 |
|
|
22 |
/** |
|
23 |
* 打印跳转 |
|
24 |
* @param lg |
|
25 |
* @param vehicleId |
|
26 |
* @return |
|
27 |
*/ |
|
28 |
public ObjectResult<String> tzPrint(Login lg,String vehicleId,String ipadd); |
|
29 |
|
|
30 |
/** |
|
31 |
* 打印跳转 |
|
32 |
* @param cardno |
|
33 |
* @param ipadd |
|
34 |
* @return |
|
35 |
*/ |
|
36 |
public ObjectResult<String> tzPrint(String cardno,String ipadd,String cqNo); |
|
37 |
|
|
38 |
|
|
39 |
/** |
|
40 |
* 根据提单号和批次号操作删除 |
|
41 |
* @param lg |
|
42 |
* @param cardno |
|
43 |
* @param ipadd |
|
44 |
* @return |
|
45 |
*/ |
|
46 |
public ObjectResult<Boolean> delbyPCH(Login lg,String tdNo,String pch,String cph,String bsNo)throws Exception; |
|
47 |
|
|
48 |
|
|
49 |
/** |
|
50 |
* 获取已经分配的销售提单 |
|
51 |
* @param XSTD |
|
52 |
* @param companyNo |
|
53 |
* @param sdate |
|
54 |
* @param edate |
|
55 |
* @param pr |
|
56 |
* @param fdAdmin 分给物流公司专用 |
|
57 |
* @return |
|
58 |
*/ |
|
59 |
public PageResult<Map<String, Object>> getXSTDList(Login lg,String type,String searchStr,String companyNo,Date sdate,Date edate,int wcSign,String fdAdmin,PageRequest pr,String sortStr,String cqV); |
|
60 |
|
|
61 |
/** |
|
62 |
* 获取已经分配的销售提单 |
|
63 |
* @param lg |
|
64 |
* @param type |
|
65 |
* @param searchStr |
|
66 |
* @param companyNo |
|
67 |
* @param sdate |
|
68 |
* @param edate |
|
69 |
* @param wcSign |
|
70 |
* @param pr |
|
71 |
* @param sortStr |
|
72 |
* @param cqV |
|
73 |
* @return |
|
74 |
*/ |
|
75 |
public PageResult<Map<String, Object>> getBillofLadingList(Login lg,String type,String searchStr,String companyNo,Date sdate,Date edate,int wcSign,PageRequest pr,String sortStr,String cqV); |
|
76 |
/** |
|
77 |
* 获取已经关闭的销售提单列表 |
|
78 |
* @param lg |
|
79 |
* @param type |
|
80 |
* @param searchStr |
|
81 |
* @param companyNo |
|
82 |
* @param sdate |
|
83 |
* @param edate |
|
84 |
* @param wcSign |
|
85 |
* @param pr |
|
86 |
* @param sortc |
|
87 |
* @return |
|
88 |
*/ |
|
89 |
public PageResult<Map<String, Object>> getCloseXSTDlist(Login lg,String type,String searchStr,String companyNo,Date sdate,Date edate,int wcSign,PageRequest pr,List<String> sortc); |
|
90 |
|
|
91 |
/** |
|
92 |
* 根据销售提单号获取提单信息 |
|
93 |
* @param XSTD |
|
94 |
* @return |
|
95 |
*/ |
|
96 |
public Map<String, Object> getXSTD(Login lg,String XSTD); |
|
97 |
|
|
98 |
|
|
99 |
/** |
|
100 |
* 获得已经分单列表 |
|
101 |
* @param lg |
|
102 |
* @param vehicleId |
|
103 |
* @param pr |
|
104 |
* @return |
|
105 |
*/ |
|
106 |
public PageResult<Map<String, Object>> getFdlist(Login lg,String companyNo,String vehicleId,PageRequest pr,String cqV); |
|
107 |
|
|
108 |
|
|
109 |
/** |
|
110 |
* 取消分单 |
|
111 |
* @param lg |
|
112 |
* @param bsNo |
|
113 |
* @return |
|
114 |
* @throws Exception |
|
115 |
*/ |
|
116 |
public ObjectResult<Boolean> delFdsheet(Login lg,String bsNo) throws Exception; |
|
117 |
|
|
118 |
|
|
119 |
|
|
120 |
/** |
|
121 |
* 查询当前车辆正在执行的分单详情 |
|
122 |
* @param lg |
|
123 |
* @param vehicleId |
|
124 |
* @return |
|
125 |
*/ |
|
126 |
public PageResult<WaitXSTDMX> getVehicleDetails(Login lg,String vehicleId); |
|
127 |
|
|
128 |
|
|
129 |
/** |
|
130 |
* 按照提单号整单配车 |
|
131 |
* @param lg |
|
132 |
* @param list |
|
133 |
* @param vehicleInfo |
|
134 |
* @return |
|
135 |
* @throws Exception |
|
136 |
*/ |
|
137 |
public ObjectResult<Boolean> doBindByList(Login lg,String list,String vehicleInfo)throws Exception; |
|
138 |
|
|
139 |
/** |
|
140 |
* 取消整车配单 |
|
141 |
* @param lg |
|
142 |
* @param tdbhlist |
|
143 |
* @return |
|
144 |
* @throws Exception |
|
145 |
*/ |
|
146 |
public ObjectResult<Boolean> dounBindByList(Login lg,String tdbhlist)throws Exception; |
|
147 |
|
|
148 |
/** |
|
149 |
* 取消分单 |
|
150 |
* @param lg |
|
151 |
* @param mlist |
|
152 |
* @return |
|
153 |
* @throws Exception |
|
154 |
*/ |
|
155 |
public ObjectResult<Boolean> doUnbind(Login lg,String mlist,String tdbhNo) throws Exception; |
|
156 |
|
|
157 |
|
|
158 |
|
|
159 |
/** |
|
160 |
* 销售出厂 |
|
161 |
* @param bsNo |
|
162 |
* @param vehicleId |
|
163 |
* @return |
|
164 |
* @throws Exception |
|
165 |
*/ |
|
166 |
public ObjectResult<Boolean> sxccCheck(String bsNo,String vehicleId,String ZZ)throws Exception; |
|
167 |
|
|
168 |
|
|
169 |
/** |
|
170 |
* 销售提单关闭分单 |
|
171 |
* @param vehicleId |
|
172 |
* @param xstdNo |
|
173 |
* @param lg |
|
174 |
* @return |
|
175 |
* @throws Exception |
|
176 |
*/ |
|
177 |
public ObjectResult<Boolean> closeXstd(String vehicleId,String driver,String phone,String xstdNo,Login lg) throws Exception; |
|
178 |
/** |
|
179 |
* 销售提单恢复分单 |
|
180 |
* @param xstdNo |
|
181 |
* @param lg |
|
182 |
* @return |
|
183 |
* @throws Exception |
|
184 |
*/ |
|
185 |
public ObjectResult<Boolean> openXstd(String xstdNo,Login lg) throws Exception; |
|
186 |
|
|
187 |
|
|
188 |
|
|
189 |
/** |
|
190 |
* 换车 |
|
191 |
* @param lg |
|
192 |
* @param bsNo |
|
193 |
* @param vehicleInfo |
|
194 |
* @return |
|
195 |
*/ |
|
196 |
@Deprecated |
|
197 |
public ObjectResult<Boolean> changeVehicle(Login lg,String bsNo,String vehicleInfo)throws Exception; |
|
198 |
/** |
|
199 |
* 销售进厂 |
|
200 |
* @param bsNo |
|
201 |
* @param vehicleId |
|
202 |
* @return |
|
203 |
* @throws Exception |
|
204 |
*/ |
|
205 |
@Deprecated |
|
206 |
public ObjectResult<Boolean> sxinCheck(String bsNo,String vehicleId)throws Exception; |
|
207 |
/** |
|
208 |
*根据卡号获取车辆信息 |
|
209 |
* @param cardno |
|
210 |
* @return |
|
211 |
*/ |
|
212 |
@Deprecated |
|
213 |
public Map<String, Object> getClInfo(String cardno); |
|
214 |
|
|
215 |
/** |
|
216 |
* 生产装车系统完成装车 |
|
217 |
* @param zc |
|
218 |
* @return |
|
219 |
* @throws Exception |
|
220 |
*/ |
|
221 |
@Deprecated |
|
222 |
public ObjectResult<Boolean> saveZcInfo(Scxt_zcInfo zc)throws Exception; |
|
223 |
|
|
224 |
/** |
|
225 |
* 生产系统卸车 |
|
226 |
* @param zc |
|
227 |
* @return |
|
228 |
* @throws Exception |
|
229 |
*/ |
|
230 |
@Deprecated |
|
231 |
public ObjectResult<Boolean> delZcInfo(Scxt_zcInfo zc)throws Exception; |
|
232 |
|
|
233 |
|
|
234 |
/** |
|
235 |
* 批量装车操作 |
|
236 |
* @param zclist |
|
237 |
* @return |
|
238 |
* @throws Exception |
|
239 |
*/ |
|
240 |
@Deprecated |
|
241 |
public ObjectResult<Boolean> batchSaveZcInfo(String zclist)throws Exception; |
|
242 |
|
|
243 |
|
|
244 |
/** |
|
245 |
* 批量删除装车 |
|
246 |
* @param zcist |
|
247 |
* @return |
|
248 |
* @throws Exception |
|
249 |
*/ |
|
250 |
@Deprecated |
|
251 |
public ObjectResult<Boolean> batchdelZcInfo(String zcist)throws Exception; |
|
252 |
|
|
253 |
|
|
254 |
/** |
|
255 |
* 更改提单明细物流公司 |
|
256 |
* @param fdMxWlgsList FdMxWlgs的list封装 |
|
257 |
*/ |
|
258 |
void changeMxWlgs(List<FdMxWlgs> fdMxWlgsList) throws Exception; |
|
259 |
|
|
260 |
/** |
|
261 |
* 提单列进入的可以查看的 |
|
262 |
* @param lg |
|
263 |
* @param xstd |
|
264 |
* @return |
|
265 |
*/ |
|
266 |
Map<String, Object> getBillofLadingXSTD(Login lg, String xstd); |
|
267 |
} |