package com.yssh.mapper;
|
|
import com.yssh.entity.Location;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
@Mapper
|
public interface LocationMapper {
|
List<Location> query(@Param("name") String name, @Param("type") String type);
|
|
List<Location> getAll();
|
|
int insertLocation(Location ysshLocation);
|
|
int deleteLocation(String id);
|
|
List<Location> selectByXY(@Param("x") double x, @Param("y") double y);
|
|
List<Location> selectVocAddrs();
|
}
|