32 lines
1.6 KiB
XML
32 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.x.retry.server.persistence.mybatis.mapper.RetryTaskLogMapper">
|
||
|
<resultMap id="BaseResultMap" type="com.x.retry.server.persistence.mybatis.po.RetryTaskLog">
|
||
|
<id column="id" jdbcType="BIGINT" property="id" />
|
||
|
<result column="group_name" jdbcType="VARCHAR" property="groupName" />
|
||
|
<result column="scene_name" jdbcType="VARCHAR" property="sceneName" />
|
||
|
<result column="biz_id" jdbcType="VARCHAR" property="bizId" />
|
||
|
<result column="biz_no" jdbcType="VARCHAR" property="bizNo" />
|
||
|
<result column="executor_name" jdbcType="VARCHAR" property="executorName" />
|
||
|
<result column="args_str" jdbcType="VARCHAR" property="argsStr" />
|
||
|
<result column="ext_attrs" jdbcType="VARCHAR" property="extAttrs" />
|
||
|
<result column="retry_status" jdbcType="TINYINT" property="retryStatus" />
|
||
|
<result column="error_message" jdbcType="VARCHAR" property="errorMessage" />
|
||
|
<result column="create_dt" jdbcType="TIMESTAMP" property="createDt" />
|
||
|
</resultMap>
|
||
|
<sql id="Base_Column_List">
|
||
|
id, group_name, scene_name, biz_id, biz_no, executor_name, args_str, ext_attrs, retry_status, error_message,
|
||
|
create_dt
|
||
|
</sql>
|
||
|
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
||
|
select
|
||
|
<include refid="Base_Column_List" />
|
||
|
from retry_task_log
|
||
|
where id = #{id,jdbcType=BIGINT}
|
||
|
</select>
|
||
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
|
||
|
delete from retry_task_log
|
||
|
where id = #{id,jdbcType=BIGINT}
|
||
|
</delete>
|
||
|
</mapper>
|