Blame view

src/main/java/com/huaheng/pc/config/company/mapper/CompanyMapper.java 689 Bytes
1
package com.huaheng.pc.config.company.mapper;
tangying authored
2
mahuandong authored
3
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
4
import com.huaheng.pc.config.company.domain.Company;
tangying authored
5
6
7
8
import org.apache.ibatis.annotations.Param;

import java.util.List;
mahuandong authored
9
public interface CompanyMapper extends BaseMapper<Company> {
tangying authored
10
11
    List<Company> selectCompanyByUserId(@Param("userId") Integer userId, @Param("warehouseCode") String warehouseCode);
tangying authored
12
mahuandong authored
13
    List<Company> selectByWarehouseCode(Company company);
tangying authored
14
15
    List<Company> selectListEntityByEqual(Company condition);
tangying authored
16
xqs authored
17
18
    List<Company> loginGetCompany(@Param("userId") Integer userId, @Param("warehouseCode") String warehouseCode);
xqs authored
19
    int insertReturnId(Company company);
20
xqs authored
21
mahuandong authored
22
}