血翼残飞

导航

上一页 1 2 3 4 5 6 ··· 8 下一页

2021年12月2日 #

mysql 函数

摘要: 1.数字处理 2.字符串 3.日期 阅读全文

posted @ 2021-12-02 21:29 血翼残飞 阅读(21) 评论(0) 推荐(0) 编辑

2021年11月9日 #

mysql update where in (查询表)

摘要: update table1 t set t.column1=0 WHERE t.id in (SELECT tid FROM table2 b)优化update table1 t ,table2 b set t.column1=0 where t.id=b.id ; 阅读全文

posted @ 2021-11-09 15:27 血翼残飞 阅读(2241) 评论(0) 推荐(0) 编辑

2021年8月16日 #

修改mysql中所有已经定义到的definer

摘要: 修改mysql中所有已经定义到的definer? 由于前期在测试库上开发的缘故,我们经常定义到的definer为`root`@`%`,后来搬移到生产库上又得改回来,存在着大量的更新,上百个的视图,函数等一个个改不免太麻烦并且也可能遗漏。如下为总结出的方便修改所有definer的方法,可以直到查漏补缺 阅读全文

posted @ 2021-08-16 13:30 血翼残飞 阅读(503) 评论(1) 推荐(0) 编辑

2021年3月16日 #

js document创建form post 提交

摘要: var form = document.createElement('form'); form.action = 'xxxx.action'; form.method = 'post'; form.style.display = 'none'; var input = document.create 阅读全文

posted @ 2021-03-16 09:40 血翼残飞 阅读(715) 评论(0) 推荐(0) 编辑

2021年1月7日 #

json 转有序map

摘要: LinkedHashMap<String, Object> dataMap = JSONObject.parseObject(String.valueOf(kjdataMap.get("DATAS")), new TypeReference<LinkedHashMap<String, Object> 阅读全文

posted @ 2021-01-07 09:27 血翼残飞 阅读(539) 评论(0) 推荐(0) 编辑

2020年12月3日 #

java com.alibaba.fastjson JSONObject转map对象

摘要: Map<String,Object> parMap = JSONObject.parseObject(jsonObject.toJSONString(), new TypeReference<Map<String, Object>>(){}); 阅读全文

posted @ 2020-12-03 10:46 血翼残飞 阅读(2096) 评论(0) 推荐(0) 编辑

2020年11月25日 #

Map,Set,Array,Object之间的相互转换

摘要: 1,Object转Map let arr={foo:'hello',bar:100}; let map=new Map(Object.entries(arr)); console.log(map) 2,Map转Object let map=new Map([['foo','hello'],['bar 阅读全文

posted @ 2020-11-25 16:04 血翼残飞 阅读(476) 评论(0) 推荐(0) 编辑

2020年11月6日 #

正则效验

摘要: var regStudytime = /^([1-9]\d{0,5}(\.\d)?|0\.\d)$/; var studyTime = $("input[name='studyTime']").val(); if (!regStudytime.test(studyTime)) { alert("为> 阅读全文

posted @ 2020-11-06 08:58 血翼残飞 阅读(49) 评论(0) 推荐(0) 编辑

2020年11月5日 #

vue 列表过滤排序

摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <div id="demo"> <input type="text" v-model="searNam 阅读全文

posted @ 2020-11-05 16:00 血翼残飞 阅读(211) 评论(0) 推荐(0) 编辑

2020年10月27日 #

将本地项目上传到git

摘要: 1、(先进入项目文件夹)通过命令 git init 把这个目录变成git可以管理的仓库 git init 2、把文件添加到版本库中,使用命令 git add .添加到暂存区里面去,不要忘记后面的小数点“.”,意为添加文件夹下的所有文件 git add . 3、用命令 git commit告诉Git, 阅读全文

posted @ 2020-10-27 16:24 血翼残飞 阅读(155) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 8 下一页