10 2020 档案

摘要:list去重 @GetMapping("get") public AjaxResult list(){ List<CateType> cateTypeList=cateTypeService.list(); //过滤 //排除掉类型名为肉类的信息 List<CateType> userCommonL 阅读全文
posted @ 2020-10-26 00:51 安详的苦丁茶 阅读(276) 评论(0) 推荐(0) 编辑
摘要:错误为如下: 解决方法如下: 把远程调用的接口改为 R queryShopInfoById(@RequestParam("memberId") Integer memberId); controller层 这样就可以拿到你想要的数据了。 阅读全文
posted @ 2020-10-16 17:13 安详的苦丁茶 阅读(233) 评论(0) 推荐(0) 编辑
摘要:AbstractWrapper: /** * 使用构造器 条件查询 */ @Test public void selectOne() { AbstractWrapper wrapper = new QueryWrapper<>(); wrapper.eq("nick_name", "测试一下"); 阅读全文
posted @ 2020-10-09 11:13 安详的苦丁茶 阅读(435) 评论(0) 推荐(0) 编辑
摘要:使用springboot整合mybatis-plus(自定义sql查询) 导入依赖(注意:mybatis-plus的版本要大于3.1.2,这里使用的是3.2.0,不然会报错) pom.xml <!-- mybatis-plus--> <dependency> <groupId>com.baomido 阅读全文
posted @ 2020-10-08 18:12 安详的苦丁茶 阅读(9098) 评论(0) 推荐(1) 编辑

阅读目录(Content)

此页目录为空

点击右上角即可分享
微信分享提示