摘要: 在下载redis后,如果是window系统电脑,注意下载window zip包,解压压缩包,然后打开命令行管理器,进入你解压的目录 输入命令redis-server.exe redis.windows.conf 然后在打开一个命令行管理器,同样进入刚才的解压目录 输入redis-cli.exe -h 阅读全文
posted @ 2020-03-17 23:03 一花一世界! 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 1、首先加入依赖 <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>1.1.1</version> </depen 阅读全文
posted @ 2020-03-17 15:21 一花一世界! 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 1、@Mapper和@Repository , 这两个都是用于注解dao层。如果使用@Reqository ,则还需要使用@MapperScan("xxx.xxx.xxx.mapper")来配置扫描地址。而如果使用@Mapper,则通过xml中的namespace里面的地址。 2、@Target: 阅读全文
posted @ 2020-03-17 13:54 一花一世界! 阅读(626) 评论(0) 推荐(0) 编辑