package com.welampiot.service.impl; import com.welampiot.dao.GlobalLocationDao; import com.welampiot.dto.GlobalLocationDTO; import com.welampiot.service.GlobalLocationService; import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * ClassName: GlobalLocationServiceImpl * Package: com.welampiot.service.impl * Description: * * @Author: zhj_Start * @Create: 2023/3/22 - 17:37 * @Version: v1.0 */ @Service public class GlobalLocationServiceImpl implements GlobalLocationService { @Autowired private GlobalLocationDao globalLocationDao; @Override public List getAreaByLevel(Integer version,Integer level) { return globalLocationDao.getAreaByLevel(version,level); } @Override public List getAreaByLevelAndPid(Integer version,Integer level, Integer pid) { return globalLocationDao.getAreaByLevelAndPid(version,level,pid); } @Override public List getListByPid(Integer pid) {return globalLocationDao.getListByPid(pid);} @Override public List getListByPidList(List pids) {return globalLocationDao.getListByPidList(pids);} }