提交 | 用户 | 时间
|
58d006
|
1 |
package com.mandi.fendan.service; |
A |
2 |
|
|
3 |
import java.util.List; |
|
4 |
import java.util.Map; |
|
5 |
|
|
6 |
import com.mandi.dao.common.ObjectResult; |
|
7 |
import com.mandi.dao.common.PageRequest; |
|
8 |
import com.mandi.dao.common.PageResult; |
|
9 |
import com.mandi.fendan.persist.Fd_Company; |
|
10 |
import com.mandi.system.persist.Login; |
|
11 |
|
|
12 |
public interface Ifd_companyService { |
|
13 |
/** |
|
14 |
* 单个查询 |
|
15 |
* @param id |
|
16 |
* @return |
|
17 |
*/ |
|
18 |
public ObjectResult<Fd_Company> get(String id); |
|
19 |
|
|
20 |
/** |
|
21 |
* 列表查询 |
|
22 |
* @param name |
|
23 |
* @param depart |
|
24 |
* @param pr |
|
25 |
* @return |
|
26 |
*/ |
|
27 |
public PageResult<Map<String, Object>> getlist(String name,PageRequest pr); |
|
28 |
|
|
29 |
|
|
30 |
/** |
|
31 |
* typehead |
|
32 |
* @param search |
|
33 |
* @param pagesize |
|
34 |
* @return |
|
35 |
*/ |
|
36 |
public List<Map<String, Object>> companytypehead(String search,int pagesize); |
|
37 |
|
|
38 |
/** |
|
39 |
* 修改和新增 |
|
40 |
* @param company |
|
41 |
* @return |
|
42 |
*/ |
|
43 |
public ObjectResult<Fd_Company> saveCompany(Fd_Company company,String ywdyNos) throws Exception; |
|
44 |
|
|
45 |
/** |
|
46 |
* 状态修改 |
|
47 |
* @param cp |
|
48 |
* @return |
|
49 |
*/ |
|
50 |
public ObjectResult<Boolean> changeUsed(Fd_Company cp); |
|
51 |
|
|
52 |
/** |
|
53 |
* 删除 |
|
54 |
* @param id |
|
55 |
* @return |
|
56 |
*/ |
|
57 |
public ObjectResult<Boolean> delCompany(String id)throws Exception; |
|
58 |
/** |
|
59 |
* 单个查询 |
|
60 |
* @param companyNo |
|
61 |
* @return |
|
62 |
*/ |
|
63 |
public ObjectResult<Fd_Company> getByCompanyNo(String companyNo); |
|
64 |
|
|
65 |
|
|
66 |
/** |
|
67 |
* 根据物流公司获取厂区编号 |
|
68 |
* @param companyNo |
|
69 |
* @return |
|
70 |
*/ |
|
71 |
public PageResult<Map<String, Object>> getcqList(String companyNo); |
|
72 |
|
|
73 |
PageResult<Map<String, Object>> getFdCqList(String departno, Login lg); |
|
74 |
} |