摘要: 简单了解一下 1.build.gradle中添加 依赖 org.springframework.boot:spring-boot-starter-data-redis //定义依赖:声明项目中需要哪些依赖 dependencies { //当前模块依赖项 //compile 'org.springf 阅读全文
posted @ 2019-05-21 17:54 小芝麻开花 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 1.redis安装(来自 https://www.runoob.com/redis/redis-install.html) window下安装 下载地址:https://github.com/MSOpenTech/redis/releases。 Redis 支持 32 位和 64 位。这个需要根据你 阅读全文
posted @ 2019-05-21 17:27 小芝麻开花 阅读(119) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-05-21 11:19 小芝麻开花 阅读(1) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-05-07 14:50 小芝麻开花 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1.打开命令窗口cmd,输入命令:net stop mysql,停止MySQL服务, 2.开启跳过密码验证登录的MySQL服务 输入命令 mysqld --console --skip-grant-tables --shared-memory 3.再打开一个新的cmd,无密码登录MySQL,输入登录 阅读全文
posted @ 2019-03-30 12:04 小芝麻开花 阅读(19819) 评论(5) 推荐(5) 编辑
摘要: 1. ls 显示目录下的内容 [root@localhost ~]# ls [root@localhost ~]# Is -a -a:显示所有文件; --color=when:支持颜色输出,when 的值默认是 always(总显示颜色),也可以是 never(从不显示颜色)和 auto(自动); 阅读全文
posted @ 2019-03-28 17:02 小芝麻开花 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 1.数组声明格式: 数据类型 [] 数组名 = new 数据类型[长度]; 数组长度一旦确定无法更改。 数组里的数据必须是相同类型或自动向上转型后兼容的类型 2.数组遍历 阅读全文
posted @ 2019-03-20 17:08 小芝麻开花 阅读(166) 评论(0) 推荐(0) 编辑
摘要: //转换成Integer类型public static Integer TryParseToInteger(Object obj, String name) throws ApiSrvException { Integer result = null; if (obj != null&&!obj.e 阅读全文
posted @ 2019-03-20 17:03 小芝麻开花 阅读(207) 评论(0) 推荐(0) 编辑
摘要: public static Map GetGoodTypes() { Map goodTypes=new HashMap(); goodTypes.put(1,"原材料"); goodTypes.put(2,"辅料"); goodTypes.put(3,"产成品"); return goodType 阅读全文
posted @ 2019-03-19 18:23 小芝麻开花 阅读(971) 评论(0) 推荐(0) 编辑
摘要: 1.切换到主分支 2.右击选择merge, 选择被合并的分支 阅读全文
posted @ 2019-03-19 18:22 小芝麻开花 阅读(5981) 评论(0) 推荐(0) 编辑