From 238f85483ac4956e06bc54534867987717dc0676 Mon Sep 17 00:00:00 2001 From: gaofei <181547018@qq.com> Date: Fri, 31 Mar 2023 22:33:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/BLL/API/APIUpLoadFileService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/SGGL/BLL/API/APIUpLoadFileService.cs b/SGGL/BLL/API/APIUpLoadFileService.cs index bf1e5691..2a7abe24 100644 --- a/SGGL/BLL/API/APIUpLoadFileService.cs +++ b/SGGL/BLL/API/APIUpLoadFileService.cs @@ -111,6 +111,7 @@ namespace BLL { using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) { + CommonService.DeleteAttachFileById(toDoItem.DataId); ////保存附件 if (!string.IsNullOrEmpty(toDoItem.UrlStr)) {