35 lines
1.5 KiB
XML
35 lines
1.5 KiB
XML
<?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.packing.mapper.PrintModelMapper">
|
|
|
|
<resultMap type="com.cnbm.packing.entity.PrintModel" id="PrintModelMap">
|
|
<id column="ID" property="id" />
|
|
<id column="CODE" property="code" />
|
|
<id column="NAME" property="name" />
|
|
<id column="ENABLED" property="enabled" />
|
|
<id column="CREATOR_ID" property="creatorId" />
|
|
<id column="CREATOR_NAME" property="creatorName" />
|
|
<id column="CREATE_TIME" property="createTime" />
|
|
<id column="UPDATER_ID" property="updaterId" />
|
|
<id column="UPDATER_NAME" property="updaterName" />
|
|
<id column="UPDATE_TIME" property="updateTime" />
|
|
<id column="VERSION" property="version" />
|
|
<id column="VALID" property="valid" />
|
|
<id column="REMARK" property="remark" />
|
|
<id column="TYPE" property="type" />
|
|
<id column="IS_DEFAULT" property="isDefault" />
|
|
<id column="IS_PREVIEW" property="isPreview" />
|
|
<id column="CONTENT" property="content" />
|
|
<id column="line_body" property="lineBody" />
|
|
<id column="is_enable" property="isEnable" />
|
|
<id column="scenes" property="scenes" />
|
|
<id column="product_grade" property="productGrade" />
|
|
</resultMap>
|
|
|
|
<select id="list" resultType="com.cnbm.packing.dto.PrintModelDTO">
|
|
select * from t_print_model
|
|
order by id asc
|
|
</select>
|
|
|
|
</mapper>
|