07 2021 档案

摘要:-- 提取首字母函数定义DELIMITER $$ CREATE FUNCTION `INITIALS`(P_NAME VARCHAR(255)) RETURNS varchar(255) CHARSET utf8 DETERMINISTIC BEGIN DECLARE V_RETURN VARCHA 阅读全文

posted @ 2021-07-22 23:01 Jun-Wang 阅读(256) 评论(0) 推荐(0)

摘要:mybatis查询json数据映射Java List<Object> list 数据库存入 json数据类型 : ["aaaaa","bbbbb","ccccc","dddddd"] 配置 Handler import com.alibaba.fastjson.JSON; import com.ba 阅读全文

posted @ 2021-07-20 15:26 Jun-Wang 阅读(2577) 评论(0) 推荐(0)

摘要:将毫秒转换成时间类型: =TEXT((INT(A1/1000)+8*3600)/86400+70*365+19,"yyyy-MM-dd hh:mm:ss") 后续更新 阅读全文

posted @ 2021-07-20 10:48 Jun-Wang 阅读(48) 评论(0) 推荐(0)

摘要:首先 要用浏览器分析网页代码 得到想要的信息 引入依赖 <dependency> <groupId>org.jsoup</groupId> <artifactId>jsoup</artifactId> <version>1.10.2</version> </dependency> Document 阅读全文

posted @ 2021-07-19 10:27 Jun-Wang 阅读(145) 评论(0) 推荐(0)

摘要:下载: 官网链接:Git (git-scm.com) 淘宝镜像下载:git-for-windows Mirror (taobao.org) 傻瓜式安装: Windows 下一路next 完成 配置用户(必须配置) git config --global user.name "用户名" git con 阅读全文

posted @ 2021-07-17 13:29 Jun-Wang 阅读(26) 评论(0) 推荐(0)

摘要:list.stream.filter(s->s.getName().equals(name)).findAny().isPresent(); 存在返回 true 否则 返回 false 阅读全文

posted @ 2021-07-16 11:54 Jun-Wang 阅读(3747) 评论(0) 推荐(0)

摘要:Java List.contains()方法使用 int id = 1; categoryIds.contains(id()) 阅读全文

posted @ 2021-07-16 11:21 Jun-Wang 阅读(816) 评论(0) 推荐(0)

摘要:1.批量新增 <insert id="insertBatch" parameterType="java.util.List"> insert into th_shopping_Cart (itemCode, userId, number) values <foreach collection="li 阅读全文

posted @ 2021-07-16 10:24 Jun-Wang 阅读(51) 评论(0) 推荐(0)

摘要:LiveRoomResponse 是一个对象 都懂的 // 需要组合排序list List<LiveRoomResponse> collect = list(XXXX); // 状态正序Comparator<LiveRoomResponse> byLiveStatus = Comparator.co 阅读全文

posted @ 2021-07-12 18:02 Jun-Wang 阅读(37) 评论(0) 推荐(0)

摘要:注解 @interface 标识 解释: 阅读全文

posted @ 2021-07-12 11:54 Jun-Wang 阅读(29) 评论(0) 推荐(0)

摘要:mysql函数substring_index的用法 substring_index('字段属性','判断的字符',数字) 字段属性 : 这个好理解 例如 userName 判断的字符: 例如 userName = '张三,李四,王五' 我们更具 逗号(,) 截取 就这样写 substring_ind 阅读全文

posted @ 2021-07-12 11:46 Jun-Wang 阅读(632) 评论(0) 推荐(0)

导航