上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 46 下一页
摘要: tmagic-editor 腾讯低代码平台 开源地址:github.com/Tencent/tmagic-editor 在线文档:tencent.github.io/tmagic-editor/docs/ 在线体验:tencent.github.io/tmagic-editor/playground 阅读全文
posted @ 2023-09-06 17:51 白玉神驹 阅读(609) 评论(0) 推荐(0)
摘要: 问题 使用PageHelper时发现超过最大数量(20)的页数,仍然可以返回数据 解决方案 #分页插件 pagehelper: helperDialect: mysql reasonable: false supportMethodsArguments: true params: countSql 阅读全文
posted @ 2023-08-30 14:42 白玉神驹 阅读(463) 评论(0) 推荐(0)
摘要: 方式一,使用kibana控制台添加(该方式数据量有上限,批量导入推荐CURL) 该方式需要安装kibana,启动后打开控制台 http://kibana部署IP:5601/app/dev_tools#/console POST_bulk {"index":{"_index":"test_goods" 阅读全文
posted @ 2023-08-26 16:30 白玉神驹 阅读(5207) 评论(0) 推荐(0)
摘要: 普通用户在终端获取临时root权限 sudo -i 查看sftp应用程序的路径 cat /etc/ssh/sshd_config | grep sftp //结果 Subsystem sftp /usr/libexec/openssh/sftp-server 在 WinSCP 端进入高级设置-SFT 阅读全文
posted @ 2023-08-25 14:34 白玉神驹 阅读(743) 评论(0) 推荐(0)
摘要: 1、在需要创建快捷方式的源目录下,输入pwd,得到当前路径A 2、在需要创建快捷方式的目标目录下,输入pwd,得到当前路径B 3、使用ln指令,ln -s A B //在/root目录下创建快捷方式到达app目录 ln -s /usr/local/docker/app /root 阅读全文
posted @ 2023-08-23 17:38 白玉神驹 阅读(453) 评论(0) 推荐(0)
摘要: 解决 //Integer类型入参,动态sql判断只需要判null即可 <if test="status != null "> and status = #{status}</if> 原因 mybatis源码在预编译sql时,使用OGNL表达式来解析if标签,对于Integer类型属性,(status 阅读全文
posted @ 2023-08-17 09:58 白玉神驹 阅读(92) 评论(0) 推荐(0)
摘要: 背景 实体类多添加了几个字段用于查询,如果项目中使用了mybatis或mybatisplus会导致找不到表中字段的错误 Caused by: java.sql.SQLSyntaxErrorException: Unknown column 'create_start_time' in 'field 阅读全文
posted @ 2023-08-17 09:28 白玉神驹 阅读(1186) 评论(0) 推荐(0)
摘要: 查看缓存区及内存使用情况 free -h //空闲内存=free+buffers+cached //已用内存=total-空闲内存 缓存区分buffers和cached区别 //内核在保证系统能正常使用物理内存和数据量读写情况下来分配缓冲区大小。 //buffers用来缓存metadata及page 阅读全文
posted @ 2023-08-03 11:09 白玉神驹 阅读(241) 评论(0) 推荐(0)
摘要: 无序 Map<String, List<GeneralVO>> groupMap = generalVOS.stream().collect(Collectors.groupingBy(GeneralVO::getTaskId)); 有序 Map<String, List<GeneralVO>> g 阅读全文
posted @ 2023-07-27 15:54 白玉神驹 阅读(658) 评论(0) 推荐(0)
摘要: mysql使用Limit分页不加索引列会导致数据丢失、重复和索引失效 mysql官网对limit的详细说明及优化建议:https://dev.mysql.com/doc/refman/5.7/en/limit-optimization.html 官网 If multiple rows have id 阅读全文
posted @ 2023-07-21 09:08 白玉神驹 阅读(419) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 46 下一页