上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 31 下一页
摘要: 查找是否包含字串 查询是否包含 #{name} 片段 这里有包含所以返回true String context = "select * from t_user where (name = #{name} or username = #{name}) and age > #{age}"; String 阅读全文
posted @ 2019-06-12 18:48 荣超 阅读(309) 评论(0) 推荐(0)
摘要: 安装erlang 10.4 和 rabbitmq 3.7.5 然后关闭rabbitmq服务 然后设置 erlang和rabbitmq的环境变量 ERLANG_HOME=erlang安装目录 RABBITMQ_SERVER=rabbitmq的安装目录 path 最后面添加%ERLANG_HOME%\b 阅读全文
posted @ 2019-06-11 15:59 荣超 阅读(188) 评论(0) 推荐(0)
摘要: 首先需要引入pom 这里使用nacos注册中心 所以引入了nacos-client 使用zookeeper注册中心的话需要引入其相应的client <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring- 阅读全文
posted @ 2019-05-25 10:13 荣超 阅读(824) 评论(0) 推荐(0)
摘要: 使用idea新建springboot项目beetl-spring-boot-starter 首先添加pom依赖 packaging要设置为jar不能设置为pom<packaging>jar</packaging> <dependency> <groupId>org.springframework.b 阅读全文
posted @ 2019-05-24 12:13 荣超 阅读(834) 评论(0) 推荐(0)
摘要: 解决方法 在info.plist 添加LSApplicationQueriesSchemes 类型是Array weixin wechat 阅读全文
posted @ 2019-05-11 09:36 荣超 阅读(691) 评论(0) 推荐(0)
摘要: 实际项目跑起来无影响,但是看起来不太爽。 可以在dao类添加org.springframework.stereotype.Repository 注解 或者可以在service类中使用 javax.annotation.Resource(替换org.springframework.beans.fact 阅读全文
posted @ 2019-05-06 14:59 荣超 阅读(4457) 评论(0) 推荐(0)
摘要: 网上说是静态库的问题 阅读全文
posted @ 2019-05-01 15:43 荣超 阅读(1130) 评论(0) 推荐(0)
摘要: /* 判断是否价格 */ let money = "100.98" let parrern = "^\\d+(\\.\\d{0,2})?$" if NSPredicate(format: "SELF MATCHS %@",pattern).evaluate(with:money){ print("是 阅读全文
posted @ 2019-04-25 17:31 荣超 阅读(1225) 评论(0) 推荐(0)
摘要: 在自己的MySQL中添加nacos_config数据库,在nacos\conf 下找到nacos-mysql.sql。拷贝里面的sql语句创建表和数据 INSERT INTO users (username, password, enabled) VALUES ('nacos', '$2a$10$E 阅读全文
posted @ 2019-04-19 09:41 荣超 阅读(2644) 评论(0) 推荐(0)
摘要: uiview 直接设置 view.layer.cornerRadius = 5 uiimageview 还需要在设置view.layer.masksToBounds = true 。uiview设置这句的话会造成不必要的离屏渲染影响性能 图片圆角不推荐使用该方法 推荐使用的切圆角方法 extensi 阅读全文
posted @ 2019-04-18 15:09 荣超 阅读(165) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 31 下一页