廖井涛
2025-05-26 3a975df5b368bc68ee7a81d34920b209f2ff607b
ºÓ±±ÍûÃÀÏîÄ¿/MES_11/src/main/java/com/northglass/repository/PatternTaskDao.java
@@ -30,8 +30,11 @@
   @Query("select t from PatternTask t where t.workState='已完成' and  t.groups=?1")
    public List<PatternTask> findbygroups(Long groups);
   
   @Query("select t from PatternTask t where t.workState='已完成' and  t.groups=?1 and t.rawFile.id=?2")
    public List<PatternTask> findbygroups2(Long groups,Long id);
   
   @Query("select t from PatternTask t where  t.groups=?1")
   @Query("select t from PatternTask t where  t.groups=?1 order by t.id")
    public List<PatternTask> findIdGroup(Long groups);
   
   @Query("select t from PatternTask t where  t.groups=?1 group by t.rawWidth,t.rawHeight,t.rawThickness,t.color")