20230307 质量在线文档编辑修改
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user