自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 SSM中的常用注解

1. @Component 创建类对象,相当于配置<bean/>2. @Service 与@Component 功能相同.2.1 写在 ServiceImpl 类上.3. @Repository 与@Component 功能相同.3.1 写在数据访问层类上.4. @Controller 与@Component 功能相同.4.1 写在控制器类上.5. @Reso...

2019-11-22 10:17:33 128 1

原创 log4j配置

log4j.rootCategory=ERROR,CONSOLE,dailyFilelog4j.logger.org.mybatis =DEBUGlog4j.logger.com.xlh.mapper=DEBUGlog4j.appender.CONSOLE=org.apache.log4j.ConsoleAppenderlog4j.appender.CONSOLE.layout=org...

2019-11-22 10:03:06 68

原创 springMVC的配置

<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springfra...

2019-11-22 10:02:47 96

原创 Spring配置

头标签:<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="h...

2019-11-22 09:47:21 49

原创 MyBatis逆向工程

查询selectByExample(TbItemDescExample example)具体可设置的条件很多很多,根据表的结构的不同会有不同的可限制条件selectByPrimaryKey(Long itemId)通过主键进行查询插入:insert(TbItem tbItem) 插入对象可能会插入null数据覆盖了默认值insertS...

2019-10-23 21:41:19 60

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除