BpmInstDeleteLogMapper.xml 1.3 KB
<?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.hotent.bpm.persistence.dao.BpmInstDeleteLogDao">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.hotent.bpm.persistence.model.BpmInstDeleteLog">
    <result column="ID_" property="id" />
    <result column="FULLNAME_" property="fullname" />
    <result column="ACCOUNT_" property="account" />
    <result column="DELETE_TIME_" property="deleteTime" />
    <result column="INST_SUBJECT_" property="instSubject" />
    <result column="CONTENT_" property="content" />
    </resultMap>

    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        ID_, FULLNAME_, ACCOUNT_, DELETE_TIME_, INST_SUBJECT_, CONTENT_
    </sql>

	<select id="selectPage" resultMap="BaseResultMap">
		select
			<include refid="Base_Column_List"/>
		from
			bpm_inst_delete_log
		${ew.customSqlSegment}
	</select>

	<select id="selectList" resultMap="BaseResultMap">
		select
			<include refid="Base_Column_List"/>
		from
			bpm_inst_delete_log
		${ew.customSqlSegment}
	</select>

	<select id="selectById" resultMap="BaseResultMap">
		select
			<include refid="Base_Column_List"/>
		from
			bpm_inst_delete_log
		where
	</select>
</mapper>