mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-07 06:02:07 +08:00
初始化3.0.0版本
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?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.xiaojukeji.know.streaming.km.persistence.mysql.health.HealthCheckResultDAO">
|
||||
<resultMap id="ClusterPhyMap" type="com.xiaojukeji.know.streaming.km.common.bean.po.health.HealthCheckResultPO">
|
||||
<id column="id" property="id" />
|
||||
<result column="create_time" property="createTime" />
|
||||
<result column="update_time" property="updateTime" />
|
||||
|
||||
<result column="dimension" property="dimension" />
|
||||
<result column="config_name" property="configName" />
|
||||
<result column="cluster_phy_id" property="clusterPhyId" />
|
||||
<result column="res_name" property="resName" />
|
||||
<result column="passed" property="passed" />
|
||||
</resultMap>
|
||||
|
||||
<insert id="replace" parameterType="com.xiaojukeji.know.streaming.km.common.bean.po.health.HealthCheckResultPO">
|
||||
REPLACE ks_km_health_check_result
|
||||
(dimension, config_name, cluster_phy_id, res_name, passed)
|
||||
VALUES
|
||||
(#{dimension}, #{configName}, #{clusterPhyId}, #{resName}, #{passed})
|
||||
</insert>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user