package cn.lihongjie.coal.meterMonthLog.repository;

import cn.lihongjie.coal.base.dao.BaseRepository;
import cn.lihongjie.coal.meter.entity.MeterEntity;
import cn.lihongjie.coal.meterMonthLog.entity.MeterMonthLogEntity;

import org.springframework.stereotype.Repository;

@Repository
public interface MeterMonthLogRepository extends BaseRepository<MeterMonthLogEntity> {
    long deleteByMeterAndTimeGreaterThanEqual(MeterEntity meter, java.time.LocalDate time);
    long deleteByMeter(MeterEntity meter);
}
