This commit is contained in:
李鹏飞 2025-11-18 15:43:29 +08:00
parent 5183809d42
commit b4fd587f42
1 changed files with 3 additions and 3 deletions

View File

@ -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;