package com.sw.mes.yb.deviceCheck.service;

import com.sw.mes.core.base.BaseService;
import com.sw.mes.core.utils.RequestPage;
import com.sw.mes.yb.deviceCheck.entity.DeviceCheck;
import org.springframework.data.jpa.domain.Specification;

import java.util.List;

public interface DeviceCheckService extends BaseService<DeviceCheck> {

    List<DeviceCheck> findByExample(Specification<DeviceCheck> specification, RequestPage page);

    DeviceCheck findByDeviceNoOrderByCreateTimeDescLimit1(String deviceNo);

}
