CompanyMapper.java 598 Bytes
package com.huaheng.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaheng.system.api.domain.Company;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface CompanyMapper extends BaseMapper<Company> {

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

    List<Company> selectByWarehouseCode(Company company);

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


}