摘要: SQL语句: SET @str = '7654,7698,7782,7788'; SELECT SUBSTRING_INDEX(SUBSTRING_INDEX(@str, ',', help_topic_id + 1), ',', - 1) AS num FROM mysql.help_topic 阅读全文
posted @ 2020-11-19 11:50 jardeng 阅读(1836) 评论(0) 推荐(0) 编辑
摘要: let arr = [ { id: 1227, isRead: true, commentid: 9, lectureinfoid: null, name: '张三', newsId: 26, readDate: null, sendDate: '2020-07-22 16:18:42', stan 阅读全文
posted @ 2020-11-16 17:58 jardeng 阅读(3062) 评论(0) 推荐(0) 编辑
摘要: 1、点击“工具->选项”。 2、点击左边菜单“环境->键盘”。 3、在命令搜索框输入“注释”。 4、移除现有切换行注释的快捷键,并移除冲突的快捷键。 5、重新分配快捷键。 阅读全文
posted @ 2020-11-16 10:03 jardeng 阅读(7704) 评论(1) 推荐(1) 编辑
摘要: 数组 > 数组创建、追加、插入 -- 定义数组 SET @mapJSON = ''; -- 创建数组 SET @mapJSON = JSON_ARRAY(JSON_OBJECT('goodname', '物品1', 'goodnum', 1), JSON_OBJECT('goodname', '物品 阅读全文
posted @ 2020-11-13 17:13 jardeng 阅读(553) 评论(0) 推荐(0) 编辑
摘要: -- select 查询 SELECT * FROM table1; SELECT FOUND_ROWS(); -- update delete insert DELETE FROM table1 WHERE id = 1; SELECT ROW_COUNT(); 阅读全文
posted @ 2020-11-10 11:15 jardeng 阅读(1048) 评论(0) 推荐(0) 编辑
摘要: Index.vue父组件中引入一个子组件AuthModal.vue import AuthModal from './modules/AuthModal' 因为AuthModal.vue js代码过多,就将js代码提取到一个独立的js文件中了 - AuthModal.js AuthModal.vue 阅读全文
posted @ 2020-11-09 10:46 jardeng 阅读(3628) 评论(0) 推荐(0) 编辑
摘要: SQL select a.name tableName, b.value tableComment from sysobjects a LEFT JOIN sys.extended_properties b ON a.id = b.major_id AND b.minor_id = 0 where 阅读全文
posted @ 2020-10-10 17:02 jardeng 阅读(1241) 评论(3) 推荐(0) 编辑
摘要: 1、在methods中定义节流函数: /** * @desc 函数节流,规定在一个单位时间内,只能触发一次函数,如果这个单位时间内触发多次函数,只有一次生效; 典型的案例就是鼠标不断点击触发,规定在n秒内多次点击只有一次生效。 * @param func 函数 * @param wait 延迟执行毫 阅读全文
posted @ 2020-09-29 17:48 jardeng 阅读(2179) 评论(0) 推荐(0) 编辑
摘要: -- 要查找的值 SET @valueMapping = 17; -- 表字段:id, config -- config字段格式: /* { "fieldModels": [{ "key": 0, "guid": "1", "field": "Id", "dataType": 1, "showNam 阅读全文
posted @ 2020-09-24 17:29 jardeng 阅读(15458) 评论(2) 推荐(0) 编辑
摘要: 设置里面有一个折叠范围的策略,从auto换成indentation就可以看到折叠后的{}了. 阅读全文
posted @ 2020-09-17 18:05 jardeng 阅读(225) 评论(0) 推荐(0) 编辑