CompanyService.java
1.09 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
package com.huaheng.pc.config.company.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.pc.config.company.domain.Company;
import java.util.List;
import java.util.Map;
public interface CompanyService extends IService<Company>{
List<Company> selectCompanyByCurrentUserId();
List<Company> selectCompanyByUserId(Integer id);
AjaxResult addCompany(Company company);
AjaxResult updateCompany(Company company);
List<Map<String, Object>> getCode();
List<Company> selectListEntityByEqual(Company condition);
List<Company> loginGetCompany(Integer userId, String warehouseCode);
AjaxResult checkwarehouseCompany(String code);
List<Company> getByDomain(Company company);
public Company getByDomainOne(Company company);
List<Company> findByWarehouseCode(String warehouseCode);
Company getDefaultCompany();
Company getCompanyByCode(String code, String warehouseCode);
Company getCompanyByErp(String erpCompanyCode);
Company getCompanyByU8Code(String userDef1);
}