|
|
@ -183,7 +183,7 @@ public class PaginationRequest {
|
|
|
|
* @param sortColumns which is separated by a colon(:) and first will be the columnNane and the second will be type ASC or DESC
|
|
|
|
* @param sortColumns which is separated by a colon(:) and first will be the columnNane and the second will be type ASC or DESC
|
|
|
|
* @return sortColumnList as a list of sortColumn
|
|
|
|
* @return sortColumnList as a list of sortColumn
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public static List<SortColumn> convertToSortColumn(List<String> sortColumns) {
|
|
|
|
public static List<SortColumn> addSortColumn(List<String> sortColumns) {
|
|
|
|
List<SortColumn> sortColumnList = new ArrayList<>();
|
|
|
|
List<SortColumn> sortColumnList = new ArrayList<>();
|
|
|
|
for (String sortBy: sortColumns) {
|
|
|
|
for (String sortBy: sortColumns) {
|
|
|
|
SortColumn sortColumn = new SortColumn();
|
|
|
|
SortColumn sortColumn = new SortColumn();
|
|
|
|