廖井涛
2025-06-11 42154214c5698326710edf336b3148830b646bb2
ºÓ±±ÍûÃÀÏîÄ¿/MES_11/src/main/java/com/northglass/repository/GalssTaskDao.java
@@ -49,8 +49,8 @@
   @Query("select t from GalssTask t where t.workProcedure='复合' and t.workState='复合失败' and t.patternTask.groups=?1")
    public List<GalssTask> findIncompound(Long groups);
   
   @Query("select t from GalssTask t where t.typeId=?1 and t.patternTask.groups=?2")
    public List<GalssTask> findbyTypeId(Long id,Long groups);
   @Query("select t from GalssTask t where t.typeId=?1 and t.processcardId=?2 and t.patternTask.groups=?3")
    public List<GalssTask> findbyTypeId(Long id,String processcardId,Long groups);
   
   @Query("select t from GalssTask t where t.patternTask.id=?1")
    public List<GalssTask> findpattern(Long id);
@@ -61,10 +61,10 @@
   @Query("select t from GalssTask t where t.typeId=?1 ")
    public List<GalssTask> findbyTypeId1(Long id);
   
   @Query("select t.dropFrame from GalssTask t where t.patternTask.groups=?1 group by dropFrame ")
   @Query("select t.dropFrame from GalssTask t where t.patternTask.groups=?1 and t.patternTask.rawFile.state='已领取' group by dropFrame ")
    public List<GalssTask> findDroplist(Long groups);
   
   @Query("select t from GalssTask t where t.dropFrame=?1 and t.patternTask.groups=?2")
   @Query("select t from GalssTask t where t.dropFrame=?1 and t.patternTask.rawFile.state='已领取' and t.patternTask.groups=?2")
    public List<GalssTask> findDropframeList(String dropframe,Long groups);
   
   @Query("select t from GalssTask t where t.slicecageRank=?1 and t.patternTask.groups=?2")
@@ -74,7 +74,7 @@
    public List<GalssTask> findslicecagerank2(Long slicecageid,Long groups);
   
   
   @Query("select count(t) from GalssTask t where t.dropFrame=?1 and t.patternTask.groups=?2")
   @Query("select count(t) from GalssTask t where t.dropFrame=?1 and t.patternTask.rawFile.state='已领取' and t.patternTask.groups=?2")
    public int finddropframecount(String dropframe,Long groups);