摘要: <dependencies> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.5.4</version> </dependency> <dependency> <group 阅读全文
posted @ 2020-06-07 11:14 阿布都日 阅读(902) 评论(0) 推荐(0) 编辑
摘要: Object Relational Mapping 对象关系映射 简单地说: 就是把数据库中的表和实体类及实体类属性对应起来 让我们可以操作实体类就实现数据库操作 User类 user表 id属性 id字段 name属性 userName字段 阅读全文
posted @ 2020-06-07 10:55 阿布都日 阅读(145) 评论(0) 推荐(0) 编辑
摘要: xxxxxxxxxx public static void main(String[] args) { Connection connection = null; PreparedStatement preparedStatement = null; ResultSet resultSet=null 阅读全文
posted @ 2020-06-07 10:46 阿布都日 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 表现层:展示数据 业务层:处理业务需求 持久层:交互数据库 阅读全文
posted @ 2020-06-07 10:26 阿布都日 阅读(114) 评论(0) 推荐(0) 编辑
摘要: xxxxxxxxxx <!--js输出Unicode--> <script> console.log("\u2620"); </script> <!--html输出Unicode--> <h1 style="font-size: 200px">&#9856</h1> ​ 阅读全文
posted @ 2020-06-01 20:58 阿布都日 阅读(260) 评论(0) 推荐(0) 编辑
摘要: x var a = 12345; var b = 0xabc; var c = 07654; var d = 0b010; //16值把前面的数字看成16进制解析 var e = parseInt(123,16); ​ 阅读全文
posted @ 2020-06-01 14:55 阿布都日 阅读(150) 评论(0) 推荐(0) 编辑
摘要: x //获取有效整数 var a=123px; console.log(parseInt(a)); //获取有效数字 var b=123px; console.log(parseFloat(b)); 阅读全文
posted @ 2020-06-01 14:31 阿布都日 阅读(175) 评论(0) 推荐(0) 编辑
摘要: x //a不能是null或undefined 不然报错 var a=true; console.log(a.toString()); //无限制 var b=true; console.log(String(b)); 阅读全文
posted @ 2020-06-01 14:14 阿布都日 阅读(139) 评论(0) 推荐(0) 编辑
摘要: x var c=Infinity; var d=-Infinity; var e="abc"*"bcd"; console.log("c",c,"Infinity","Number"); console.log("d",d,"-Infinity","Number"); console.log("e" 阅读全文
posted @ 2020-06-01 13:42 阿布都日 阅读(158) 评论(0) 推荐(0) 编辑
摘要: xxxxxxxxxx var a=123; var b="123"; ​ console.log("a",a, typeof a); console.log("b",b,typeof b); 阅读全文
posted @ 2020-06-01 13:36 阿布都日 阅读(485) 评论(0) 推荐(0) 编辑