IdentificationMapperAuto.java 1.02 KB
package com.huaheng.pc.config.zone.mapper;

import com.huaheng.pc.config.zone.domain.Identification;
import org.apache.ibatis.annotations.Param;

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

public interface IdentificationMapperAuto {

    List<Identification> selectListEntityByLike(Identification condition);

    List<Identification> selectListEntityByEqual(Identification condition);

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

    Identification selectEntityById(Integer id);

    Identification selectFirstEntity(Identification condition);

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

    int insert(Identification record);

    int updateByModel(Identification record);

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

    int deleteById(Integer id);

    int deleteByCondition(Identification condition);
}