提交代码
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user