会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
y海涛
博客园
首页
新随笔
联系
订阅
管理
2021年4月22日
@Resource 与@Autowired 区别
摘要: @Resource与@Autowired两个的作用是相同的,很多人因为个人习惯选择用的不同,但是他们两个本质上还有有一定的区别的,可以参考区别来选择具体用哪一个: @Autowired与@Resource都可以用来装配bean. 都可以写在字段上,或写在setter方法上 @Resource的作用相
阅读全文
posted @ 2021-04-22 16:02 y海涛
阅读(103)
评论(0)
推荐(0)
2020年12月7日
perlist
摘要: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 6 <title>权限管理</title> 7 <#include
阅读全文
posted @ 2020-12-07 14:14 y海涛
阅读(121)
评论(0)
推荐(0)
2020年12月6日
重新加载
摘要: 1 @RequestMapping("/reload") 2 @ResponseBody 3 public JsonResult reload(){ 4 JsonResult js = new JsonResult(); 5 try { 6 //获取数据库中的所有权限 7 List<String>
阅读全文
posted @ 2020-12-06 18:06 y海涛
阅读(786)
评论(0)
推荐(0)
2020年12月5日
MyFreeMarkerConfigurer
摘要: public class MyFreeMarkerConfigurer extends FreeMarkerConfigurer { @Override public void afterPropertiesSet() throws IOException, TemplateException {
阅读全文
posted @ 2020-12-05 19:27 y海涛
阅读(235)
评论(0)
推荐(0)
MyException
摘要: @ControllerAdvice public class MyException { @ExceptionHandler(UnauthorizedException.class) public String UnauthorizedException(RuntimeException e, Ha
阅读全文
posted @ 2020-12-05 15:19 y海涛
阅读(211)
评论(0)
推荐(0)
list.ftl
摘要: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 6 <title>潜在客户报表查询</title> 7 <!--f
阅读全文
posted @ 2020-12-05 15:15 y海涛
阅读(113)
评论(0)
推荐(0)
MessageUtil
摘要: 1 public abstract class MessageUtil { 2 3 public static String changeMsg(CustomerReportQueryObject qo){ 4 String msg = null; 5 switch (qo.getGroupType
阅读全文
posted @ 2020-12-05 15:08 y海涛
阅读(246)
评论(0)
推荐(0)
DateUtil
摘要: 1 public abstract class DateUtil { 2 3 public static Date getEndDate(Date endDate) { 4 if (endDate == null){ 5 return null; 6 } 7 Calendar c = Calenda
阅读全文
posted @ 2020-12-05 15:07 y海涛
阅读(82)
评论(0)
推荐(0)
2020年11月4日
QueryObject
摘要: 1 package com.ygm.aa.page.qo; 2 3 import lombok.Getter; 4 import lombok.NoArgsConstructor; 5 import lombok.Setter; 6 7 @Getter@Setter@NoArgsConstructo
阅读全文
posted @ 2020-11-04 19:44 y海涛
阅读(108)
评论(0)
推荐(0)
page
摘要: package cn.wolfcode.emp.page; import java.util.Collections; import java.util.List; import javax.management.loading.PrivateClassLoader; import lombok.G
阅读全文
posted @ 2020-11-04 19:41 y海涛
阅读(333)
评论(0)
推荐(0)
下一页
公告