官方文档说明:https://support.apple.com/zh-cn/HT208050 macOS Catalina 版开始 终端会提示 The default interactive shell is now zsh. To update your account to use zsh, ...
分类:
系统相关 时间:
2020-06-23 13:29:25
阅读次数:
109
delete使用注意 1 class A{}; 2 int main() 3 A a; 4 A* p; 5 p = &a; 6 //delete p;//这样会导致调用两次析构函数.是会引起程序错误的 7 p = NULL; 8 9 p = new A;//正确方式,delete和new搭配 10 ...
分类:
其他好文 时间:
2020-06-23 13:17:32
阅读次数:
48
1. 首先解决 n+1 问题 (1)Entity 添加 @NamedEntityGraph 1 @Entity 2 @Table(name = "tb_depart_detail", schema = "") 3 @NamedEntityGraph(name = "depart_detail.Gra ...
分类:
编程语言 时间:
2020-06-23 13:14:54
阅读次数:
163
//distinct使用 public List<String> distinctDutyDate() { String hql="select distinct(dutyDate) from DoctorDuty"; Query query=getSession().createQuery(hql ...
分类:
Web程序 时间:
2020-06-23 12:55:01
阅读次数:
77
备份文件: # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors tha ...
分类:
其他好文 时间:
2020-06-23 11:43:38
阅读次数:
63
ls /usr/bin/python* sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1 sudo update-alternatives --install /usr/bin/python ...
分类:
编程语言 时间:
2020-06-23 11:42:43
阅读次数:
72
dockerfile: FROM founder/mysql:5.7 RUN apt-get update && apt-get update ; apt-get install -y parallel && chown -R mysql:mysql /docker-entrypoint-initd ...
分类:
数据库 时间:
2020-06-22 23:18:11
阅读次数:
68
你是否还在页面,JS调试时,每改一步,刷新没反应,就shift + ctrl + delete ,如下操作,清楚浏览器缓存? 不得不说,你out了,同时,解决问题的效率也慢了很多,希望你看到此篇文件, 学到点东西。 浏览器的 刷新,一般分为三种: 这三种,一般在浏览器中,都能看的到,可能很多人都没有 ...
分类:
其他好文 时间:
2020-06-22 23:07:14
阅读次数:
109
基础命令: create 通过文件名或标准输入创建资源 expose 为Deployment,Pod创建Service run 在集群中运行一个特定的镜像 set 在对象上设置特定的功能 explain 文档参考资料 get 显示一个或多个资源 edit 使用系统编辑器编辑一个资源。 delete ...
分类:
其他好文 时间:
2020-06-22 22:47:07
阅读次数:
102
update top(1) Products with(updlock,readpast) set Status = 1 output Deleted.Id as PoolSkuId from (select top 1 Id from Products where Deleted = 0 and ...
分类:
数据库 时间:
2020-06-22 22:41:27
阅读次数:
82