| | |
| | | { |
| | | //鏌ヨ涓昏〃 |
| | | DataSet Ds ; |
| | | Ds = oCn.RunProcReturn("Select * from Sc_StationOutBillMain Where HInterID=" + lngBillKey.ToString(), "Sc_StationOutBillMain"); |
| | | Ds = oCn.RunProcReturn("Select * from Sc_StationOutBillMain with(nolock) Where HInterID=" + lngBillKey.ToString(), "Sc_StationOutBillMain"); |
| | | if(Ds.Tables[0].Rows.Count==0) |
| | | { |
| | | sReturn = "鍗曟嵁鏈壘鍒帮紒"; |
| | |
| | | // |
| | | //寰幆 |
| | | DataSet DsSub ; |
| | | DsSub = oCn.RunProcReturn("Select * from Sc_StationOutBillSub Where HInterID=" + lngBillKey.ToString(), "Sc_StationOutBillSub"); |
| | | DsSub = oCn.RunProcReturn("Select * from Sc_StationOutBillSub with(nolock) Where HInterID=" + lngBillKey.ToString(), "Sc_StationOutBillSub"); |
| | | DetailColl.Clear();//娓呯┖ |
| | | for (int i = 0; i < DsSub.Tables[0].Rows.Count; i++) |
| | | { |