| | |
| | | |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from h_v_Gy_CurrencyList where 禁用标记=''" + sWhere, "h_v_Gy_CurrencyList"); |
| | | ds = oCN.RunProcReturn("select * from h_v_Gy_CurrencyList where 禁用标记=''" + sWhere+ " order by 货币代码", "h_v_Gy_CurrencyList"); |
| | | } |
| | | else |
| | | { |
| | | string sql1 = "select * from h_v_Gy_CurrencyList where 禁用标记='' "; |
| | | string sql = sql1 + sWhere; |
| | | string sql = sql1 + sWhere+ " order by 货币代码"; |
| | | ds = oCN.RunProcReturn(sql, "h_v_Gy_CurrencyList"); |
| | | } |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |