8 changed files with 41 additions and 3 deletions
@ -0,0 +1,8 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||||
|
<!DOCTYPE mapper |
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||||
|
<mapper namespace="com.jd.springboot.depositModel.Dao.DbDao"> |
||||||
|
<insert id="addData"/> |
||||||
|
<select id="findData" resultType="com.jd.springboot.depositModel.ModelClass.POJO.UserModel"/> |
||||||
|
</mapper> |
||||||
@ -0,0 +1,9 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||||
|
xmlns:context="http://www.springframework.org/schema/context" |
||||||
|
xmlns="http://www.springframework.org/schema/beans" |
||||||
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd"> |
||||||
|
|
||||||
|
<!-- 定义装配 --> |
||||||
|
<context:component-scan base-package="com.jd.springboot"/> |
||||||
|
</beans> |
||||||
Loading…
Reference in new issue