Merge remote-tracking branch 'origin/master'

pull/50/head
shao1121353141 2023-09-16 23:32:06 +08:00
commit 1d7cca0026
1 changed files with 13 additions and 0 deletions

View File

@ -66,6 +66,19 @@ public interface AppGroupAssociationRepository extends
+ " WHERE app_id = :appId", nativeQuery = true)
void deleteAllByAppId(@Param(value = "appId") Long appId);
/**
* ID
*
* @param groupId {@link Long}
* @return {@link Boolean}
*/
@Modifying
@Transactional(rollbackFor = Exception.class)
@Query(value = "UPDATE app_group_association SET " + SOFT_DELETE_SET
+ " WHERE group_id = :groupId", nativeQuery = true)
void deleteAllByGroupId(@Param(value = "groupId") Long groupId);
/**
* ID
*