1.连接数据库 2.编写groovy文件 连接成功之后,会在右侧看见数据库的表,如下图所示 右键点击表,可以看到generate POJOs.groovy 但用这种方法生成的pojo对象是没有注释的,而且也缺少一些的注解,所以需要用我们自己编写的groovy文件,点击Generate POJOs.g ...
分类:
数据库 时间:
2020-04-19 19:46:22
阅读次数:
247
Problem : A self dividing number is a number that is divisible by every digit it contains. For example, 128 is a self dividing number because 128 % 1 ...
分类:
其他好文 时间:
2020-04-19 09:12:52
阅读次数:
59
我们很多时候会不自觉的在js代码里对一个字符串进行如下操作: str.contains("substr"); 但是js里面没有这个contains方法,这是后台的方法,而js提供了另一个方法indexOf: var ceshi = str.indexOf("substr") if(ceshi != ...
分类:
其他好文 时间:
2020-04-18 15:28:51
阅读次数:
83
mysql> select ts_code, max(end_date), debt_to_assets from tushare.fina_indicator group by ts_code; ERROR 1055 (42000): Expression #2 of SELECT list is ...
分类:
其他好文 时间:
2020-04-18 11:59:16
阅读次数:
76
列举大家平时在工作中最容易犯的几个并发错误,都是在实际项目代码中看到的鲜活例子,希望对大家有帮助。 First Blood 线上总是出现:ERROR 1062 (23000) Duplicate entry 'xxx' for key 'yyy',我们来看一下有问题的这段代码: UserBindIn ...
分类:
其他好文 时间:
2020-04-18 10:13:57
阅读次数:
124
question1: An error occured while deploying the file.This probably means that the app contains ARM native code and your Genymotion device cannot run A ...
分类:
其他好文 时间:
2020-04-16 13:33:25
阅读次数:
253
Problem Description Give you two numbers A and B, if A is equal to B, you should print "YES", or print "NO". Input each test case contains two numbers ...
分类:
其他好文 时间:
2020-04-14 20:21:08
阅读次数:
70
题目 An army of ants walk on a horizontal pole of length l cm, each with a constant speed of 1 cm/s. When a walking ant reaches an end of the pole, it i ...
分类:
其他好文 时间:
2020-04-14 15:20:24
阅读次数:
89
Signals of most probably extra-terrestrial origin have been received and digitalized by The Aeronautic and Space Administration (that must be going th ...
分类:
其他好文 时间:
2020-04-13 12:16:36
阅读次数:
87
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12684896.html 移除重复节点(148min) 题目链接:https://leetcode-cn.com/problems/remove-duplicate-node-lcci/ 示例1: 输入:[1 ...
分类:
其他好文 时间:
2020-04-12 14:51:19
阅读次数:
84