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 query(@Param("name") String name, @Param("type") String type); List getAll(); int insertLocation(Location ysshLocation); int deleteLocation(String id); List selectByXY(@Param("x") double x, @Param("y") double y); List selectVocAddrs(); }