上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 查询重复记录例:查询员工表里出现重复姓名的记录思路:1、查询姓名重复,使用分组函数: group by,再用聚合函数中的计数函数count(name)给姓名列计数,且使用group by 后不可使用*2、关键字: 姓名,姓名进行分组,看潜在条件:重复,也就是count(name)>1,用having 阅读全文
posted @ 2022-09-08 10:33 pxuan 阅读(939) 评论(0) 推荐(0) 编辑
摘要: JVM 诊断调优工具Arthashttps://arthas.aliyun.com/doc/https://start.aliyun.com/handson-lab?category=arthas 阅读全文
posted @ 2022-07-19 15:38 pxuan 阅读(12) 评论(0) 推荐(0) 编辑
摘要: mysql 5.7 SELECT T3.* FROM( SELECT @ids as _ids, ( SELECT @ids := GROUP_CONCAT(id) FROM cloud_category WHERE FIND_IN_SET(parent_id, @ids) ) as T1, @l 阅读全文
posted @ 2022-04-22 09:53 pxuan 阅读(154) 评论(0) 推荐(0) 编辑
摘要: el-upload on-success默认带参,传index参数。 <el-upload class="uploader-btn" action="/api/blade-resource/oss/endpoint/put-file-v1" methods = "post" :headers="he 阅读全文
posted @ 2022-04-08 09:46 pxuan 阅读(1003) 评论(0) 推荐(0) 编辑
摘要: // 获取 minioClient getMinioClient(tempuser){ this.minioClient = new Minio.Client({ endPoint: '172.16.1.16', port: 9000, useSSL: false, region: 'kyc', a 阅读全文
posted @ 2022-04-03 10:45 pxuan 阅读(778) 评论(0) 推荐(0) 编辑
摘要: 1、查找文件 find / -name ‘filename’2、查找目录 find / -name ‘path’ -type d3、查找内容 find . | xargs grep -ri ‘content’ //find . | xargs grep -ril ‘content’ 只显示文件名称 阅读全文
posted @ 2022-03-23 16:55 pxuan 阅读(1367) 评论(0) 推荐(0) 编辑
摘要: 正则表达式 整数^[1-9]\d*$ //匹配正整数^-[1-9]\d*$ //匹配负整数^-?[1-9]\d*$ //匹配整数^[1-9]\d*|0$ //匹配非负整数(正整数 + 0)^-[1-9]\d*|0$ //匹配非正整数(负整数 + 0)^[1-9]\d*\.\d*|0\.\d*[1-9 阅读全文
posted @ 2021-07-13 10:10 pxuan 阅读(7633) 评论(0) 推荐(0) 编辑
摘要: public String getDataTotalSize(Context context){ StatFs sf = new StatFs(context.getCacheDir().getAbsolutePath()); long blockSize = sf.getBlockSize(); 阅读全文
posted @ 2021-06-13 17:13 pxuan 阅读(856) 评论(0) 推荐(0) 编辑
摘要: 启动 adb server 命令:adb start-server 停止 adb server 命令:adb kill-server 查询已连接设备/模拟器:adb devices推送已连接设备/模拟器:adb connect 172.16.1.28:5555安装设备/模拟器:adb install 阅读全文
posted @ 2021-06-04 14:34 pxuan 阅读(1037) 评论(0) 推荐(0) 编辑
摘要: 变量lower_case_table_names 为什么本地开发没问题,但是测试环境就提示表不存在呢?因为本地的windows开发环境,默认是大小写不敏感。而测试环境的linux是敏感的。 本地windows我们执行命令,查看自己电脑中的mysql系统变量可以看到: 1、进入mysql命令: mys 阅读全文
posted @ 2021-05-13 18:06 pxuan 阅读(281) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页