12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?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.shkpr.service.alambizplugin.dbdao.mapper.GisSurveyJobStatusTrackMapper">
- <resultMap id="BaseResultMap" type="com.shkpr.service.alambizplugin.dto.GisSurveyJobStatusTrack">
- <!--@Table k3_gis_survey_job_status_track-->
- <id column="id" jdbcType="BIGINT" property="id"/>
- <result column="job_id" jdbcType="VARCHAR" property="jobId"/>
- <result column="operator" jdbcType="VARCHAR" property="operator"/>
- <result column="action" jdbcType="SMALLINT" property="action"/>
- <result column="status" jdbcType="SMALLINT" property="status"/>
- <result column="receiver" jdbcType="VARCHAR" property="receiver"/>
- <result column="create_time" jdbcType="BIGINT" property="createTime"/>
- <result column="comment" jdbcType="VARCHAR" property="comment"/>
- </resultMap>
- <insert id="save" parameterType="com.shkpr.service.alambizplugin.dto.GisSurveyJobStatusTrack">
- insert into k3_gis_survey_job_status_track
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="id != null">
- id,
- </if>
- <if test="jobId != null">
- job_id,
- </if>
- <if test="operator != null">
- "operator",
- </if>
- <if test="action != null">
- "action",
- </if>
- <if test="status != null">
- "status",
- </if>
- <if test="receiver != null">
- receiver,
- </if>
- <if test="createTime != null">
- create_time,
- </if>
- <if test="comment != null">
- "comment",
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides=",">
- <if test="id != null">
- #{id,jdbcType=BIGINT},
- </if>
- <if test="jobId != null">
- #{jobId,jdbcType=VARCHAR},
- </if>
- <if test="operator != null">
- #{operator,jdbcType=VARCHAR},
- </if>
- <if test="action != null">
- #{action,jdbcType=SMALLINT},
- </if>
- <if test="status != null">
- #{status,jdbcType=SMALLINT},
- </if>
- <if test="receiver != null">
- #{receiver,jdbcType=VARCHAR},
- </if>
- <if test="createTime != null">
- #{createTime,jdbcType=BIGINT},
- </if>
- <if test="comment != null">
- #{comment,jdbcType=VARCHAR},
- </if>
- </trim>
- </insert>
- </mapper>
|