This commit is contained in:
2022-07-05 09:52:58 +08:00
parent 8159ffc509
commit 0dc10a669f
4 changed files with 39 additions and 2 deletions

View 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>