上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 92 下一页
摘要: 1 package com.haifei.domain; 2 3 import java.util.Date; 4 import java.util.List; 5 6 /** 7 * user表 8 */ 9 public class User { 10 11 private int id; 12 阅读全文
posted @ 2021-07-25 11:37 yub4by 阅读(46) 评论(0) 推荐(0)
摘要: 1 package com.haifei.domain; 2 3 import java.util.Date; 4 import java.util.List; 5 6 /** 7 * user表 8 */ 9 public class User { 10 11 private int id; 12 阅读全文
posted @ 2021-07-25 11:32 yub4by 阅读(60) 评论(0) 推荐(0)
摘要: typeHandlers标签 1 package com.haifei.domain; 2 3 import java.util.Date; 4 5 public class User { 6 7 private int id; 8 private String username; 9 privat 阅读全文
posted @ 2021-07-24 22:35 yub4by 阅读(73) 评论(0) 推荐(0)
摘要: 动态sql语句 1 package com.haifei.mapper; 2 3 import com.haifei.domain.User; 4 5 import java.util.List; 6 7 public interface UserMapper { 8 9 public List<U 阅读全文
posted @ 2021-07-23 23:33 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-23 15:12 yub4by 阅读(60) 评论(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 阅读(51) 评论(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 阅读(50) 评论(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 阅读(72) 评论(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 阅读(63) 评论(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 阅读(69) 评论(0) 推荐(0)
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 92 下一页