严智鑫
2025-05-27 80f64d025e25cdba8a33a1badf2109c80d0bafe7
ºÓ±±ÍûÃÀÏîÄ¿/MES_11/src/main/java/com/northglass/repository/RawFileDao.java
@@ -27,6 +27,9 @@
    @Query("select t from RawFile t where t.state = '已领取' and t.operator=?1")
    public RawFile findIdGroup(Long operator);
    
    @Query("select t from RawFile t where t.state = '正在切割' and t.operator=?1")
    public RawFile findIdGroup1(Long operator);
  //找到对应产线的状态为已领取的对象
    @Query("select t from RawFile t where (t.state = '已下发' or t.state = '中断') and (t.operator=?1 or t.operator=0)")
    public List<RawFile> findTasks(Long operator);