摘要: 方法一: setting——encode—— 方法二: 修改Tomcat配置,增加:-Dfile.encoding=UTF-8 方法三: Help——Etit Custom VM Options… 添加一行:-Dfile.encoding=UTF-8 方法四: 修改idea配置文件:bin——ide 阅读全文
posted @ 2022-04-25 22:52 ICE-CREAMMM 阅读(843) 评论(0) 推荐(0) 编辑
摘要: StringUtils.isEmpty("yyy") = false StringUtils.isEmpty("") = true StringUtils.isEmpty(" ") = false StringUtils.isBlank("yyy") = false StringUtils.isBl 阅读全文
posted @ 2022-04-24 17:28 ICE-CREAMMM 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 方法一: Date.compareTo() //时间一(把deviceInfo.getValue1()值(String)转成时间) Date newStart = DateUtils.parseDate(deviceInfo.getValue1(), "yyyy-MM-dd"); //时间二(从数据 阅读全文
posted @ 2022-04-18 16:45 ICE-CREAMMM 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 小程序是腾讯的,腾讯的是gcj02。所以用gcj02。 截取两篇微信开放社区的gcj02的bug.(以后遇到再说) wx.getLocation属性type: "gcj02"获取经纬度为0 https://developers.weixin.qq.com/community/develop/doc/ 阅读全文
posted @ 2022-04-15 10:57 ICE-CREAMMM 阅读(853) 评论(0) 推荐(0) 编辑
摘要: 报错内容: 进入数据库 C:\Users\windows>mysql -u root -p 注意假设进不去,需要在环境变量中path中添加mysql的bin目录 查看用户信息 select host,user,plugin,authentication_string from mysql.user; 阅读全文
posted @ 2022-04-12 21:03 ICE-CREAMMM 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 取值引用 #{} 自动给其添加引号 <select id="findByName" parameterType="String" resultMap="studentResultMap"> SELECT * FROM user WHERE username=#{value} </select> SE 阅读全文
posted @ 2022-04-12 10:25 ICE-CREAMMM 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 右键——复制 属性——打开快速编辑 右键——菜单选项 属性——关闭快速编辑。想要复制内容,需要点标记 具体操作 阅读全文
posted @ 2022-04-12 09:49 ICE-CREAMMM 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 把adduser这样的数据类型(集合),需要先转成adduser2这样的(数组)。 data: { adduser: [{ 'name': '1' }, { 'name': '2' }, { 'name': '3' }], adduser2:[123,456,789,444,544], adduse 阅读全文
posted @ 2022-04-11 16:14 ICE-CREAMMM 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 侧边栏用scroll-view, <scroll-view class="sidebar-white" scroll-y="true" scroll-x="false" style="overflow-x: hidden"> <view class="xxx" wx:for="{{???}}" wx 阅读全文
posted @ 2022-04-11 13:24 ICE-CREAMMM 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 官网地址(下载) https://www.sonarqube.org/downloads/ 运行 第一次安装了sonarqube-9.3.0.51899,启动不了。 logs:(err:需要安装jdk) --> Wrapper Started as Console Launching a JVM.. 阅读全文
posted @ 2022-04-01 12:44 ICE-CREAMMM 阅读(539) 评论(0) 推荐(0) 编辑