摘要: SELECT SUM(CASE WHEN a.预算类型代码='1' THEN 1 ELSE 0 END) AS 一般公共预算, SUM(CASE WHEN a.预算类型代码='2' THEN 1 ELSE 0 END) AS 政府基金预算, SUM(CASE WHEN a.预算类型代码='3' TH 阅读全文
posted @ 2020-06-24 16:26 你的城市没有雨 阅读(1007) 评论(1) 推荐(0) 编辑
摘要: https://blog.csdn.net/xmtblog/article/details/103650545 阅读全文
posted @ 2020-01-08 10:12 你的城市没有雨 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 出现此问题原因: 是由于默认的 MySQL 配置中 sql_mode 配置了 only_full_group,需要 GROUP BY 中包含所有 在 SELECT 中出现的字段。 only_full_group_by说明:only_full_group_by :使用这个就是使用和oracle一样的g 阅读全文
posted @ 2019-12-30 17:09 你的城市没有雨 阅读(515) 评论(0) 推荐(0) 编辑
摘要: PageHelper.startPage(pageNum, pageSize, sortColumn); List<UcUser> list = userMapper.queryUcUserAll(); PageInfo<UcUser> pageInfo = new PageInfo<>(list) 阅读全文
posted @ 2019-11-27 10:23 你的城市没有雨 阅读(254) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-11-27 10:04 你的城市没有雨 阅读(2) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-11-27 09:52 你的城市没有雨 阅读(18) 评论(0) 推荐(1) 编辑
摘要: @GetMapping 用于将HTTP GET请求映射到特定处理程序方法的注释。 具体来说,@GetMapping是一个作为快捷方式的组合注释@RequestMapping(method = RequestMethod.GET)。 @PostMapping 用于将HTTP POST请求映射到特定处理 阅读全文
posted @ 2019-06-25 17:45 你的城市没有雨 阅读(5134) 评论(0) 推荐(0) 编辑
摘要: 今天在服务器安装了mysql,准备用mysqlguitools远程登录的时候出错,提示:Host 'xxx' is not allowed to connect to this MySQL server。网上找了一些资料,是mysql未开启mysql远程访问权限导致。 记录解决方案供以后参考。: 1 阅读全文
posted @ 2019-06-12 17:24 你的城市没有雨 阅读(305) 评论(0) 推荐(0) 编辑
摘要: SqlMapConfig.xml(MyBatis配置文件) IUserDao.java(接口) Test.java(测试类) 阅读全文
posted @ 2019-05-29 20:42 你的城市没有雨 阅读(265) 评论(0) 推荐(0) 编辑
摘要: User.hbm.xml Role.hbm.xml hibernate.cfg.xml Demo.java 阅读全文
posted @ 2019-05-27 20:22 你的城市没有雨 阅读(198) 评论(0) 推荐(0) 编辑