[ server ] [ execution ]- execution log persistence accomplish

This commit is contained in:
zeaslity
2023-01-13 18:10:45 +08:00
parent 8c8c445c74
commit 73b2bf0078
12 changed files with 307 additions and 63 deletions

View 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>