Java创建线程两种方法 1. 继承Thread类 package com.lu.thread; //创建线程方法之一 //1. 继承Thread类 //2. 重写run()方法 //3. 调用start()方法开启线程 public class ThreadDemo1 extends Thread ...
分类:
编程语言 时间:
2021-03-10 13:20:14
阅读次数:
0
1.分页查询 ①配置类中追加分页插件 //注册分页插件 @Bean public PaginationInterceptor paginationInterceptor() { return new PaginationInterceptor(); } ②测试分页查询 //测试分页查询 @Test ...
分类:
其他好文 时间:
2021-03-10 13:13:53
阅读次数:
0
用了一段时间的 python 的 django 框架,在修改 sqlite 数据库的时候遇到如下错误:django.db.utils.IntegrityError: NOT NULL constraint failed: new__ImageRecognition_answercx.user_id ...
分类:
数据库 时间:
2021-03-10 13:09:41
阅读次数:
0
JS 创建对象的几种方式 new Object()构造函数 ? var student1 = new Object(); ? student.name = "zs"; ? student.id = 123; ? student.message = function(){ ? console.log( ...
分类:
Web程序 时间:
2021-03-10 13:09:27
阅读次数:
0
参考:git 如何修改本地分支名称与远程分支名称 修改本地分支名: git branch -m old_name new_name 删除远程分支: git push origin :old_name 重新创建一个新的远程分支 也就是将你现在所在的分支,再push一遍 git push origin ...
分类:
其他好文 时间:
2021-03-10 13:01:41
阅读次数:
0
The USB-Link 2, the next generation vehicle interface from NEXIQ Technologies, has arrived. Dependable and rugged at Autonumen.com, the new USB-Link 2 ...
分类:
其他好文 时间:
2021-03-10 13:00:43
阅读次数:
0
var filePath = @"c:\doc\1.txt"; var dirPath1 = @"c:\music\"; var dirPath2 = @"c:\movie"; #路径拼接 Console.WriteLine(Path.Combine(dirPath1, "a.mp3")); //c ...
1.在数据库中新建查询,NewFile是数据库名称(可更改),.mdf,.ldf放在对应得C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA对应得数据文件下,执行脚本即可 USE master;GOCREATE D ...
分类:
数据库 时间:
2021-03-10 12:56:56
阅读次数:
0
1.题目描述 将一个给定字符串 s 根据给定的行数 numRows ,以从上往下、从左到右进行 Z 字形排列。 2.示例 示例1:输入字符串为 "PAYPALISHIRING" 行数为 3 时,排列如下: P A H N A P L S I I G Y I R 之后,你的输出需要从左往右逐行读取,产 ...
分类:
其他好文 时间:
2021-03-10 12:56:39
阅读次数:
0
###基于vue2的垂直跑马灯(广播消息轮播组件) npm install vue-marquee new Vue({ el: 'body', data: function(){ return { listData: ['item1', 'item2', 'item3'] } }, componen ...
分类:
其他好文 时间:
2021-03-09 13:56:40
阅读次数:
0