package cn.iocoder.yudao.module.system.service.biz;

import cn.iocoder.yudao.framework.common.util.object.BeanUtils;
import cn.iocoder.yudao.framework.tenant.core.aop.TenantIgnore;
import cn.iocoder.yudao.module.system.api.bpm.vo.PriceChangeRecordReqVO;
import cn.iocoder.yudao.module.system.controller.admin.biz.vo.PriceChangeDetailRespVO;
import cn.iocoder.yudao.module.system.dal.dataobject.biz.ElderlyChangeRecordDO;
import cn.iocoder.yudao.module.system.dal.dataobject.biz.ElderlyInfoDO;
import cn.iocoder.yudao.module.system.dal.mysql.biz.ElderlyChangeRecordMapper;
import cn.iocoder.yudao.module.system.dal.mysql.biz.ElderlyInfoMapper;
import cn.iocoder.yudao.module.system.dal.mysql.biz.PriceChangeRecordMapper;
import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated;

import javax.annotation.Resource;
import java.util.List;

import static cn.iocoder.yudao.framework.common.exception.util.ServiceExceptionUtil.exception;
import static cn.iocoder.yudao.module.system.enums.ErrorCodeConstants.PRICE_CHANGE_RECORD_NOT_EXISTS;

/**
 * @Author: jinyd
 * @CreateTime: 2024/8/29  10:10
 * @Description:
 * @Version: 4.0
 */

@Service
@Validated
public class ChangeRecordServiceImpl implements ChangeRecordService{

    @Resource
    private ElderlyChangeRecordMapper changeRecordMapper;

    @Override
    @TenantIgnore
    public ElderlyChangeRecordDO selectById(Long id) {
        return changeRecordMapper.selectById(id);
    }
}
