Skip to content

Commit 84b09bd

Browse files
committed
node info dao
1 parent 7045f07 commit 84b09bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

redis-manager-dashboard/src/main/java/com/newegg/ec/redis/dao/INodeInfoDao.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public interface INodeInfoDao {
3636
"<foreach item='node' collection='nodeInfoParam.nodeList' open='(' separator=',' close=')'>" +
3737
"#{node}" +
3838
"</foreach>" +
39+
" AND last_time IN (1, 0)" +
3940
"</script>")
4041
List<NodeInfo> selectNodeInfoList(@Param("nodeInfoParam") NodeInfoParam nodeInfoParam);
4142

@@ -50,7 +51,7 @@ public interface INodeInfoDao {
5051
"<foreach item='node' collection='nodeInfoParam.nodeList' open='(' separator=',' close=')'>" +
5152
"#{node}" +
5253
"</foreach>" +
53-
"AND last_time IN (1, 0)" +
54+
" AND last_time IN (1, 0)" +
5455
"</script>")
5556
List<NodeInfo> selectNodeInfoListWithInfoItem(@Param("nodeInfoParam") NodeInfoParam nodeInfoParam);
5657

0 commit comments

Comments
 (0)