摘要: <select id="selectId"> <option value="orange">橙色</option> <option value="yellow">黄色</option> </select> 获取value值 var color = $("#selectId").val(); var 阅读全文
posted @ 2021-12-04 17:29 一隅桥畔 阅读(384) 评论(0) 推荐(0)
摘要: 1、Collections.sort() //升序排列 Collections.sort(list, new Comparator<Student>() { public int compare(Student s1, Student s2) { return s1.getAge().compare 阅读全文
posted @ 2021-12-04 12:15 一隅桥畔 阅读(13257) 评论(0) 推荐(0)
摘要: SQL中CONCAT()、CONCAT_WS()和GROUP_CONCAT()函数的用法CONCAT()函数语法:CONCAT(str1, str2, ...)将多个字符串连接成一个字符串SELECT CONCAT(id, name, age) FROM tb_user;结果: CONCAT_WS( 阅读全文
posted @ 2021-12-04 10:50 一隅桥畔 阅读(4593) 评论(0) 推荐(0)