package com.bonus.system.service.impl;

import java.util.List;
import com.bonus.system.api.domain.SysAddress;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.bonus.system.mapper.SysAddressMapper;
import com.bonus.system.service.ISysAddressService;

/**
 * 地址管理Service业务层处理
 * 
 * @author xsheng
 * @date 2025-01-06
 */
@Service
public class SysAddressServiceImpl implements ISysAddressService {
    @Autowired
    private SysAddressMapper sysAddressMapper;

    /**
     * 查询地址管理列表
     *
     * @param sysAddress 地址管理
     * @return 地址管理
     */
    @Override
    public List<SysAddress> selectSysAddressList(SysAddress sysAddress) {
        return sysAddressMapper.selectSysAddressList(sysAddress);
    }

    /**
     * 查询地址管理
     * 
     * @param id 地址管理主键
     * @return 地址管理
     */
    @Override
    public SysAddress selectSysAddressById(Long id) {
        return sysAddressMapper.selectSysAddressById(id);
    }

}
