| | |
| | | string sql1 = string.Format("select * from h_v_IF_MoveStockRequestBillList_Litee where 1=1 "); |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCn.RunProcReturn(sql1 + " order by 鏃ユ湡 desc", "h_v_IF_MoveStockRequestBillList_Litee"); |
| | | ds = oCn.RunProcReturn(sql1 + " order by hmainid desc", "h_v_IF_MoveStockRequestBillList_Litee"); |
| | | } |
| | | else |
| | | { |
| | | string sql = sql1 + sWhere ; |
| | | string sql = sql1 + sWhere + " order by hmainid desc"; |
| | | ds = oCn.RunProcReturn(sql, "h_v_IF_MoveStockRequestBillList_Litee"); |
| | | } |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |