https://mp.weixin.qq.com/s/WRChpQqtvrRTfT5IWXDndg 前言 官网:Mybatis-plus官方文档 简化 MyBatis ! 创建数据库 数据库名为mybatis_plus 创建表 创建user表 DROP TABLE IF EXISTS user;CR ...
分类:
其他好文 时间:
2021-02-26 13:24:28
阅读次数:
0
用户主题宽表 类似累积事实表 drop table if exists dwt_user_topic; create external table dwt_user_topic ( user_id string comment '用户 id', login_date_first string com ...
分类:
其他好文 时间:
2021-02-26 13:12:24
阅读次数:
0
检查文件是否存在、可读等等 File file = new File("out.txt") println file.exists() println file.canRead() 向文件写入文本 File file = new File("out.txt") file.write "First l ...
分类:
其他好文 时间:
2021-02-24 13:10:56
阅读次数:
0
一、Mybatis层 数据库 CREATE DATABASE `ssmbuild`; USE `ssmbuild`; DROP TABLE IF EXISTS `books`; CREATE TABLE `books` ( `bookID` INT(10) NOT NULL AUTO_INCREME ...
分类:
其他好文 时间:
2021-02-24 12:59:25
阅读次数:
0
1、创建UDF函数 假定有两个均以,作为分隔符字符串序列@m和@n。判断@m和@n是否有交集,我们可以创建如下的函数来实现,返回0为无交集,返回1为有交集。 /****** Object: UserDefinedFunction [dbo].[Func_IsInner] Script Date: 2 ...
分类:
数据库 时间:
2021-02-23 14:33:46
阅读次数:
0
1.创建空的maven项目,导如下依赖 <dependencies> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.4.5</version> </dependency> ...
分类:
其他好文 时间:
2021-02-23 14:26:33
阅读次数:
0
解法一:wait/notify和synchronized的组合 import java.util.LinkedList; import java.util.List; import java.util.concurrent.Semaphore; /** * 实现一个容器,提供add,size方法 * ...
分类:
其他好文 时间:
2021-02-22 12:43:15
阅读次数:
0
1. Window介绍 要使用Window对象,必须需要引入Window模块 import QtQuick.Window 2.12 Window对象默认是不显示窗口的,假如设置了visibility属性,那么visible默认为true,否则必须得设置"visible: true"才行. 2. Wi ...
网页请求报错: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. ...
分类:
数据库 时间:
2021-02-20 12:31:09
阅读次数:
0
之前用的 <dependency> <groupId>javax.annotation</groupId> <artifactId>jsr250-api</artifactId> <version>1.0</version> </dependency> 更改后的版本 <dependency> <gr ...
分类:
编程语言 时间:
2021-02-19 13:54:21
阅读次数:
0