摘要: 一、MySQL分区创建 MySQL创建方式一共有四种:range、list、hash和key。 1.range(官方文档) 1.1 int create table staff( id int(32) not null, code_ varchar(30), fname varchar(30), t 阅读全文
posted @ 2022-08-25 09:48 白snow 阅读(793) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <p>{{message}}</p> <button type="button" @click="doCopy(我是复制内容)">Copy</button> </div> </template> <script> export default { data () { 阅读全文
posted @ 2022-02-21 08:58 白snow 阅读(30) 评论(0) 推荐(0) 编辑
摘要: import java.io.File; import java.io.IOException; public class rname { public static void main(String[] args) throws IOException{ { File oldFile = new 阅读全文
posted @ 2022-02-15 14:08 白snow 阅读(116) 评论(0) 推荐(0) 编辑
摘要: import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutpu 阅读全文
posted @ 2022-02-15 09:51 白snow 阅读(49) 评论(0) 推荐(0) 编辑
摘要: public class filename { public static void main(String[] args) { File file = new File("/Users/pankaj/book.txt"); System.out.println("File extension is 阅读全文
posted @ 2022-01-28 17:11 白snow 阅读(161) 评论(0) 推荐(0) 编辑
摘要: var jsons={北京市:[116.46,39.92], 北京:[116.46,39.92], 平谷区:[117.1,40.13], 密云区:[116.85,40.37], 顺义区:[116.65,40.13], 通州区:[116.66,39.91], 怀柔区:[116.62,40.32], 大 阅读全文
posted @ 2022-01-25 16:18 白snow 阅读(1922) 评论(0) 推荐(0) 编辑
摘要: 后端: @GetMapping("/down") public void fileinfo(String path,HttpServletRequest request, HttpServletResponse response) { // 其余处理略 InputStream inputStream 阅读全文
posted @ 2022-01-25 10:47 白snow 阅读(678) 评论(0) 推荐(0) 编辑
摘要: 接口类(CodeEnum): public interface CodeEnum { //状态码 public int getCode(); //返回信息 public String getMessage(); } 实现类(CodeEnumEntity): public enum CodeEnumE 阅读全文
posted @ 2022-01-24 13:37 白snow 阅读(161) 评论(0) 推荐(0) 编辑
摘要: --1.列出至少有一个雇员的所有部门select dname from dept where deptno in (select deptno from emp);--2.列出薪金比"SMITH"多的所有雇员select ename from emp where sal>(select sal fr 阅读全文
posted @ 2021-12-03 09:31 白snow 阅读(278) 评论(0) 推荐(0) 编辑
摘要: String类型 set key value O(1) 设置key对应string类型的值,返回1表示成功,0失败。 setnx key value O(1) 如果key不存在,设置key对应string类型的值。如果key已经存在,返回0。 get key O(1) 获取key对应的string值 阅读全文
posted @ 2021-12-02 09:09 白snow 阅读(556) 评论(0) 推荐(0) 编辑