|
@@ -59,7 +59,7 @@ public interface MarkLibraryDao extends JpaRepository<MarkLibrary, Integer>, Jpa
|
|
|
LibraryStatus status);
|
|
|
|
|
|
@Modifying(clearAutomatically = true)
|
|
|
- @Query("update MarkLibrary m set m.status=?2, m.tags=null, m.markerId=null, m.markerTime=null, m.markerScore=null, m.markerScoreList=null where m.markerId=?1 and m.headerId==null ")
|
|
|
+ @Query("update MarkLibrary m set m.status=?2, m.tags=null, m.markerId=null, m.markerTime=null, m.markerScore=null, m.markerScoreList=null where m.markerId=?1 and m.headerId=null ")
|
|
|
void resetByMarkerId(Integer markerId, LibraryStatus status);
|
|
|
|
|
|
@Modifying(clearAutomatically = true)
|