控制器注解参数判空 调用效果展示 ## 正常 { "id": 14, "name": "张三", "sex": "男" } ## 姓名不能为空 { "code": -1, "message": "姓名不能为空", "data": null } ## 性别不能为空 { "code": -1, "mes ...
分类:
其他好文 时间:
2021-06-02 13:13:35
阅读次数:
0
照抄自:https://www.jianshu.com/p/c6d4095f5833 spring 事务传播行为之嵌套事务NESTED细节 经过我之前的实践,可以看出 NESTED事务申明在调用者上会新建一个独立事务。申明在被调用者上,若调用者存在事务则加入调用者事务。调用者不存在事务则新建一个独立 ...
分类:
编程语言 时间:
2021-06-02 13:05:16
阅读次数:
0
#话不多说直接上代码 #include <pcl/point_cloud.h> #include <pcl/octree/octree_pointcloud_changedetector.h> #include <iostream> #include <vector> #include <ctime ...
分类:
其他好文 时间:
2021-06-02 12:48:57
阅读次数:
0
如何在MySQL下查询连续的时间内登录的次数? 原文链接:http://www.oschina.net/question/573517_118821 首先建表,填充测试数据: CREATE TABLE `tmysql_test_lianxu_3` ( `id` int(11) NOT NULL AU ...
分类:
数据库 时间:
2021-06-02 12:47:05
阅读次数:
0
"合成大西瓜"这个游戏在年前很火热,还上过微博热搜,最近便玩了一阵还挺有意思的,所以研究了一下小球碰撞原理,自己亲自手写碰撞算法来实现一个合成大西瓜游戏.并支持任意大小布局,你想玩多大面积,就拖多大面积,只要面积够大,认真玩下去,合100个大西瓜都可以.哈哈~~~ 1.游戏介绍 游戏里面总共有11个 ...
分类:
其他好文 时间:
2021-06-02 12:23:19
阅读次数:
0
简介 使用BFS算法 不知道莫名超时了 code class Solution { public: struct point{ int i; int j; point(int i_, int j_){ i = i_; j = j_; } }; void bfs(int i, int j, vecto ...
分类:
其他好文 时间:
2021-05-25 18:29:12
阅读次数:
0
public class Point { int x; int y; public Point(int x0, int y0) { super(); this.x = x0; this.y = y0; } public Point() { super(); } public void movePoi ...
分类:
其他好文 时间:
2021-05-25 18:20:04
阅读次数:
0
Map 实现类之一:HashMap?HashMap是 Map 接口 使用频率最高的实现类。?允许使用null键和null值,与HashSet一样,不保证映射的顺序。?所有的key构成的集合是Set:无序的、不可重复的。所以,key所在的类要重写:equals()和hashCode()?所有的valu ...
分类:
其他好文 时间:
2021-05-25 18:06:36
阅读次数:
0
public class Singleton { private volatile static Singleton singleton; private Singleton (){} public static Singleton getSingleton() { if (singleton == ...
分类:
其他好文 时间:
2021-05-25 18:05:10
阅读次数:
0
一、插件介绍: 法宣在线刷积分、法宣在线刷题、法宣在线刷考试、法宣在线刷5000分 二、主要功能: 1、自动刷积分 2、自动刷题 3、刷考试 软件下载:https://wukongstudio.lanzoui.com/b01ic420d 软件运行界面截图: 三、主要原理: 主要是通过浏览器安装用户脚 ...
分类:
其他好文 时间:
2021-05-25 18:04:25
阅读次数:
0