20230307 质量在线文档编辑修改
This commit is contained in:
@@ -5,6 +5,7 @@ using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
|
||||
namespace FineUIPro.Web.CQMS.Plan
|
||||
{
|
||||
@@ -291,6 +292,11 @@ namespace FineUIPro.Web.CQMS.Plan
|
||||
if (CommonService.GetAllButtonPowerList(CurrUser.LoginProjectId, CurrUser.PersonId, Const.SubPlanMenuId, Const.BtnDelete))
|
||||
{
|
||||
var subPlan = CQMS_SubPlanService.GetSubPlanBySubPlanId(id);
|
||||
if (File.Exists(Funs.RootPath + subPlan.FilePath))
|
||||
{
|
||||
File.Delete(Funs.RootPath + subPlan.FilePath);
|
||||
|
||||
}
|
||||
CQMS_SubPlanApproveService.DeleteSubPlanApprovesBySubPlanId(id);
|
||||
CQMS_SubPlanService.DeleteSubPlan(id);
|
||||
LogService.AddSys_Log(CurrUser, subPlan.Code, id, Const.SubPlanMenuId, "删除分包施工质量计划");
|
||||
|
||||
Reference in New Issue
Block a user