package com.gyee.runeconomy.service.auto.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gyee.runeconomy.mapper.auto.ProEconCurveFittYearMainMapper;
import com.gyee.runeconomy.model.auto.ProEconCurveFittYearMain;
import com.gyee.runeconomy.service.auto.IProEconCurveFittYearMainService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 风电机年拟合曲线主表 服务实现类
 * </p>
 *
 * @author shilin
 * @since 2022-11-07
 */
@Service
public class ProEconCurveFittYearMainServiceImpl extends ServiceImpl<ProEconCurveFittYearMainMapper, ProEconCurveFittYearMain> implements IProEconCurveFittYearMainService {

    @Resource
    private ProEconCurveFittYearMainMapper proEconCurveFittYearMainMapper;

    @Override
    public int deleteProEconCurveFittYearMainByYear(String year) {
        return proEconCurveFittYearMainMapper.deleteProEconCurveFittYearMainByYear(year);
    }
}
