CompanyMapper.java 689 Bytes
package com.huaheng.pc.config.company.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaheng.pc.config.company.domain.Company;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CompanyMapper extends BaseMapper<Company> {

    List<Company> selectCompanyByUserId(@Param("userId") Integer userId, @Param("warehouseCode") String warehouseCode);

    List<Company> selectByWarehouseCode(Company company);

    List<Company> selectListEntityByEqual(Company condition);

    List<Company> loginGetCompany(@Param("userId") Integer userId, @Param("warehouseCode") String warehouseCode);

    int insertReturnId(Company company);


}