diff --git a/SGGL/FineUIPro.Web/HJGL/BaseInfo/MaterialColorIn.aspx.cs b/SGGL/FineUIPro.Web/HJGL/BaseInfo/MaterialColorIn.aspx.cs index 4b463c73..6107216c 100644 --- a/SGGL/FineUIPro.Web/HJGL/BaseInfo/MaterialColorIn.aspx.cs +++ b/SGGL/FineUIPro.Web/HJGL/BaseInfo/MaterialColorIn.aspx.cs @@ -64,7 +64,7 @@ namespace FineUIPro.Web.HJGL.BaseInfo var fileName = rootPath + initPath + hdFileName.Text; ResponeData responeData; - responeData = TwInOutplanmasterService.ImportData(fuAttachUrl.FileName, fileName, this.CurrUser.LoginProjectId, this.CurrUser.PersonId); + responeData = BaseMaterialcolorService.ImportData( fileName, this.CurrUser.LoginProjectId); if (responeData.code == 1) @@ -121,8 +121,8 @@ namespace FineUIPro.Web.HJGL.BaseInfo if (e.EventArgument == "Confirm_OK") { var rootPath = Server.MapPath("~/"); - var uploadfilepath = rootPath + Const.Tw_InPlanMasteTemplateUrl; - var filePath = Const.Tw_InPlanMasteTemplateUrl; + var uploadfilepath = rootPath + Const.HJGL_MaterialColorDataImportPath; + var filePath = Const.HJGL_MaterialColorDataImportPath; var fileName = Path.GetFileName(filePath); var info = new FileInfo(uploadfilepath); var fileSize = info.Length;