package com.ruoyi.ibs.custmap.service;

import com.ruoyi.common.utils.SecurityUtils;
import com.ruoyi.ibs.custmap.domain.entity.DeptAddress;
import com.ruoyi.ibs.custmap.mapper.DeptAddressMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author 吴凯程
 * @Date 2025/5/26
 **/
@Service
public class DeptAddressService {

    @Resource
    private DeptAddressMapper deptAddressMapper;

    public DeptAddress selectDeptAddressById() {
        return deptAddressMapper.selectById(SecurityUtils.getDeptId());
    }


}
