| | |
| | | <?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.wgcloud.mapper.HeathMonitorMapper"> |
| | | <resultMap id="resultMap" type="com.wgcloud.entity.HeathMonitor"> |
| | | <mapper namespace="se.wgcloud.mapper.HeathMonitorMapper"> |
| | | <resultMap id="resultMap" type="se.wgcloud.entity.HeathMonitor"> |
| | | <id column="ID" property="id" jdbcType="CHAR" /> |
| | | <result column="APP_NAME" property="appName" jdbcType="CHAR" /> |
| | | <result column="HEATH_URL" property="heathUrl" jdbcType="CHAR" /> |
| | |
| | | </foreach> |
| | | </delete> |
| | | |
| | | <insert id="save" parameterType="com.wgcloud.entity.HeathMonitor"> |
| | | <insert id="save" parameterType="se.wgcloud.entity.HeathMonitor"> |
| | | INSERT INTO HEATH_MONITOR |
| | | <trim prefix="(" suffix=")" suffixOverrides="," > |
| | | <if test="id != null" >ID,</if> |
| | |
| | | </update> |
| | | |
| | | |
| | | <update id="updateById" parameterType="com.wgcloud.entity.HeathMonitor"> |
| | | <update id="updateById" parameterType="se.wgcloud.entity.HeathMonitor"> |
| | | UPDATE HEATH_MONITOR |
| | | <set> |
| | | <if test="appName != null"> |