ICode9

精准搜索请尝试: 精确搜索
  • mybatis oracle批量插入保存2022-05-18 09:04:58

    1:XML脚本 <insert id="importExcel"> insert all <foreach collection="list" item="item" index="index" separator=" "> into ${tableName} values (#{item.c1},#

  • 递归查询父级所有下级,查询树形结构2021-12-03 15:30:21

    拿省市区举例,如果您需要查询中国所有省市区,或者您需要查看某个省下面所有的市县,那么本帖可能能帮助到您 数据结构:                 id代表当前节点的id                 pid代表当前节点的父级id                  mybatis的xml中sql实现:  

  • 500. 键盘行2021-10-31 22:00:43

    给你一个字符串数组 words ,只返回可以使用在 美式键盘 同一行的字母打印出来的单词。键盘如下图所示。 美式键盘 中: 第一行由字符 "qwertyuiop" 组成。 第二行由字符 "asdfghjkl" 组成。 第三行由字符 "zxcvbnm" 组成。 示例 1: 输入:words = ["Hello","Alaska","Dad","Peace"] 输

  • 根据 文件夹id 递归查询文件夹下的所有文件2021-10-13 10:00:33

    /** * 根据 文件夹id 递归查询文件夹下的所有文件 * @param folderId * @param searchValue 文件名筛选值 可为空 * @return */ public List<RepositoryFile> getFilesByFolder(String folderId,String searchValue,User user){ //返回

  • Client-go中reflector relist的场景分析2021-08-01 10:00:40

    client-go中什么时候会发生re-list 我们知道client-go中的reflector模块首先会list apiserver获取某个资源的全量信息,然后根据list到的rv来watch资源的增量信息。我们希望使用client-go编写的控制器组件在与apiserver发生连接异常时,尽量的re-watch资源而不是re-list(在etcd3.4之前,

  • Kubelet 中的 “PLEG is not healthy” 到底是个什么鬼?2021-02-11 15:33:36

    原文链接:深入理解 Kubelet 中的 PLEG is not healthy 在 Kubernetes 社区中,PLEG is not healthy 成名已久,只要出现这个报错,就有很大概率造成 Node 状态变成 NotReady。社区相关的 issue 也有一大把,先列几个给你们看看: https://stackoverflow.com/questions/53872739/how-to-fi

  • Leetcode 515 每个树行中的最大值 BFS2020-11-07 19:02:17

        采用 BFS 算法逐行遍历,JAVA 解法: public final List<Integer> largestValues(TreeNode root) { List<Integer> reList = new LinkedList<Integer>(); if (root == null) return reList; Queue<TreeNode> queue = new Linked

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有