From 8f28ca63dde584e5fefe51a07e69fd9b1af76fd2 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期一, 09 六月 2025 12:28:27 +0800 Subject: [PATCH] 1.生产补料/超领优化 2.委外补料/超领优化 3.巡检检验新增工单查询选择 4.巡检优化新增时间段字段 --- util/BillNo.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/util/BillNo.cs b/util/BillNo.cs index 3065ded..aa7c5ef 100644 --- a/util/BillNo.cs +++ b/util/BillNo.cs @@ -6,15 +6,16 @@ public static class BillNo { /// <summary> - /// TL(閲囪喘閫�鏂欏崟),DH(鍒拌揣鍗�),JY(妫�楠屽崟),IN(鍏ュ簱鍗�) + /// TL(閲囪喘閫�鏂欏崟),DH(鍒拌揣鍗�),JY(妫�楠屽崟),IN(鍏ュ簱鍗�),TMBH(鏉$爜缂栧彿) /// </summary> /// <param name="billType"></param> /// <returns></returns> - public static string GetBillNo(string billType) + public static string GetBillNo(string billType, string itemNo = "") { var sbSql = new StringBuilder(); sbSql.Append(" DECLARE @hNo nvarchar(50) "); - sbSql.Append(" EXEC [getOrderNo] '" + billType + "',@hNo output"); + sbSql.Append(" EXEC [getOrderNo] '" + billType + "',@hNo output,'" + + itemNo + "'"); sbSql.Append(" select @hNo as t1"); var str = ""; try -- Gitblit v1.9.3