摘要:        
一、HDEL key field [field ...] 从 key 指定的哈希集中移除指定的域。在哈希集中不存在的域将被忽略。 如果 key 指定的哈希集不存在,它将被认为是一个空的哈希集,该命令将返回0。 二、HEXISTS key field 返回hash里面field是否存在 三、HGET     阅读全文
posted @ 2022-08-20 19:45
shigp1
阅读(377)
评论(0)
推荐(0)
        
            
        
        
摘要:        
一、测试类 public class Main { public static void main(String[] args) { ApplicationContext applicationContext = new ClassPathXmlApplicationContext("classpa    阅读全文
posted @ 2022-08-20 15:17
shigp1
阅读(39)
评论(0)
推荐(0)
        
            
        
        
摘要:        
    阅读全文
posted @ 2022-08-20 14:41
shigp1
阅读(12)
评论(0)
推荐(0)
        
            
        
        
摘要:        
一、BLPOP key [key ...] timeout BLPOP 是阻塞式列表的弹出原语。 它是命令 LPOP 的阻塞版本,这是因为当给定列表内没有任何元素可供弹出的时候, 连接将被 BLPOP 命令阻塞。 当给定多个 key 参数时,按参数 key 的先后顺序依次检查各个列表,弹出第一个非空    阅读全文
posted @ 2022-08-20 11:18
shigp1
阅读(777)
评论(0)
推荐(0)
        
            
        
        
摘要:        
一、配置xml路径 mybatis-plus: mapper-locations: classpath:mapper/*.xml 二、编写Mapper里面的方法 public interface UserMapper extends BaseMapper { List findAll(); List    阅读全文
posted @ 2022-08-20 09:54
shigp1
阅读(3074)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号