| | |
| | | monthStoreListSort.Add(ctgConfig.RecordID);
|
| | | }
|
| | | } |
| | | |
| | | monthStoreListSort.Sort(SortMonthList); |
| | | weekStoreListSort.Sort(SortWeekList); |
| | | } |
| | | |
| | | |
| | | int SortMonthList(int a, int b)
|
| | | { |
| | | int ida = a > 100000000 ? 0 : 1; |
| | | int idb = b > 100000000 ? 0 : 1; |
| | | if (ida != idb) |
| | | return ida.CompareTo(idb); |
| | | |
| | | return m_MonthRechargeDict[a].money.CompareTo(m_MonthRechargeDict[b].money); |
| | | |
| | | } |
| | | |
| | | int SortWeekList(int a, int b)
|
| | | {
|
| | | int ida = a > 100000000 ? 0 : 1;
|
| | | int idb = b > 100000000 ? 0 : 1;
|
| | | if (ida != idb) |
| | | return ida.CompareTo(idb);
|
| | |
|
| | | return m_WeekRechargeDict[a].money.CompareTo(m_WeekRechargeDict[b].money);
|
| | |
|
| | | } |
| | | |
| | | |