20220915 修改三维模型导入表格加载
This commit is contained in:
parent
0337f086a7
commit
d3788a310e
|
|
@ -149,7 +149,7 @@ namespace FineUIPro.Web.HJGL.DataImport
|
|||
from ( select * from HJGL_DataImport a where not exists (select 1 from HJGL_DataImport b where a.FileName=b.FileName and a.UnitWorkId=b.UnitWorkId and a.Version<b.Version )) as Import
|
||||
left join Base_DesignProfessional as Design on Design.DesignProfessionalId=Import.DesignProfessionalId
|
||||
left join Person_Persons as Users on Users.PersonId=Import.CreateMan
|
||||
where Import.UnitWorkId=@UnitWorkId and Import.ProjectId=@ProjectId and Import.ImportType='1' and Import.ImportType='2' ";
|
||||
where Import.UnitWorkId=@UnitWorkId and Import.ProjectId=@ProjectId and Import.ImportType in ('1','2') ";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
|
||||
listStr.Add(new SqlParameter("@UnitWorkId", this.tvControlItem.SelectedNodeID));
|
||||
|
|
@ -174,7 +174,7 @@ namespace FineUIPro.Web.HJGL.DataImport
|
|||
from ( select * from HJGL_DataImport a where exists (select 1 from HJGL_DataImport b where a.FileName=b.FileName and a.UnitWorkId=b.UnitWorkId and a.Version<b.Version )) as Import
|
||||
left join Base_DesignProfessional as Design on Design.DesignProfessionalId=Import.DesignProfessionalId
|
||||
left join Person_Persons as Users on Users.PersonId=Import.CreateMan
|
||||
where Import.UnitWorkId=@UnitWorkId and Import.ProjectId=@ProjectId and Import.FileName=@FileName and Import.ImportType='1'";
|
||||
where Import.UnitWorkId=@UnitWorkId and Import.ProjectId=@ProjectId and Import.FileName=@FileName and Import.ImportType in ('1','2')";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
|
||||
listStr.Add(new SqlParameter("@UnitWorkId", this.tvControlItem.SelectedNodeID));
|
||||
|
|
|
|||
Loading…
Reference in New Issue