LocationMapperAuto.java 964 Bytes
package com.huaheng.pc.general.location.mapper;

import com.huaheng.pc.general.location.domain.Location;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

public interface LocationMapperAuto {

    List<Location> selectListEntityByLike(Location condition);

    List<Location> selectListEntityByEqual(Location condition);

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

    Location selectEntityById(Integer id);

    Location selectFirstEntity(Location condition);

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

    int insert(Location record);

    int updateByModel(Location record);

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

    int deleteById(Integer id);

    int deleteByCondition(Location condition);

}