摘要:
一般两个div同行显示可以用float: left和display: inline_block来实现 <div class="div1">div1</div> <div class="div2">div2</div> .div1 { width: 200px; height: 200px; text 阅读全文
摘要:
遇到的问题 1.图片展示不出来 解决方法:https://blog.csdn.net/tqs314/article/details/104728766 阅读全文
摘要:
1.进入nacos目录,启动nacos sh startup.sh -m standalone 关闭nacos sh shutdown.sh 2.启动springboot 微服务项目 https://blog.csdn.net/qq_42169450/article/details/12268894 阅读全文
摘要:
1.删除某个文件夹 rm -rf foldername 2.删除某个文件 rm -rf a.txt 3.查看文件内容 cat file_name 4.查看系统使用情况 top top 命令查看系统的实时负载, 包括进程、CPU负载、内存使用等等; 5.查看jar包进程: ps aux|grep xx 阅读全文
摘要:
1.安装宝塔面板 yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh e3bb5f4de 2.解压安装JDK tar -zxvf jdk-8u3 阅读全文
摘要:
1.Windows下安装配置zookeeper: https://blog.csdn.net/wxw1997a/article/details/119998932 2.zookeeper查看服务: https://blog.csdn.net/jushisi/article/details/10699 阅读全文
摘要:
<select id="queryPage" resultType="cn"> select * from Tb WHERE 1 = 1 <if test="param2.urgentDegree!=null and param2.urgentDegree!=''"> and urgent_Degr 阅读全文
摘要:
使用了@Transactional,并且代码中还添加了try{}catch{},那么事务就不会回滚。 默认spring事务只在发生未被捕获的 runtimeexcetpion时才回滚。 需要在catch里面加 TransactionAspectSupport.currentTransactionSt 阅读全文
摘要:
1.创建索引: alter table table_name add index index_name (column_name) 阅读全文
摘要:
1.字段转大写:UPPER(字母串) 2.字段转小写:LOWER(字母串) 阅读全文