摘要: 1.spring AOP 前置通知 package com.zixue.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.Reque 阅读全文
posted @ 2018-05-26 16:34 erbin_111 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 1.鉴别器 * 查询汽车表,根据类型封装成不同的对象 创建公共交通类作为基类 package com.zixue.entity; /** * 交通工具实体类 ,封装汽车表中公用的字段 * */ public class Vehicle { private int id; private String 阅读全文
posted @ 2018-05-26 10:44 erbin_111 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 1. 多对一嵌套查询映射使用案例 package com.zixue.dao; import com.zixue.annotation.MyBatisRepository; import com.zixue.entity.Emp; /** * 员工表的DAO组件 * */ @MyBatisRepos 阅读全文
posted @ 2018-05-26 07:07 erbin_111 阅读(207) 评论(0) 推荐(0) 编辑