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/YS_ReceiveBillController.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/WebAPI/Controllers/XSGL/YS_ReceiveBillController.cs b/WebAPI/Controllers/XSGL/YS_ReceiveBillController.cs index b634a84..ac7e7cc 100644 --- a/WebAPI/Controllers/XSGL/YS_ReceiveBillController.cs +++ b/WebAPI/Controllers/XSGL/YS_ReceiveBillController.cs @@ -1793,7 +1793,7 @@ } string sql = "select * from h_v_YS_ReceiveBillQuerySub where hmainid = " + hmainid; - ds = oCN.RunProcReturn(sql + " order by hsubid desc", "h_v_YS_ReceiveBillQuerySub"); + ds = oCN.RunProcReturn(sql + " order by hsubid ASC", "h_v_YS_ReceiveBillQuerySub"); foreach (DataColumn col in ds.Tables[0].Columns) -- Gitblit v1.9.1