##数据迁移
从一张表 移动到另外一张表
insert into"GWJ_BUSINESS"."ME_ISSUE_LIBRARY_EDITOR"("ID","ISSUE_NAME","MEETING_NAME",CREATE_TIME,ISSUE_SORT,"USER_NAME")select"ID","NAME","MEETING_TYPE_NAME","CREATE_DATE","SORT","CREATOR_USER"from"EXOA"."MEETING_ISSUE";";git操作基本命令
1.首先切换到分支;(分支名)gitcheckout hellomonkey2.使用git pull 把分支代码pull下来;gitpull3.切换到主分支;gitcheckout master4.把分支的代码merge到主分支;gitmerge hellomonkey5.git push推上去ok完成,现在 你自己分支的代码就合并到主分支上了。IDEA分支合并到主分支
1、首先,先切换到main分支
2、把分支推到主分支
在这里插入图片描述
备注
若不同分支要切换,前提要把当前分支提交下,不然会被要求合并代码
3、linux查看端口
netstat-nltp|grep端口号4、yum安装软件命令
(1)yum-yinstall包名eg: yum -y install nginx
eg: yum -y install java
(2) 卸载
yum remove 包名5、linux运行rpm文件
rpm-ivh文件名spring 注解 类 详解
AntPathMatcher 匹配接口路径 一般在接口校验权限用到
AntPathMatcherantPathMatcher=newAntPathMatcher();antPathMatcher.isPattern("/user/001");// 返回 falseantPathMatcher.isPattern("/user/*");// 返回 trueantPathMatcher.match("/user/001","/user/001");// 返回 trueantPathMatcher.match("/user/*","/user/001");// 返回 trueantPathMatcher.matchStart("/user/*","/user/001");// 返回 trueantPathMatcher.matchStart("/user/*","/user");// 返回 trueantPathMatcher.matchStart("/user/*","/user001");// 返回 falseantPathMatcher.extractPathWithinPattern("uc/profile*","uc/profile.html");// 返回 profile.htmlantPathMatcher.combine("uc/*.html","uc/profile.html");// uc/profile.html6.java中时间格式注意
6.IDEA配置新建类的时候 作者和时间
打开setting
点确定即可。
7.IDEA中.gitignore配置不生效解决方案=
先进入项目所在的文件夹
gitrm-r--cached.gitadd.gitcommit-m"update .gitignore"8.IDEA拉取Github超时
配置Git代理
git config --global http.proxy http://代理服务器地址:端口号
git config --global https.proxy https://代理服务器地址:端口号
如果出现你把本地的gitlab拉不了代码,则需要把代理删除
取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy
9.虚拟机新建报错------设置基础软件仓库时出错
解决方案:
先开启网络
如果是centOS8图片中的7修改为8
http://mirrors.aliyun.com/centos/7/os/x86_64
如果是centos8 也是一样的
http://mirrors.aliyun.com/centos/7/os/x86_64
IDEA本地暂存操作
假如dev分支不小心写了代码
然后切换到你要的分支,点commit
假设在dev在写了代码并且已提交上去,这时候只需要切换到自己的分支,然后点击
再切换回来
这时候就会把dev分支上提交的代码合并到你现有的分支上去
码云地址:https://github.com/hongjiatao/spring-boot-anyDemo
欢迎交流,一起进步!