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