[ server ] [ execution ]- execution log persistence accomplish
This commit is contained in:
24
server/src/main/resources/mapper/ExecutionLogMapper.xml
Normal file
24
server/src/main/resources/mapper/ExecutionLogMapper.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?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="io.wdd.server.mapper.ExecutionLogMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="io.wdd.server.beans.po.ExecutionLogPO">
|
||||
<id property="id" column="id" jdbcType="BIGINT"/>
|
||||
<result property="agentTopicName" column="agent_topic_name" jdbcType="VARCHAR"/>
|
||||
<result property="resultKey" column="result_key" jdbcType="VARCHAR"/>
|
||||
<result property="acTime" column="ac_time" jdbcType="TIMESTAMP"/>
|
||||
<result property="resultCode" column="result_code" jdbcType="INTEGER"/>
|
||||
<result property="type" column="type" jdbcType="VARCHAR"/>
|
||||
<result property="commandList" column="command_list" jdbcType="VARCHAR"/>
|
||||
<result property="resultContent" column="result_content" jdbcType="VARCHAR"/>
|
||||
<result property="recordId" column="record_id" jdbcType="VARCHAR"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,agent_topic_name,result_key,
|
||||
ac_time,result_code,type,
|
||||
command_list,result_content,record_id
|
||||
</sql>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user