From 75becef0f11422bc9804c661c3b7ff38357f6aaa Mon Sep 17 00:00:00 2001 From: chenhaozhe <cgz@hz-kingdee.com> Date: 星期五, 15 八月 2025 09:29:38 +0800 Subject: [PATCH] 修复 列宽查询时 若保存的列宽为浮点数 读取时数据为0的 异常 --- WebAPI/Controllers/XSGL/Xs_SeOrderBillController.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WebAPI/Controllers/XSGL/Xs_SeOrderBillController.cs b/WebAPI/Controllers/XSGL/Xs_SeOrderBillController.cs index 144f767..af3a3a0 100644 --- a/WebAPI/Controllers/XSGL/Xs_SeOrderBillController.cs +++ b/WebAPI/Controllers/XSGL/Xs_SeOrderBillController.cs @@ -1451,7 +1451,7 @@ try { - ds = oCN.RunProcReturn("select * from h_v_IF_SeOrderBillList where hmainid =" + HInterID + " order by hsubid asc", "h_v_IF_SeOrderBillList"); + ds = oCN.RunProcReturn("select * from h_v_IF_SeOrderBillEdit where hmainid =" + HInterID + " order by hsubid asc", "h_v_IF_SeOrderBillList"); if (ds == null || ds.Tables[0].Rows.Count == 0) { objJsonResult.code = "0"; @@ -3547,7 +3547,7 @@ } string sql = "select * from h_v_Xs_SeOrderBillQuerySub where hmainid = " + hmainid; - ds = oCN.RunProcReturn(sql + " order by hsubid desc", "h_v_Xs_SeOrderBillQuerySub"); + ds = oCN.RunProcReturn(sql + " order by hsubid ASC", "h_v_Xs_SeOrderBillQuerySub"); foreach (DataColumn col in ds.Tables[0].Columns) -- Gitblit v1.9.1