12 2015 档案

去除字段中的换行符号
摘要:--去除字段中的换行符号 select pb.rowid,pb.vdesc,pb.* from tm_part_base pb WHERE instr(pb.vdesc,chr(10))>0; UPDATE tm_part_base pb SET pb.vdesc=replace(pb.... 阅读全文

posted @ 2015-12-18 16:19 tongdengquan 阅读(261) 评论(0) 推荐(0)

javascript克隆一个对象
摘要:/* * 克隆一个对象 */com.ty.repairtech.JsonOperation.clone = function(obj) { // Handle the 3 simple types, and null or undefined if (null == o... 阅读全文

posted @ 2015-12-04 13:55 tongdengquan 阅读(87) 评论(0) 推荐(0)

javascript模糊查询一个数组
摘要:/* * 模糊查询一个数组 */com.ty.repairtech.JsonOperation.searchList = function(str, container) { var newList = []; //新的列表 var startChar = str... 阅读全文

posted @ 2015-12-04 13:53 tongdengquan 阅读(5230) 评论(0) 推荐(0)