From 0ddfefd21654c1a2199277bdd0fb6e1af92e3035 Mon Sep 17 00:00:00 2001 From: duhe <226547893@qq.com> Date: 星期五, 14 二月 2025 09:15:50 +0800 Subject: [PATCH] 角色:新增前查询 确保角色名未重复新增 --- WebAPI/Controllers/XSGL/Kf_SellOutBillController.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/WebAPI/Controllers/XSGL/Kf_SellOutBillController.cs b/WebAPI/Controllers/XSGL/Kf_SellOutBillController.cs index 5c0eccf..affcc46 100644 --- a/WebAPI/Controllers/XSGL/Kf_SellOutBillController.cs +++ b/WebAPI/Controllers/XSGL/Kf_SellOutBillController.cs @@ -1971,7 +1971,7 @@ } string sql = "select * from h_v_Kf_SellOutBillQuerySub where hmainid = " + hmainid; - ds = oCN.RunProcReturn(sql + " order by hsubid desc", "h_v_Kf_SellOutBillQuerySub"); + ds = oCN.RunProcReturn(sql + " order by hsubid ASC", "h_v_Kf_SellOutBillQuerySub"); foreach (DataColumn col in ds.Tables[0].Columns) -- Gitblit v1.9.1