20230307 质量在线文档编辑修改

This commit is contained in:
2023-03-07 11:24:59 +08:00
parent f42d330b00
commit 1bbab53e2f
22 changed files with 532 additions and 104 deletions
@@ -3,6 +3,7 @@ using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
@@ -240,6 +241,11 @@ namespace FineUIPro.Web.CQMS.Plan
}
string id = Grid1.SelectedRowID;
var ins = BLL.CQMS_MainPlanService.GetMainPlanByMainPlanId(id);
if (File.Exists(Funs.RootPath+ins.FilePath))
{
File.Delete(Funs.RootPath + ins.FilePath);
}
////删除附件表
BLL.CommonService.DeleteAttachFileById(id);
BLL.CQMS_MaterialTestService.DeleteMaterialTestById(id);