From b96af6124ac752f85a6bbf17eee2287e059d249d Mon Sep 17 00:00:00 2001 From: wtt <1985833171@qq.com> Date: 星期六, 12 十月 2024 15:24:54 +0800 Subject: [PATCH] 1 --- DAL/车间管理/ClsSc_ProcessExchangeBill.cs | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git "a/DAL/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_ProcessExchangeBill.cs" "b/DAL/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_ProcessExchangeBill.cs" index 0bc28d5..55f7e03 100644 --- "a/DAL/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_ProcessExchangeBill.cs" +++ "b/DAL/\350\275\246\351\227\264\347\256\241\347\220\206/ClsSc_ProcessExchangeBill.cs" @@ -346,7 +346,22 @@ { omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo); } - + + //妫�鏌ヤ富琛ㄥ唴鐮佹槸鍚﹂噸澶嶏紝鑻ラ噸澶嶅垯閲嶆柊鐢熸垚骞剁户缁鏌ワ紝鐩村埌涓嶅啀閲嶅 + DataSet ds_repeat; + while (true) + { + ds_repeat = oCn.RunProcReturn("select * from Sc_ProcessExchangeBillMain where HInterID = " + omodel.HInterID, "Sc_ProcessExchangeBillMain"); + if (ds_repeat != null && ds_repeat.Tables[0].Rows.Count > 0) + { + omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo); + } + else + { + break; + } + } + //鑻AINDI閲嶅鍒欓噸鏂拌幏鍙� //淇濆瓨鍓嶆帶鍒�========================================= -- Gitblit v1.9.1