Browse Source

update countQueuePaging and queryQueuePaging

pull/1/MERGE
ligang 6 years ago
parent
commit
8394c9bfe5
  1. 4
      escheduler-dao/src/main/java/cn/escheduler/dao/mapper/QueueMapperProvider.java

4
escheduler-dao/src/main/java/cn/escheduler/dao/mapper/QueueMapperProvider.java

@ -127,7 +127,7 @@ public class QueueMapperProvider {
FROM(TABLE_NAME);
Object searchVal = parameter.get("searchVal");
if(searchVal != null && StringUtils.isNotEmpty(searchVal.toString())){
WHERE( " queue like concat('%', #{searchVal}, '%') ");
WHERE( " queue_name like concat('%', #{searchVal}, '%') ");
}
}}.toString();
}
@ -144,7 +144,7 @@ public class QueueMapperProvider {
FROM(TABLE_NAME);
Object searchVal = parameter.get("searchVal");
if(searchVal != null && StringUtils.isNotEmpty(searchVal.toString())){
WHERE( " queue like concat('%', #{searchVal}, '%') ");
WHERE( " queue_name like concat('%', #{searchVal}, '%') ");
}
ORDER_BY(" update_time desc limit #{offset},#{pageSize} ");
}

Loading…
Cancel
Save