09 2021 档案

摘要:Mybatis-spring-boot-starter简介 一、maven配置 <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> < 阅读全文
posted @ 2021-09-30 10:48 mtgold 阅读(4776) 评论(0) 推荐(1)
摘要:43.1 Entity Graph Basics You can create entity graphs statically by using annotations or a deployment descriptor, or dynamically by using standard int 阅读全文
posted @ 2021-09-29 14:12 mtgold 阅读(245) 评论(0) 推荐(0)
摘要:postgreSQL常用命令 su postgres #postgres默认用户 ​ psql -U postgres #进入客户端 ​ psql frs #进入客户端并连接到frs \l #查看数据库 \d [table_name] #显示表结构 \c frs #连接其它数据库 \q #退出 # 阅读全文
posted @ 2021-09-28 16:29 mtgold 阅读(127) 评论(0) 推荐(0)
摘要:一、基本命令: 1、镜像命令 docker images #查看镜像 docker search mysql:5.7.0 #搜索镜像 docker pull [image_name:[latest(默认)/ver]] #下载镜像 docker pull ubuntu #默认下载ubuntu:late 阅读全文
posted @ 2021-09-28 15:17 mtgold 阅读(445) 评论(0) 推荐(0)
摘要:MapStruct 简介 两个对象之间的数据映射。 设有两个相似的汽车类Cat.java 及 CarDto.java public class Car { private String make; private int numberOfSeats; private CarType type; // 阅读全文
posted @ 2021-09-27 10:56 mtgold 阅读(170) 评论(0) 推荐(0)
摘要:一、加载图片数据 from os import listdir from os.path import isdir from PIL import Image from matplotlib import pyplot from numpy import savez_compressed from 阅读全文
posted @ 2021-09-24 14:22 mtgold 阅读(639) 评论(0) 推荐(0)
摘要:1、配置通道源 conda config --add channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ ​ conda config --add channel https://mirrors.tuna.tsinghua 阅读全文
posted @ 2021-09-23 10:38 mtgold 阅读(167) 评论(0) 推荐(0)
摘要:CentOS 默认源不包含Redis. Remi 源中安装 Redis 5.0.2 . 开启 Remi repository: sudo yum install epel-release yum-utils sudo yum install http://rpms.remirepo.net/ente 阅读全文
posted @ 2021-09-22 16:22 mtgold 阅读(255) 评论(0) 推荐(0)