gtsoft-snail-job-server/x-retry-server/src/main/resources/mapper/NotifyConfigMapper.xml

20 lines
1.2 KiB
XML
Raw Normal View History

2023-01-14 21:02:18 +08:00
<?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.NotifyConfigMapper">
<resultMap id="BaseResultMap" type="com.x.retry.server.persistence.mybatis.po.NotifyConfig">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="group_name" jdbcType="VARCHAR" property="groupName" />
<result column="notify_type" jdbcType="TINYINT" property="notifyType" />
<result column="notify_address" jdbcType="VARCHAR" property="notifyAddress" />
<result column="notify_threshold" jdbcType="TINYINT" property="notifyThreshold" />
<result column="notify_scene" jdbcType="TINYINT" property="notifyScene" />
<result column="description" jdbcType="VARCHAR" property="description" />
<result column="create_dt" jdbcType="TIMESTAMP" property="createDt" />
<result column="update_dt" jdbcType="TIMESTAMP" property="updateDt" />
</resultMap>
<sql id="Base_Column_List">
id, group_name, notify_type, notify_address, notify_threshold, notify_scene, description,
create_dt, update_dt
</sql>
</mapper>