CompanyService.java
914 Bytes
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);
}