|
|
@ -55,7 +55,7 @@ public interface AppGroupAssociationRepository extends
|
|
|
|
void deleteByGroupIdAndAppId(@Param("groupId") Long groupId, @Param("appId") Long appId);
|
|
|
|
void deleteByGroupIdAndAppId(@Param("groupId") Long groupId, @Param("appId") Long appId);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 删除关联
|
|
|
|
* 根据应用ID删除关联
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param appId {@link Long}
|
|
|
|
* @param appId {@link Long}
|
|
|
|
* @return {@link Boolean}
|
|
|
|
* @return {@link Boolean}
|
|
|
@ -66,6 +66,19 @@ public interface AppGroupAssociationRepository extends
|
|
|
|
+ " WHERE app_id = :appId", nativeQuery = true)
|
|
|
|
+ " WHERE app_id = :appId", nativeQuery = true)
|
|
|
|
void deleteAllByAppId(@Param(value = "appId") Long appId);
|
|
|
|
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删除关联信息
|
|
|
|
* 根据应用ID删除关联信息
|
|
|
|
*
|
|
|
|
*
|
|
|
|