摘要: 通常有两种原因,配置原因,或者是mapper相关文件,mapper.java或 mapper.xml内部错误 如果是配置原因 解决方式1 统一配置mapper 解决方式2 每个mapper文件配置@Mapper 两者可以结合使用 阅读全文
posted @ 2019-07-25 18:08 ThisCall 阅读(3393) 评论(0) 推荐(0)
摘要: UserBaseInfo selectByMobile(@Param("mobile")String mobile,@Param("isDeleted")Integer isDeleted,@Param("isEnable")Integer isEnable); List getTwoLevels(@Param("ids") List ids); UserBaseInfo getByMo... 阅读全文
posted @ 2019-07-25 17:55 ThisCall 阅读(1237) 评论(0) 推荐(0)
摘要: /** * 账单金额 */ private BigDecimal money; public String getPhone() { return phone; } public void setPhone(String phone) { this.phone = phone == null ? n 阅读全文
posted @ 2019-07-25 16:25 ThisCall 阅读(705) 评论(0) 推荐(0)
摘要: 复杂参数,实体类参数 springMVC中的注解@RequestParam与@PathVariable的区别 在SpringMVC后台控制层获取参数的方式主要有两种: 一种是request.getParameter("name"),另外一种是用注解@RequestParam直接获取 这里主要讲这个注 阅读全文
posted @ 2019-07-25 15:11 ThisCall 阅读(716) 评论(0) 推荐(0)
摘要: 复杂参数,自定义实体类 阅读全文
posted @ 2019-07-25 14:45 ThisCall 阅读(593) 评论(0) 推荐(0)
摘要: 复杂参数,自定义实体类参数 阅读全文
posted @ 2019-07-25 14:41 ThisCall 阅读(1278) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/yu_hongrun/article/details/81708762 阅读全文
posted @ 2019-07-25 14:25 ThisCall 阅读(304) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/scode2/p/8718553.html 阅读全文
posted @ 2019-07-25 11:56 ThisCall 阅读(179) 评论(0) 推荐(0)
摘要: 我们关注核心的一句报错:No qualifying bean of type [com.dotwin.client.api.Human] is defined: expected single matching bean but found 2: manImpl,womanImpl。意思就是我们有两 阅读全文
posted @ 2019-07-25 11:43 ThisCall 阅读(155) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_15071263/article/details/78459087 1. 警告解读 1如果你的springboot项目报了这个警告,那么你的项目会无法正常运行。 // 该警告解释为 : ApplicationContext 不能从一个组件的默认包启动 阅读全文
posted @ 2019-07-25 10:51 ThisCall 阅读(341) 评论(0) 推荐(0)