11 2017 档案

只有注册用户登录后才能阅读该文。
posted @ 2017-11-20 11:15 小白兔奶糖
摘要:在数据插入的时候,假设主键对应的值已经存在,则插入失败!这就是主键冲突。当主键存在冲突(duplicate key)的时候,可以选择性的进行处理,即忽略、更新或者替换。 1.忽略 insert ignore into table 保持原记录,忽略新插入的记录 2.替换 replace into ta 阅读全文
posted @ 2017-11-20 10:57 小白兔奶糖 阅读(4761) 评论(0) 推荐(0)
摘要:首先需要引入 <select id="usertype" style="width: 257px;" name="usertype" class="selectpicker show-tick" title="请选择" multiple data-live-search="false"> <opin 阅读全文
posted @ 2017-11-15 12:00 小白兔奶糖 阅读(5502) 评论(0) 推荐(0)
摘要:输入:npm run build:dll 阅读全文
posted @ 2017-11-13 10:11 小白兔奶糖 阅读(178) 评论(0) 推荐(0)
摘要://获得8位短号 public static String[] chars = new String[] { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", " 阅读全文
posted @ 2017-11-10 11:42 小白兔奶糖 阅读(1708) 评论(0) 推荐(0)
摘要:function fn(dataList,parent_id){ var result = [] , temp; for(var i in dataList){ if(dataList[i].parent_id==parent_id){ result.push(dataList[i]); temp  阅读全文
posted @ 2017-11-10 11:38 小白兔奶糖 阅读(607) 评论(0) 推荐(0)