摘要:
<select id="findUsersByUserName2" resultType="java.util.Map" parameterType="Params"> 2 SELECT 3 id as uid, 4 username as uname, 5 password as pwd, 6 a 阅读全文
摘要:
jsp页面处理方式:encodeURI(encodeURI(HIGHER_AUTHORITY)) java代码处理方式: //防止中文乱码 String HIGHER_AUTHORITY = java.net.URLDecoder.decode(request.getParameter("HIGHE 阅读全文
摘要:
CASE WHEN V.GET_NUM /V.EFFECTIVE_NUM is null THEN '' WHEN V.GET_NUM /V.EFFECTIVE_NUM is not null THEN TO_CHAR ( NVL(ROUND (V.GET_NUM /V.EFFECTIVE_NUM, 阅读全文
摘要:
<if test="STATE !=null and STATE !=''"> <if test="STATE == 5 or STATE == '5'"> AND TCRT.STATE = #{STATE} </if> <if test="STATE == 4 or STATE == '4'"> 阅读全文
摘要:
Invalid use of group function即“集函数的无效用法” 错句示例:SELECT sname AS '优秀学生姓名',AVG(score) as '平均成绩' FROM `grade_info` WHERE AVG(score)>90 GROUP BY sno; 正确写法:S 阅读全文
摘要:
$(obj).index(this) 与 $(this).index()的区别 <div id="nav"> <p>111111</p> <p>222222</p> <b>333333</b> <b>444444</b> </div> javascript部分 先引入javascript <scri 阅读全文
摘要:
// 创建一个数值格式化对象 NumberFormat numberFormat = NumberFormat.getInstance(); // 设置精确到整数位 numberFormat.setMaximumFractionDigits(-1); result = numberFormat.fo 阅读全文
摘要:
if ($("input[name=\"" + str1[0] + "\"]")[0]) { if (str1[0].startsWith("RESULT")) { var val = str1[1]; if (val == 1) { // 不同意 $($("input[name=\"" + str 阅读全文
摘要:
select { border: 0; display: block; position: relative; min-height: 1.146667rem; line-height: 1.146667rem; white-space: nowrap; width: 100%; overflow: 阅读全文
摘要:
在jsp页面中不能通过${list.size}取列表长度,而是 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/js 阅读全文