|
|
@ -30,6 +30,7 @@ import com.elink.esua.epdc.dto.epdc.form.CityAreaFormDTO; |
|
|
|
import com.elink.esua.epdc.entity.CityEntity; |
|
|
|
import com.elink.esua.epdc.redis.CityRedis; |
|
|
|
import com.elink.esua.epdc.service.CityService; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
@ -45,6 +46,7 @@ import java.util.Map; |
|
|
|
* @author qu qu@elink-cn.com |
|
|
|
* @since v1.0.0 2021-10-14 |
|
|
|
*/ |
|
|
|
@Slf4j |
|
|
|
@Service |
|
|
|
public class CityServiceImpl extends BaseServiceImpl<CityDao, CityEntity> implements CityService { |
|
|
|
|
|
|
@ -105,6 +107,7 @@ public class CityServiceImpl extends BaseServiceImpl<CityDao, CityEntity> implem |
|
|
|
|
|
|
|
@Override |
|
|
|
public Result getAreaInfo(CityAreaFormDTO dto) { |
|
|
|
log.info("dto:"+dto); |
|
|
|
List<CityEntity> result = baseDao.getAreaInfoByPid(dto); |
|
|
|
return new Result().ok(result); |
|
|
|
} |
|
|
|