package com.yssh.service.impl; import com.yssh.dao.YsshLocationMapper; import com.yssh.entity.YsshLocation; import com.yssh.service.YsshLocationService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * @author wMeng * @ClassName YsshLocationServiceImpl * @Description TODO * @date 2022/10/30 13:25 * @Version 1.0 */ @Service public class YsshLocationServiceImpl implements YsshLocationService { @Autowired private YsshLocationMapper mapper; @Override public List query(String name, String type) { return mapper.query(name, type); } @Override public List getAll() { return mapper.getAll(); } @Override public int insertLocation(YsshLocation ysshLocation) { return mapper.insertLocation(ysshLocation); } @Override public int deleteLocation(String id) { return mapper.deleteLocation(id); } }