相关文章
后端真批量新增的使用
1,添加真批量新增抽象接口 public interface EasyBaseMapper extends BaseMapper { /** * 批量插入 仅适用于mysql * * return 影响行数 */ Integer insertBatchSomeColumn(Collection entityList); }
2,新增类,添加真批量新增的方法 public class InsertBatchSqlInjector ext…
建站知识
2024/9/19 2:43:08
Vue3使用dataV报错问题解决
DataV官网:https://datav-vue3.jiaminghi.com/guide/
vue2中是没有问题的,这是第一次在vue3中使用发现的报错问题
报错问题
首先安装:
pnpm add dataview/datav-vue3
1. 全局注册报错
然后main.ts全局注册
import { createApp } f…
建站知识
2024/9/22 9:36:36
8-flask django执行原生sql和sqlalchemy执行原生sql、flask-sqlalchemy使用、flask-migrate使用
1 原生sql(django-orm如何执行原生sql) 1.1 django执行原生sql 1.2 sqlalchemy执行原生sql
2 flask-sqlalchemy使用 3 flask-migrate使用 1 原生sql(django-orm如何执行原生sql) 1.1 django执行原生sql
import osos.environ.setdefault(DJANGO_SETTINGS_MODULE, djangoProjec…
建站知识
2024/9/6 20:17:08
Vue3 配置全局 scss 变量
variables.scss
$color: #0c8ce9;vite.config.ts // 全局css变量css: {preprocessorOptions: {scss: {additionalData: import "/styles/variables.scss";,},},},.vue 文件使用
建站知识
2024/9/21 1:54:54
Spring框架学习 -- 创建与使用
目录
(1) 创建spring 项目
① 创建maven项目
②添加spring框架支持
③ 添加启动项
(2) 创建 Bean对象
(3) 将Bean注入到容器
(4) 获取Bean对象
(5) 注意事项
(6) Spring的创建和使用流程图 创作不易多多支持 (1) 创建spring 项目 首先我们使用的开发工具为idea 专业版…
建站知识
2024/9/7 7:08:11
Linux pcie AER
Linux内核AER内核驱动代码路径:(CONFIG_PCIEAER_INJECTy or CONFIG_PCIEAER_INJECTm) drivers/pci/pcie/aer_inject.c(如果系统中已经将该模块编译,modprobe aer_inject加载驱动即可)
用户态控制程序repo: https://gi…
建站知识
2024/9/12 5:40:39
No appropriate protocol -- Mysql
DataGrip连接mysql报以下异常信息:
javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
The following required algorithms might be disabled: SSLv3, TLSv1, TLSv1.1, RC4, DES, MD5wi…
建站知识
2024/9/8 8:56:10
Python简直是万能的,这5大主要用途你一定要知道!
从2015开始国内就开始慢慢接触Python了,从16年开始Python就已经在国内的热度更高了,目前也可以算的上"全民Python"了。
众所周知小学生的教材里面已经有Python了,国家二级计算机证也需要学习Python了!
因为Python简单…
建站知识
2024/9/8 17:14:15