![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
木有会
人一能之,己百之。人十能之,己千之。果能此道矣,虽愚必明,虽柔必强。
展开
-
【springboot】Valid接收xNumber参数不为空也报错的问题
接收xNumber字段,设置了notEmpty,结果一直提示收到的字段为空 查了一大圈原因都没找到 最后把xNumber改成numberX后可以了! 真是开了眼了!原创 2022-03-21 16:12:26 · 323 阅读 · 0 评论 -
【JPA】SpringBoot JPA 使用GroupBy 进行分组查询
转自https://blog.csdn.net/winnershili/article/details/80695218 首先建立一个实体 装数据用 public class OrderGoods { private Goods goods; private Integer year = 0; //年份 private Integ...转载 2019-07-02 13:52:30 · 11624 阅读 · 0 评论