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)) {