摘要:
List<Map<String, Object>> validInfo = perCaseDao.selectValidInfo(perCase); if(validInfo != null && validInfo.size()!=0){ StringBuilder s = new StringB 阅读全文
摘要:
第一种使用注解:用 @Value("${xxxx}")注解 1. 用法: 从配置properties文件中读取init.password 的值。 @Value("${init.password}") private String initPwd; 2. 在spring的配置文件中加载配置文件dbco 阅读全文
摘要:
1,Java JDK安装 官网JDK下载地址:http://www.oracle.com/technetwork/java/javase/downloads/index.html 选择适合自己Windows的包,看64位还是32位,下载完之后一路下一步即可安装完成。也可以直接在另外一台安装过JDK的 阅读全文
摘要:
注意 在索引列上使用or,会使索引失效 http://www.cnblogs.com/youyoui/p/8657331.html 阅读全文
摘要:
/** * 身份证校验 * @param {String} idCard 身份证号 * @return {Boolen} 格式是否正确 */ function validateIdCard(idCard) { //15位和18位身份证号码的正则表达式 var regIdCard = /^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d... 阅读全文
摘要:
function QueryString(QueryName) { var name, value = '', i; var str = location.href.toString(); //获得浏览器地址栏URL串 str = str.replace("#", "&"); var num = s 阅读全文
摘要:
Oracle解锁 查询:select object_name as 对象名称, s.sid, s.serial#, p.spid as 系统进程号, 'ALTER SYSTEM KILL SESSION ''' || S.SID || ', ' || S.SERIAL# || ''';' AS KI 阅读全文
摘要:
注意:jsonp解决跨域只支持get 请求。 $.ajax({ url: 'http://www.domain2.com:8080/login', type: 'get', dataType: 'jsonp', // 请求方式为jsonp jsonpCallback: "onBack", // 自定 阅读全文
摘要:
<update id="updateDcxx" parameterType="bdc.developers.vo.Dcxx"> update deve_dcxx <set> <if test="fwArea!=null"> fw_area=#{fwArea}, </if> <if test="cer 阅读全文
摘要:
1. 复制表结构及其数据: create table table_name_new as select * from table_name_old 2. 只复制表结构: create table table_name_new as select * from table_name_old where 阅读全文