Mybatis的CRUD操作 我们在创建第一个项目自后,来进行数据库的操作; Mybatis在JDBC的基础上,对sql语句的执行进行了简化。 1.准备工作 1.1.创建我们的第二个项目,项目结构如下: 1.2.在pom.xml文件中引入资源文件导出的配置文件 <build> <resources> ...
分类:
其他好文 时间:
2021-04-13 11:46:49
阅读次数:
0
这里有板子 最大流 view code namespace Flow { int tot=1,fi[N],ne[M],to[M],w[M],S,T,d[N],nn; inline void add(int x,int y,int c) { ne[++tot]=fi[x],fi[x]=tot,to[t ...
分类:
其他好文 时间:
2021-04-13 11:45:28
阅读次数:
0
求字符串出现次数最多字符 let str = "aaabbccccddddd" function longSre(str) { let zifu; let max = 0; let arr = str.split('') let map = new Map() for (let i = 0; i < ...
分类:
编程语言 时间:
2021-04-13 11:42:07
阅读次数:
0
1. postman(一):主界面模块解析 2. postman(二):使用postman发送get or post请求 3. postman(三):添加断言 4. postman(四):添加变量 5. postman(五):在不同接口之间传递数据 6. postman(六):详解在Pre-requ ...
分类:
其他好文 时间:
2021-04-13 11:41:25
阅读次数:
0
ReentrantLock是可重入锁,并且可以实现公平锁。Sychronized是可重入锁、非公平锁。 话不多说,上demo: 1 package com.example.demo.util; 2 3 import java.util.concurrent.locks.ReentrantLock; ...
分类:
其他好文 时间:
2021-04-12 12:54:59
阅读次数:
0
import java.util.HashMap; import java.util.HashMap; import java.util.LinkedHashSet; import java.util.Map; public class Station { private String name; ...
分类:
其他好文 时间:
2021-04-12 12:54:28
阅读次数:
0
When you run hexo g on any web instances, like on AWS or Azure, you might get the following error: (node:3568) ExperimentalWarning: The fs.promises AP ...
分类:
其他好文 时间:
2021-04-12 12:28:51
阅读次数:
0
1、降低主频,降低外设总线时钟频率 2、低频模式、正常模式切换,不工作时在低频模式,工作时在正常模式 3、低功耗模式,外部中断唤醒,定时唤醒 4、关闭不用的外设;外设不用的话断电; 5、使用低功耗的单片机 6、硬件角度考虑:降低电压;电源芯片选用 参考网址:https://m.21ic.com/ap ...
分类:
其他好文 时间:
2021-04-12 12:26:03
阅读次数:
0
参考下面的连接 https://www.cnblogs.com/mojita/p/12011800.html ...
分类:
其他好文 时间:
2021-04-12 12:18:59
阅读次数:
0
LCA — 欧拉序+ST表 \(O(n\log n)\) 预处理,\(O(1)\) 询问?。 \(lca(x,y)=\) 欧拉序中最早出现的 \(x\) 和 \(y\) 中间深度最浅的点。 Luogu P3379 #include <bits/stdc++.h> using namespace st ...
分类:
其他好文 时间:
2021-04-12 12:13:56
阅读次数:
0