WarehouseCompanyMapperAuto.java 1.07 KB
package com.huaheng.pc.config.company.mapper;


import com.huaheng.pc.config.warehouseCompany.domain.WarehouseCompany;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface WarehouseCompanyMapperAuto {

    List<WarehouseCompany> selectListEntityByLike(WarehouseCompany condition);

    List<WarehouseCompany> selectListEntityByEqual(WarehouseCompany condition);

    List<Map<String, Object>> selectListMapByEqual(@Param("columns") String columns, @Param("condition") WarehouseCompany condition);

    WarehouseCompany selectEntityById(Integer id);

    WarehouseCompany selectFirstEntity(WarehouseCompany condition);

    Map<String, Object> selectFirstMap(@Param("columns") String columns, @Param("condition") WarehouseCompany condition);

    int insert(WarehouseCompany record);

    int updateByModel(WarehouseCompany record);

    int updateByCondition(@Param("record") WarehouseCompany record, @Param("condition") WarehouseCompany condition);

    int deleteById(Integer id);

    int deleteByCondition(WarehouseCompany condition);


}