From ec5c31cfa93b3c195e4d2721ea689da6ac1e4f2e Mon Sep 17 00:00:00 2001 From: yangle <admin@YINMOU> Date: 星期三, 09 十月 2024 15:45:12 +0800 Subject: [PATCH] 1 --- DAL/计划管理/ClsGy_RoutingBill.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git "a/DAL/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_RoutingBill.cs" "b/DAL/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_RoutingBill.cs" index 79a54e7..b8b1134 100644 --- "a/DAL/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_RoutingBill.cs" +++ "b/DAL/\350\256\241\345\210\222\347\256\241\347\220\206/ClsGy_RoutingBill.cs" @@ -280,7 +280,7 @@ { //鏌ヨ涓昏〃 DataSet Ds ; - Ds = oCn.RunProcReturn("Select * from Gy_RoutingBillMain Where HInterID=" + lngBillKey.ToString()+" and HPRDORGID='"+DBUtility.ClsPub.HOrgID.ToString()+"'", "Gy_RoutingBillMain"); + Ds = oCn.RunProcReturn("Select * from Gy_RoutingBillMain Where HInterID=" + lngBillKey.ToString(), "Gy_RoutingBillMain"); if(Ds.Tables[0].Rows.Count==0) { sReturn = "鍗曟嵁鏈壘鍒帮紒"; @@ -288,6 +288,8 @@ } //璧嬪�� omodel.HInterID =DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HInterID"].ToString()); + omodel.HBillStatus = DBUtility.ClsPub.isInt(Ds.Tables[0].Rows[0]["HBillStatus"].ToString()); + omodel.HBillNo = Ds.Tables[0].Rows[0]["HBillNo"].ToString().Trim(); omodel.HName = Ds.Tables[0].Rows[0]["HName"].ToString().Trim(); omodel.HDate = Convert.ToDateTime(Ds.Tables[0].Rows[0]["HDate"].ToString().Trim()); -- Gitblit v1.9.1