public <E> List<E> selectList(Mapper mapper, Connection conn){ PreparedStatement pstm = null; ResultSet rs = null; try{ String queryString = mapper.ge ...
分类:
数据库 时间:
2020-07-17 11:34:51
阅读次数:
97
用户注册功能接口开发 注册接口开发 MD5加密工具类封装 UserMapper.xml <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http ...
分类:
其他好文 时间:
2020-07-16 21:18:17
阅读次数:
62
1 springvmc采用经典的三层分层控制结构,在持久层,业务层和控制层分别采用@Repository、@Service、@Controller对分层中的类进行注解,而@Component对那些比较中立的类进行注解 2 @Mapper注解 https://www.cnblogs.com/muxi0 ...
分类:
编程语言 时间:
2020-07-16 18:32:04
阅读次数:
68
1. 磁盘加挂 //查看磁盘挂载路径和使用情况 [root@localhost ~]# df -l Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/centos-root 9754624 6240060 3514564 ...
分类:
系统相关 时间:
2020-07-16 12:11:53
阅读次数:
128
mybatis 最佳实战 1. mybatis 使用步骤 环境搭建,依赖导入,配置文件 mybatis generater 生成文件 修改实体类(不可删除,但是可以添加) dao 层添加mapper 多表连接查询的方法; Xml 文件配置SQL 语句,添加映射实体类 2. 依赖导入 <depende ...
分类:
其他好文 时间:
2020-07-16 12:06:48
阅读次数:
100
关于延迟加载 在 Spring 中,默认情况下所有定的 bean 及其依赖项目都是在应用启动时创建容器上下文是被初始化的。测试代码如下: @Slf4j @Configuration public class DemoConfig { public DemoConfig() { log.warn(" ...
分类:
编程语言 时间:
2020-07-16 12:05:31
阅读次数:
77
# prometheus.yml 配置# my global config global: scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute. evaluatio ...
分类:
系统相关 时间:
2020-07-16 00:04:28
阅读次数:
81
今天npm install报错 解决办法:安装 Windows 构建工具 npm install --global --production windows-build-tools 注意:以管理员身份运行 ...
分类:
编程语言 时间:
2020-07-15 15:36:58
阅读次数:
76
前言 本文的文字及图片来源于网络,仅供学习、交流使用,不具有任何商业用途,版权归原作者所有,如有问题请及时联系我们以作处理。 作者:刘早起 开始使用 基本套路就是先创建一个你需要的空图层,然后使用.set_global_opts修改全局项再用.set_series_opts修改具体的相关配置就可以。 ...
分类:
编程语言 时间:
2020-07-15 15:29:01
阅读次数:
123
###Windows驱动 // type.h #ifndef TYPE_H #define TYPE_H #include <setupapi.h> struct wdi_device_info { struct wdi_device_info *next; unsigned short vid; ...