摘要: 一般两个div同行显示可以用float: left和display: inline_block来实现 <div class="div1">div1</div> <div class="div2">div2</div> .div1 { width: 200px; height: 200px; text 阅读全文
posted @ 2023-04-19 22:04 盐排骨 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 遇到的问题 1.图片展示不出来 解决方法:https://blog.csdn.net/tqs314/article/details/104728766 阅读全文
posted @ 2022-10-16 21:08 盐排骨 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 1.进入nacos目录,启动nacos sh startup.sh -m standalone 关闭nacos sh shutdown.sh 2.启动springboot 微服务项目 https://blog.csdn.net/qq_42169450/article/details/12268894 阅读全文
posted @ 2022-10-13 23:30 盐排骨 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 1.删除某个文件夹 rm -rf foldername 2.删除某个文件 rm -rf a.txt 3.查看文件内容 cat file_name 4.查看系统使用情况 top top 命令查看系统的实时负载, 包括进程、CPU负载、内存使用等等; 5.查看jar包进程: ps aux|grep xx 阅读全文
posted @ 2022-10-13 21:15 盐排骨 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2022-10-10 23:00 盐排骨 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 1.Windows下安装配置zookeeper: https://blog.csdn.net/wxw1997a/article/details/119998932 2.zookeeper查看服务: https://blog.csdn.net/jushisi/article/details/10699 阅读全文
posted @ 2022-08-20 23:19 盐排骨 阅读(16) 评论(0) 推荐(0) 编辑
摘要: <select id="queryPage" resultType="cn"> select * from Tb WHERE 1 = 1 <if test="param2.urgentDegree!=null and param2.urgentDegree!=''"> and urgent_Degr 阅读全文
posted @ 2022-08-19 14:51 盐排骨 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 使用了@Transactional,并且代码中还添加了try{}catch{},那么事务就不会回滚。 默认spring事务只在发生未被捕获的 runtimeexcetpion时才回滚。 需要在catch里面加 TransactionAspectSupport.currentTransactionSt 阅读全文
posted @ 2022-08-04 11:49 盐排骨 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1.创建索引: alter table table_name add index index_name (column_name) 阅读全文
posted @ 2022-08-01 10:47 盐排骨 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 1.字段转大写:UPPER(字母串) 2.字段转小写:LOWER(字母串) 阅读全文
posted @ 2022-07-26 14:23 盐排骨 阅读(16) 评论(0) 推荐(0) 编辑