查看数据表的信息,只能算是优化用户体验 --用户表 if exists(select * from sysobjects where name = 'bi_user') drop table bi_user create table bi_user ( user_id int not null pr ...
分类:
其他好文 时间:
2021-03-01 13:44:56
阅读次数:
0
模块化结合typescript - 泛型改造 // 为函数添加泛型 function useURLLoader<T>(url: string) { const result = ref<T | null>(null) // 在应用中的使用,可以定义不同的数据类型 interface DogResul ...
分类:
其他好文 时间:
2021-03-01 13:32:50
阅读次数:
0
最左匹配原则 DROP TABLE IF EXISTS employees; CREATE TABLE employees( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(24) NOT NULL DEFAULT '' COMMENT '姓 ...
分类:
数据库 时间:
2021-02-27 13:21:23
阅读次数:
0
BodyAnim无法挂载,将 @property({ type: Animation }) public BodyAnim: Animation|null = null; 换成 @property({ type: AnimationComponent }) public BodyAnim: Anim ...
分类:
其他好文 时间:
2021-02-27 13:18:11
阅读次数:
0
题目要求 写一个shell脚本,把192.168.0.0/24网段在线的ip列出来。 参考答案 #!/bin/bash for i in `seq 1 254` do if ping -c 2 -W 2 192.168.0.$i >/dev/null 2>/dev/null then echo "1 ...
分类:
其他好文 时间:
2021-02-27 12:59:19
阅读次数:
0
问题记录 在完成项目的过程中,遇到了这样一个问题:读取application.yml信息时,报空指针异常。 application.yml配置如下: #Cacheable 注解默认生存时间(秒)cacheable: redis: ttl: 3600 在自定义的 PropertiesUtil类中,进行 ...
分类:
移动开发 时间:
2021-02-27 12:57:22
阅读次数:
0
快慢指针技巧汇总 双指针技巧可以分为两类:一类是【快慢指针】、一类是【左右指针】 一、快慢指针 快慢指针一般初始化指向链表头结点head,前进时快指针fast在前,慢指针slow在后,巧妙解决链表中的一些问题。 1、判断链表中是否有环 经典解法就是用两个指针,一个每次前进两步,一个每次前进一步。如果 ...
分类:
其他好文 时间:
2021-02-26 13:25:46
阅读次数:
0
Druid出现DruidDataSource - recyle error - recyle error java.lang.InterruptedException: null异常排查与解决 Druid出现DruidDataSource - recyle error - recyle error ...
分类:
编程语言 时间:
2021-02-26 13:23:10
阅读次数:
0
问题: 给定二叉树,进行层序遍历,从底层向上输出。 Example 1: Input: root = [3,9,20,null,null,15,7] Output: [[15,7],[9,20],[3]] Example 2: Input: root = [1] Output: [[1]] Exam ...
分类:
其他好文 时间:
2021-02-26 12:54:45
阅读次数:
0
1,if(ds == null) 这是判断内存中的数据集是否为空,说明DATASET为空,行和列都不存在!! 2,if(ds.Tables.Count == 0) 这应该是在内存中存在一个DATASET,但是,数据集中不存在表!! 3,if(ds.Tables.Count == 1 && ds.Ta ...
分类:
Web程序 时间:
2021-02-24 12:59:51
阅读次数:
0