|
@ -31,7 +31,7 @@ public interface IotDeviceQualityInspectionPlanDao extends PagingAndSortingRepos
|
|
|
@Query(value = "SELECT a.* from iot_device_quality_inspection_plan a WHERE a.purchase_id = ?1 and a.status=?2 and a.del=1 ORDER BY a.plan_time asc limit 1",nativeQuery = true)
|
|
|
IotDeviceQualityInspectionPlanDO findFirstByPurchaseId(String purchaseId,String status);
|
|
|
|
|
|
@Query("from IotDeviceQualityInspectionPlanDO c where c.del=1")
|
|
|
@Query("from IotDeviceQualityInspectionPlanDO c where c.del=1 and c.orderNo=?1")
|
|
|
List<IotDeviceQualityInspectionPlanDO> findByOrderNo(String orderNo);
|
|
|
|
|
|
@Query("from IotDeviceQualityInspectionPlanDO c where c.del=1")
|