会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ThisCall
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
69
70
71
72
73
74
75
76
77
···
129
下一页
2019年7月27日
@MapperScan和@ComponentScan的区别
摘要: 区别 今天在撸SpringBoot的时候,突然对注解产生了混淆,@MapperScan和@ComponentScan都是扫描包,二者之间有什么区别呢? 首先,@ComponentScan是组件扫描注解,用来扫描@Controller @Service @Repository这类,主要就是定义扫描的路
阅读全文
posted @ 2019-07-27 15:30 ThisCall
阅读(2059)
评论(0)
推荐(0)
2019年7月26日
@Component,@Service,@Controller,@Repository
摘要: 1、@controller 控制器(注入服务) 2、@service 服务(注入dao) 3、@repository dao(实现dao访问) 4、@component (把普通pojo实例化到spring容器中,相当于配置文件中的<bean id="" class=""/>) @Component
阅读全文
posted @ 2019-07-26 16:25 ThisCall
阅读(292)
评论(0)
推荐(0)
前端瀑布流
摘要: http://www.imooc.com/learn/1141
阅读全文
posted @ 2019-07-26 13:34 ThisCall
阅读(134)
评论(0)
推荐(0)
参数类型 (@Test层)常用参数
摘要: long lNum = 1234L; float fNum = 1.23f; double dNum = 1.23d;
阅读全文
posted @ 2019-07-26 11:52 ThisCall
阅读(704)
评论(0)
推荐(0)
微信小程序开发工具“当前系统代理不是安全代理”
摘要: (1)删除注册表中以proxy开头的项目再次重启 regedit进入[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Internet Settings] ,删除注册表中以proxy开头的项目
阅读全文
posted @ 2019-07-26 09:04 ThisCall
阅读(694)
评论(0)
推荐(0)
2019年7月25日
'com.example.mybatisplus.mapper.PersonMapper' that could not be found.
摘要: 通常有两种原因,配置原因,或者是mapper相关文件,mapper.java或 mapper.xml内部错误 如果是配置原因 解决方式1 统一配置mapper 解决方式2 每个mapper文件配置@Mapper 两者可以结合使用
阅读全文
posted @ 2019-07-25 18:08 ThisCall
阅读(3401)
评论(0)
推荐(0)
参数类型 (Mapper.java)常用
摘要: 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
阅读(1246)
评论(0)
推荐(0)
参数类型 (实体类层)eneity或pojo 常用参数类型
摘要: /** * 账单金额 */ 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
阅读(713)
评论(0)
推荐(0)
参数类型 (@Controller层)
摘要: 复杂参数,实体类参数 springMVC中的注解@RequestParam与@PathVariable的区别 在SpringMVC后台控制层获取参数的方式主要有两种: 一种是request.getParameter("name"),另外一种是用注解@RequestParam直接获取 这里主要讲这个注
阅读全文
posted @ 2019-07-25 15:11 ThisCall
阅读(723)
评论(0)
推荐(0)
参数类型 (@Service层) impl
摘要: 复杂参数,自定义实体类
阅读全文
posted @ 2019-07-25 14:45 ThisCall
阅读(598)
评论(0)
推荐(0)
上一页
1
···
69
70
71
72
73
74
75
76
77
···
129
下一页
公告