test
This commit is contained in:
12
ym-baisc/src/main/resources/ProductTypeMapper.xml
Normal file
12
ym-baisc/src/main/resources/ProductTypeMapper.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?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.cnbm.basic.mapper.ProductTypeMapper">
|
||||
|
||||
<select id="page" resultType="com.cnbm.basic.dto.ProductTypeDTO">
|
||||
select *
|
||||
from product_type
|
||||
<where>
|
||||
id = #{params.get("id")}
|
||||
</where>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user