摘要:
var reg = /\w+[@]{1}\w+[.]\w+/; // 验证中文名称 function isChinaName(name) { var pattern = /^[\u4E00-\u9FA5]{1,6}$/; return pattern.test(name); } // 验证手机号 f 阅读全文
posted @ 2018-11-24 14:13
程序员小明1024
阅读(133)
评论(0)
推荐(0)
摘要:
<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 阅读全文
posted @ 2018-11-24 14:11
程序员小明1024
阅读(594)
评论(0)
推荐(0)
摘要:
jsp页面处理方式:encodeURI(encodeURI(HIGHER_AUTHORITY)) java代码处理方式: //防止中文乱码 String HIGHER_AUTHORITY = java.net.URLDecoder.decode(request.getParameter("HIGHE 阅读全文
posted @ 2018-11-24 14:10
程序员小明1024
阅读(842)
评论(0)
推荐(0)
摘要:
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, 阅读全文
posted @ 2018-11-24 14:06
程序员小明1024
阅读(4968)
评论(0)
推荐(0)
摘要:
<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'"> 阅读全文
posted @ 2018-11-24 14:03
程序员小明1024
阅读(224)
评论(0)
推荐(0)
摘要:
Invalid use of group function即“集函数的无效用法” 错句示例:SELECT sname AS '优秀学生姓名',AVG(score) as '平均成绩' FROM `grade_info` WHERE AVG(score)>90 GROUP BY sno; 正确写法:S 阅读全文
posted @ 2018-11-24 14:00
程序员小明1024
阅读(173)
评论(0)
推荐(0)
摘要:
$(obj).index(this) 与 $(this).index()的区别 <div id="nav"> <p>111111</p> <p>222222</p> <b>333333</b> <b>444444</b> </div> javascript部分 先引入javascript <scri 阅读全文
posted @ 2018-11-24 13:58
程序员小明1024
阅读(591)
评论(0)
推荐(0)
摘要:
// 创建一个数值格式化对象 NumberFormat numberFormat = NumberFormat.getInstance(); // 设置精确到整数位 numberFormat.setMaximumFractionDigits(-1); result = numberFormat.fo 阅读全文
posted @ 2018-11-24 13:56
程序员小明1024
阅读(3935)
评论(0)
推荐(0)
摘要:
if ($("input[name=\"" + str1[0] + "\"]")[0]) { if (str1[0].startsWith("RESULT")) { var val = str1[1]; if (val == 1) { // 不同意 $($("input[name=\"" + str 阅读全文
posted @ 2018-11-24 13:55
程序员小明1024
阅读(224)
评论(0)
推荐(0)
摘要:
select { border: 0; display: block; position: relative; min-height: 1.146667rem; line-height: 1.146667rem; white-space: nowrap; width: 100%; overflow: 阅读全文
posted @ 2018-11-24 13:49
程序员小明1024
阅读(1090)
评论(0)
推荐(0)
浙公网安备 33010602011771号