fix(功能用例): 修复删除功能用例发送两条通知问题

This commit is contained in:
guoyuqi 2024-06-20 20:30:17 +08:00 committed by Craftsman
parent 7a4ed691f6
commit 1771a64e42
1 changed files with 0 additions and 1 deletions

View File

@ -129,7 +129,6 @@ public class FunctionalCaseController {
@Operation(summary = "用例管理-功能用例-删除用例")
@RequiresPermissions(PermissionConstants.FUNCTIONAL_CASE_READ_DELETE)
@Log(type = OperationLogType.DELETE, expression = "#msClass.deleteFunctionalCaseLog(#request)", msClass = FunctionalCaseLogService.class)
@SendNotice(taskType = NoticeConstants.TaskType.FUNCTIONAL_CASE_TASK, event = NoticeConstants.Event.DELETE, target = "#targetClass.getDeleteFunctionalCaseDTO(#request.id)", targetClass = FunctionalCaseNoticeService.class)
@CheckOwner(resourceId = "#request.getId()", resourceType = "functional_case")
public void deleteFunctionalCase(@Validated @RequestBody FunctionalCaseDeleteRequest request) {
String userId = SessionUtils.getUserId();