随笔分类 -  重学Java

上一页 1 2 3 4 5 6 ··· 19 下一页
摘要:1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2021-07-23 15:12 yub4by 阅读(55) 评论(0) 推荐(0) 编辑
摘要:userMapper.xml + <!--根据id进行查询--> <select id="findById" resultType="user" parameterType="int"> select * from user where id=#{id} </select> 1 MybatisTes 阅读全文
posted @ 2021-07-22 23:35 yub4by 阅读(43) 评论(0) 推荐(0) 编辑
摘要:1 <?xml version="1.0" encoding="UTF-8" ?> 2 <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-conf 阅读全文
posted @ 2021-07-22 23:21 yub4by 阅读(45) 评论(0) 推荐(0) 编辑
摘要:1 <?xml version="1.0" encoding="UTF-8" ?> 2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" 阅读全文
posted @ 2021-07-22 22:45 yub4by 阅读(56) 评论(0) 推荐(0) 编辑
摘要:简介 快速入门 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-in 阅读全文
posted @ 2021-07-22 17:43 yub4by 阅读(51) 评论(0) 推荐(0) 编辑
摘要:代码+环境同10.2 以下仅说明不同的地方 1 package com.haifei.service; 2 3 import com.haifei.dao.AccountDao; 4 import org.springframework.beans.factory.annotation.Autowi 阅读全文
posted @ 2021-07-22 16:38 yub4by 阅读(63) 评论(0) 推荐(0) 编辑
摘要:1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2021-07-22 15:04 yub4by 阅读(52) 评论(0) 推荐(0) 编辑
摘要:快速入门 代码实现 1 package com.haifei.anno; 2 3 /** 4 * 目标接口 5 */ 6 public interface TargetInterface { 7 8 public void save(); 9 10 } 1 package com.haifei.an 阅读全文
posted @ 2021-07-22 12:08 yub4by 阅读(46) 评论(0) 推荐(0) 编辑
摘要:快速入门 代码实现 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema- 阅读全文
posted @ 2021-07-21 22:20 yub4by 阅读(64) 评论(0) 推荐(0) 编辑
摘要:概述 JDK的动态代理 1 package com.haifei.proxy.jdk; 2 3 /** 4 * 目标类接口 5 */ 6 public interface TargetInterface { 7 8 public void save(); 9 10 } 1 package com.h 阅读全文
posted @ 2021-07-21 21:19 yub4by 阅读(34) 评论(0) 推荐(0) 编辑
摘要:1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2021-07-21 17:09 yub4by 阅读(66) 评论(0) 推荐(0) 编辑
摘要:1 package com.haifei.interceptor; 2 3 import com.haifei.domain.User; 4 import org.springframework.web.servlet.HandlerInterceptor; 5 6 import javax.ser 阅读全文
posted @ 2021-07-20 23:01 yub4by 阅读(94) 评论(0) 推荐(0) 编辑
摘要:1 <%-- 2 Created by IntelliJ IDEA. 3 User: yubaby 4 Date: 2021/7/20 5 Time: 21:39 6 To change this template use File | Settings | File Templates. 7 -- 阅读全文
posted @ 2021-07-20 21:39 yub4by 阅读(62) 评论(0) 推荐(0) 编辑
摘要:用户列表展示 用户添加 用户删除 代码实现 1 package com.haifei.domain; 2 3 import java.util.List; 4 5 public class User { 6 7 private Long id; 8 private String username; 阅读全文
posted @ 2021-07-19 20:42 yub4by 阅读(258) 评论(0) 推荐(0) 编辑
摘要:角色和用户关系分析 角色列表展示功能 角色添加功能 代码实现 1 package com.haifei.domain; 2 3 public class Role { 4 5 private Long id; 6 private String roleName; 7 private String r 阅读全文
posted @ 2021-07-19 16:14 yub4by 阅读(129) 评论(0) 推荐(0) 编辑
摘要:1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2021-07-19 16:13 yub4by 阅读(54) 评论(0) 推荐(0) 编辑
摘要:1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2021-07-18 11:24 yub4by 阅读(66) 评论(0) 推荐(0) 编辑
摘要:文件上传客户端三要素&原理 单文件上传 1 pom.xml 2 3 + 4 5 <!--fileupload和io坐标,用于文件上传--> 6 <dependency> 7 <groupId>commons-fileupload</groupId> 8 <artifactId>commons-fil 阅读全文
posted @ 2021-07-17 21:45 yub4by 阅读(42) 评论(0) 推荐(0) 编辑
摘要:自定义类型转换器 1 package com.haifei.converter; 2 3 import org.springframework.core.convert.converter.Converter; 4 5 import java.text.ParseException; 6 impor 阅读全文
posted @ 2021-07-17 19:54 yub4by 阅读(57) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 19 下一页
点击右上角即可分享
微信分享提示