28 lines
1.6 KiB
XML
28 lines
1.6 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.cool.store.mapper.LineFollowLogMapper">
|
|
<resultMap id="BaseResultMap" type="com.cool.store.entity.LineFollowLogDO">
|
|
<id column="id" jdbcType="BIGINT" property="id" />
|
|
<result column="partner_id" jdbcType="VARCHAR" property="partnerId" />
|
|
<result column="line_id" jdbcType="BIGINT" property="lineId" />
|
|
<result column="operate_user_id" jdbcType="VARCHAR" property="operateUserId" />
|
|
<result column="operate_username" jdbcType="VARCHAR" property="operateUsername" />
|
|
<result column="workflow_stage" jdbcType="TINYINT" property="workflowStage" />
|
|
<result column="workflow_sub_stage" jdbcType="TINYINT" property="workflowSubStage" />
|
|
<result column="workflow_sub_stage_status" jdbcType="TINYINT" property="workflowSubStageStatus" />
|
|
<result column="message" jdbcType="VARCHAR" property="message" />
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
<result column="deleted" jdbcType="BIT" property="deleted" />
|
|
<result column="type" jdbcType="TINYINT" property="type"/>
|
|
</resultMap>
|
|
|
|
<select id="getFollowLogPage" resultMap="BaseResultMap">
|
|
select
|
|
id, partner_id, line_id, operate_user_id, operate_username, workflow_stage, workflow_sub_stage, workflow_sub_stage_status, message, create_time,type
|
|
from
|
|
xfsg_line_follow_log
|
|
where
|
|
line_id = #{lineId} and deleted = '0' and type = #{type} order by create_time desc
|
|
</select>
|
|
</mapper> |