ZoneMapperAuto.java 891 Bytes
package com.huaheng.pc.config.zone.mapper;

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

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

public interface ZoneMapperAuto {

    List<Zone> selectListEntityByLike(Zone condition);

    List<Zone> selectListEntityByEqual(Zone condition);

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

    Zone selectEntityById(Integer id);

    Zone selectFirstEntity(Zone condition);

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

    int insert(Zone record);

    int updateByModel(Zone record);

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

    int deleteById(Integer id);

    int deleteByCondition(Zone condition);

}