This commit is contained in:
2024-02-04 11:13:06 +08:00
101 changed files with 10502 additions and 1387 deletions
@@ -83,10 +83,9 @@ namespace BLL
Model.DriverRun_DriverRunPlan newDriverRunPlan = Funs.DB.DriverRun_DriverRunPlan.FirstOrDefault(e => e.DriverRunPlanId == driverRunPlanId);
if (newDriverRunPlan != null)
{
if (!string.IsNullOrEmpty(newDriverRunPlan.AttachUrl))
{
UploadAttachmentService.DeleteFile(Funs.RootPath, newDriverRunPlan.AttachUrl);
}
////删除附件表
BLL.CommonService.DeleteAttachFileById(newDriverRunPlan.DriverRunPlanId);
BLL.CommonService.DeleteAttachFileById(newDriverRunPlan.DriverRunPlanId + "K");
Funs.DB.DriverRun_DriverRunPlan.DeleteOnSubmit(newDriverRunPlan);
Funs.DB.SubmitChanges();
}