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

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gyee.alarm.mapper.auto.ProEconCurveFittingSubMapper;
import com.gyee.alarm.model.auto.ProEconCurveFittingSub;
import com.gyee.alarm.service.auto.IProEconCurveFittingSubService;
import org.springframework.stereotype.Service;

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

/**
 * <p>
 * 风电机拟合曲线子表 服务实现类
 * </p>
 *
 * @author shilin
 * @since 2022-10-21
 */
@Service
public class ProEconCurveFittingSubServiceImpl extends ServiceImpl<ProEconCurveFittingSubMapper, ProEconCurveFittingSub> implements IProEconCurveFittingSubService {


    @Resource
    private ProEconCurveFittingSubMapper proEconCurveFittingSubMapper;

    @Override
    public int deleteProEconCurveFittingSubFByDay(Date recodedate) {
        return  proEconCurveFittingSubMapper.deleteProEconCurveFittingSubFByDay(recodedate);
    }

    @Override
    public int deleteProEconCurveFittingSubGByDay(Date recodedate) {
        return  proEconCurveFittingSubMapper.deleteProEconCurveFittingSubGByDay(recodedate);
    }
}
