/*
 * Author: wangjian
 * 生成ServiceImpl
 */
package com.tofly.xrtygis.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tofly.xrtygis.entity.TfIndexAllocation;
import com.tofly.xrtygis.service.TfIndexAllocationService;
import org.springframework.stereotype.Service;
import com.tofly.xrtygis.mapper.TfIndexAllocationMapper;

/**
 * 指标配置
 *
 * @author admin
 * @date Fri Mar 11 00:00:00 CST 2022
 */
@Service("tfIndexAllocationService")
public class TfIndexAllocationServiceImpl extends ServiceImpl<TfIndexAllocationMapper, TfIndexAllocation> implements TfIndexAllocationService {
    @Override
    public String getReportLevel(Long reportId) {
        return this.baseMapper.getReportLevel(reportId);
    }

    @Override
    public void updateUnitById(String unit, Long id) {

        this.baseMapper.updateUnitById(id,unit);
    }
}
