<body> <form action="tianjia.jsp"> <table> <tr> <td>序号:</td> <td><input type="text" name="id"></td> </tr> <tr> <td>性别:</td> <td><input type="text" nam ...
分类:
数据库 时间:
2020-05-26 12:33:32
阅读次数:
69
function refresh(){ url = location.href; var once = url.split("#"); console.log(once); if (once[2] != 1) { url += "#1"; self.location.replace(url); wi ...
分类:
其他好文 时间:
2020-05-26 12:25:42
阅读次数:
59
常用功能的简单封装 public class Dapper { public string ConnectionString { get; set; } public Dapper() { var Configuration = new ConfigurationBuilder() .Add(new ...
分类:
移动开发 时间:
2020-05-26 01:27:07
阅读次数:
222
BigDecimal简介 位置:java.math包中 作用:精确计算浮点数 创建方式:BigDecimal bg = new BigDecimal("2.2") 构造方法 BigDecimal没有定义无参构造,必须传入参数 普通方法 Bigdecimal add(BigDecimal bd) 加 ...
分类:
其他好文 时间:
2020-05-26 01:23:27
阅读次数:
61
function myrefresh() { window.location.reload(); } setTimeout('myrefresh()', 1000); //指定1秒刷新一次 </script> ...
分类:
其他好文 时间:
2020-05-25 22:16:57
阅读次数:
77
使用win环境演示 环境准备 JAVA JMeter ANT 下载并配置环境变量 都是JAVA开发的,所以此方案具有良好的跨平台 在JMeter目录下,新建result和script文件夹,用来存放脚本和测试结果 配置H:\apache-jmeter-5.2.1\extras\build.xml < ...
分类:
其他好文 时间:
2020-05-25 19:31:53
阅读次数:
80
maven的配置文件settings.xml存在于两个地方: 1.安装的地方:${M3_HOME}/conf/settings.xml 全局配置 2.用户的目录:${user.home}/.m2/settings.xml 用户配置 如下是settings.xml的配置,重点讲解几个地方,因为接下来我 ...
分类:
其他好文 时间:
2020-05-25 15:42:13
阅读次数:
61
自定义resultMap,处理复杂的表关系,实现高级结果集映射 1) id :用于完成主键值的映射 2) result :用于完成普通列的映射 3) association :一个复杂的类型关联;许多结果将包成这种类型 4) collection : 复杂类型的集 1、多对一的查询,员工与员工部门: ...
分类:
其他好文 时间:
2020-05-25 09:43:10
阅读次数:
74
SpringBoot整合MyBatis1、创建项目时勾选mybatis、数据库驱动。mysql驱动默认是8.x的版本,如果要使用5.x的版本,创建后到pom.xml中改。也可以手动添加依赖<dependency><groupId>org.mybatis.spring.boot</groupId><artifactId>mybatis-spring-b
分类:
编程语言 时间:
2020-05-25 09:41:56
阅读次数:
69
配置nginx反向代理,实现api.x.com域名代理本地9001端口1、编辑hosts文件192.168.43.157api.x.com2、编辑配置,http{}中添加配置:server{listen80;server_nameapi.x.com;location/{proxy_passhttp://127.0.0.1:9001/;}}server{listen9001;root/data/si
分类:
其他好文 时间:
2020-05-25 09:16:34
阅读次数:
40