摘要: where WHERE 语句,拼接 + WHERE 条件and AND 语句,拼接 + AND 字段=值or OR 语句,拼接 + OR 字段=值 !!!主动调用or表示紧接着下一个方法不是用and连接!(不调用or则默认为使用and连接)eq 等于=allEq 基于 map 内容等于=ne 不等于 阅读全文
posted @ 2021-01-13 08:45 嗯哼啊哈? 阅读(622) 评论(0) 推荐(0) 编辑
摘要: 常用指令 ls 显示文件或目录 -l 列出文件详细信息l(list) -a 列出当前目录下所有文件及目录,包括隐藏的a(all) mkdir 创建目录 -p 创建目录,若无父目录,则创建p(parent) cd 切换目录 touch 创建空文件 echo 创建带有内容的文件。 cat 查看文件内容 阅读全文
posted @ 2021-01-13 08:44 嗯哼啊哈? 阅读(95) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd" ><web-app> <!--配置spring的监听 阅读全文
posted @ 2020-12-09 17:01 嗯哼啊哈? 阅读(107) 评论(0) 推荐(0) 编辑
摘要: # Set root category priority to INFO and its only appender to CONSOLE.#log4j.rootCategory=INFO, CONSOLE debug info warn error fatallog4j.rootCategory= 阅读全文
posted @ 2020-12-09 16:58 嗯哼啊哈? 阅读(56) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:mvc="http://www.springframework.org/schema/mvc" 阅读全文
posted @ 2020-12-09 16:56 嗯哼啊哈? 阅读(94) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2020-12-09 16:55 嗯哼啊哈? 阅读(80) 评论(0) 推荐(0) 编辑
摘要: int[] classAge1 = {18,19,20};//数组名.for for (int i : classAge1) { System.out.println(i1);} 阅读全文
posted @ 2020-10-23 15:29 嗯哼啊哈? 阅读(93) 评论(0) 推荐(0) 编辑
摘要: import java.util.Arrays;public class Teest5 { /** * 二维数组 */ public static void main(String[] args) { int[] classAge1 = {18,19,20}; int[] classAge2 = { 阅读全文
posted @ 2020-10-23 15:25 嗯哼啊哈? 阅读(140) 评论(0) 推荐(0) 编辑
摘要: import java.util.Arrays;public class Test3 { /** * 选择排序 */ public static void chooseSort(){ int[] arr = {7,9,4,3,6,8}; for (int start=0;start<arr.leng 阅读全文
posted @ 2020-10-23 14:44 嗯哼啊哈? 阅读(96) 评论(0) 推荐(0) 编辑
摘要: import java.util.Arrays;public class Test2 { public static void bubbleSort(){ //定义一个数组 int[] arr = {9,5,7,2,6,1,8,3,4}; //循环遍历,定义end为数组长度。长度大于0时 end自减 阅读全文
posted @ 2020-10-23 11:38 嗯哼啊哈? 阅读(69) 评论(0) 推荐(0) 编辑