摘要:
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
阅读(46)
评论(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
阅读(49)
评论(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
阅读(65)
评论(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
阅读(56)
评论(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
阅读(67)
评论(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
阅读(64)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2021-07-22 15:03
yub4by
阅读(43)
评论(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
阅读(50)
评论(0)
推荐(0)

浙公网安备 33010602011771号