随笔分类 -  java

摘要:an enum switch case label must be the unqualified name of an enumeration constant EnumCommandType cmdType = EnumCommand.forCommand(command);switch (cm 阅读全文
posted @ 2022-03-22 10:02 mtgold 阅读(103) 评论(0) 推荐(0)
摘要://hbuilder调用没有context参数的方法package com.pansoft.oilgas.gaodenavigation; import android.widget.Toast; public class Test { public static void test(String 阅读全文
posted @ 2022-03-11 08:40 mtgold 阅读(81) 评论(0) 推荐(0)
摘要:spring,mybatis,druid,多数据源配置 一、引入包 <dependency> <groupId>com.alibaba</groupId> <artifactId>druid-spring-boot-starter</artifactId> <version>1.1.9</versi 阅读全文
posted @ 2021-12-08 17:08 mtgold 阅读(194) 评论(0) 推荐(0)
摘要:spring,mybatis,druid,多数据源配置 一、引入包 <dependency> <groupId>com.alibaba</groupId> <artifactId>druid-spring-boot-starter</artifactId> <version>1.1.9</versi 阅读全文
posted @ 2021-11-21 20:13 mtgold 阅读(423) 评论(0) 推荐(0)
摘要:spring.datasource.weight.username=sa spring.datasource.weight.password=123 spring.datasource.weight.url=jdbc:sqlserver://10.83.4.90:1433;DatabaseName= 阅读全文
posted @ 2021-11-04 14:47 mtgold 阅读(168) 评论(0) 推荐(0)
摘要: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 阅读(4756) 评论(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 阅读(239) 评论(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 阅读(166) 评论(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)