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

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gyee.runeconomy.mapper.auto.ProEconCurveFittMonthSubMapper;
import com.gyee.runeconomy.model.auto.ProEconCurveFittMonthSub;
import com.gyee.runeconomy.service.auto.IProEconCurveFittMonthSubService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 风电机月拟合曲线子表 服务实现类
 * </p>
 *
 * @author shilin
 * @since 2022-10-21
 */
@Service
public class ProEconCurveFittMonthSubServiceImpl extends ServiceImpl<ProEconCurveFittMonthSubMapper, ProEconCurveFittMonthSub> implements IProEconCurveFittMonthSubService {

    @Resource
    private ProEconCurveFittMonthSubMapper proEconCurveFittMonthSubMapper;

    @Override
    public int deleteProEconCurveFittMonthSubByMonth(String year, String month) {

        return proEconCurveFittMonthSubMapper.deleteProEconCurveFittMonthSubByMonth(year, month);
    }
}
