package cn.reghao.autodop.dmaster.machine.db.repository;

import cn.reghao.autodop.dmaster.machine.model.po.MachineStat;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @author reghao
 * @date 2020-01-21 14:53:03
 */
public interface MachineStatRepository extends MongoRepository<MachineStat, String> {
    MachineStat findByMachineId(String machineId);
    void deleteByMachineId(String machineId);
}
