@Query(value="select o from ArchiveMaster o where (o.archiveState = '初审' or o.archiveState = '已归档') and o.sendTime is null ")
@Query(value="select o from ArchiveMaster o where (o.archiveState = '初审' or o.archiveState = '已归档') and o.sendTime is null and o.inpNo not like '%LG%'")
@Query(value="update ArchiveMaster o set o.sendTime = ?1 where (o.archiveState = '初审' or o.archiveState = '已归档') and o.id = ?2 and o.isValid = 0 ")
@Query(value="update ArchiveMaster o set o.sendTime = ?1 where (o.archiveState = '初审' or o.archiveState = '已归档') and o.id = ?2 and o.isValid = 0 and o.inpNo not like '%LG%' ")
@ -32,6 +32,6 @@ public interface ArchiveMasterRepository extends JpaRepository<ArchiveMaster, St
@Query(value="update ArchiveMaster o set o.sendTime = null where o.archiveState = '复审退回' and o.id = ?1 and o.isValid = 0 ")
@Query(value="update ArchiveMaster o set o.sendTime = null where o.archiveState = '复审退回' and o.id = ?1 and o.isValid = 0 ")
publicIntegerupdateSendTimeBySendBack(Stringid);
publicIntegerupdateSendTimeBySendBack(Stringid);
@Query(value="select o from ArchiveMaster o where (o.archiveState = '复审退回' or o.archiveState = '主任退回' ) and o.sendTime is not null ")
@Query(value="select o from ArchiveMaster o where (o.archiveState = '复审退回' or o.archiveState = '主任退回' ) and o.sendTime is not null and o.inpNo not like '%LG%'")