rk
2 天以前 c313a253b1fcdc75b6be5db575fc2b29fb407021
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.doumee.biz.system.impl;
 
import com.doumee.biz.system.AreasBiz;
import com.doumee.dao.business.model.Areas;
import com.doumee.service.business.AreasService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
/**
 * 区划信息业务封装实现
 *
 * @author rk
 * @date 2026/04/10
 */
@Service
public class AreasBizImpl implements AreasBiz {
 
    @Autowired
    private AreasService areasService;
 
    @Override
    public Areas resolveArea(Integer areaId) {
        if (areaId == null) {
            return null;
        }
        // cacheData 中已为每条区县记录填充了 provinceId/provinceName/cityId/cityName
        return areasService.findById(areaId);
    }
 
}