上一页 1 2 3 4 5 6 ··· 20 下一页
  2023年5月6日
摘要: 需求,我只需要第一个逗号和第二个逗号之间的数据 SELECT SUBSTRING_INDEX( SUBSTRING_INDEX( bbt.ancestors, ',', 2 ), ',',- 1 ) AS type_id FROM base_business_type bbt mysql subst 阅读全文
posted @ 2023-05-06 16:50 大山008 阅读(107) 评论(0) 推荐(0)
  2023年4月23日
摘要: in 语句超过1000报错问题 sql in 是用内层驱动外层,一般用在数据量比较小的时候,而且条件上有索引,也会走到索引。但是如果in里的参数过多,mysql可能会放弃走索引,进而进行全表扫描,影响效率。这种情况可以把in里的参数拆分,使得sql重新走上索引,多个结果走索引后再合并,也比全表扫描快 阅读全文
posted @ 2023-04-23 14:24 大山008 阅读(1573) 评论(0) 推荐(0)
摘要: 转自:https://www.cnblogs.com/jingzh/p/16540150.html 转自:https://blog.csdn.net/asd529735325/article/details/107205214/ 1 MySQL之JSON数据 总所周知,mysql5.7以上提供了一种 阅读全文
posted @ 2023-04-23 14:20 大山008 阅读(220) 评论(0) 推荐(0)
  2023年4月21日
摘要: 业务场景:部门表数据批量导入,每条数据需要查表获取parentId,ancestors并赋值 目标:一次查出,键(部门名称)值(部门信息)已确认:部门名称不存在重复得情况 1、sql <resultMap id="result" type="com.zhhs.project.system.vo.Be 阅读全文
posted @ 2023-04-21 17:59 大山008 阅读(312) 评论(0) 推荐(0)
  2023年4月12日
摘要: 场景:表单完全是动态循环出来的: 1、必填校验 //必填标志//requid动态必填 <div class="form-group" th:if="${t.fieldType==1}"> <label class="" th:classappend="${t.isRequired}==1 ? 'co 阅读全文
posted @ 2023-04-12 11:23 大山008 阅读(104) 评论(0) 推荐(0)
  2023年2月10日
摘要: 项目是基于若依开发 1、dialog页面内容 <el-dialog :title="viewDataTitle" :visible.sync="viewDataOpen" width="600px" append-to-body> <el-form ref="viewDataForm" :model 阅读全文
posted @ 2023-02-10 11:35 大山008 阅读(1268) 评论(0) 推荐(0)
  2023年2月3日
摘要: 1、jar包引入 <dependency> <groupId>com.github.binarywang</groupId> <artifactId>weixin-java-mp</artifactId> <version>4.2.0</version> </dependency> <!--微信支付 阅读全文
posted @ 2023-02-03 14:01 大山008 阅读(53) 评论(0) 推荐(0)
  2023年1月31日
摘要: public static void main(String[] args) throws IOException { //生成二维码图片 File qrFile = new File("D:\\data\\poster" + File.separator + UUID.randomUUID().t 阅读全文
posted @ 2023-01-31 15:31 大山008 阅读(148) 评论(0) 推荐(0)
  2023年1月30日
摘要: 参考:https://blog.csdn.net/goxingman/article/details/126172320 https://blog.csdn.net/luChenH/article/details/89558707 public void covert() { //File file 阅读全文
posted @ 2023-01-30 16:58 大山008 阅读(812) 评论(0) 推荐(0)
  2023年1月10日
摘要: 转自: Java中的Lock与ReentrantLock 转自:Synchronized和ReentrantLock的区别 转自:ReentrantLock 中的 4 个坑 阅读全文
posted @ 2023-01-10 17:15 大山008 阅读(18) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 20 下一页