|  |  |  | 
|---|
|  |  |  | <result property="updatedBy" column="updated_by" jdbcType="BIGINT"/> | 
|---|
|  |  |  | <result property="inTime" column="in_time" jdbcType="TIMESTAMP"/> | 
|---|
|  |  |  | <result property="outTime" column="out_time" jdbcType="TIMESTAMP"/> | 
|---|
|  |  |  | <result property="inLineTime" column="in_line_time" jdbcType="TIMESTAMP"/> | 
|---|
|  |  |  | <result property="outLineTime" column="out_line_time" jdbcType="TIMESTAMP"/> | 
|---|
|  |  |  | <result property="memo" column="memo" jdbcType="VARCHAR"/> | 
|---|
|  |  |  | </resultMap> | 
|---|
|  |  |  | <resultMap id="joinResultMap" type="com.dy.pmsGlobal.pojoSta.StaDeviceLast" extends="BaseResultMap"> | 
|---|
|  |  |  | 
|---|
|  |  |  | ,#{status,jdbcType=TINYINT},#{result,jdbcType=TINYINT} | 
|---|
|  |  |  | ,#{errorMsg,jdbcType=VARCHAR},#{assistants,jdbcType=VARCHAR} | 
|---|
|  |  |  | ,#{updatedBy,jdbcType=BIGINT},#{inTime,jdbcType=TIMESTAMP},#{outTime,jdbcType=TIMESTAMP} | 
|---|
|  |  |  | ,#{inLineTime,jdbcType=TIMESTAMP},#{outLineTime,jdbcType=TIMESTAMP} | 
|---|
|  |  |  | ,#{memo,jdbcType=VARCHAR}) | 
|---|
|  |  |  | </insert> | 
|---|
|  |  |  | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaDeviceLast" useGeneratedKeys="true"> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="updatedBy != null">updated_by,</if> | 
|---|
|  |  |  | <if test="inTime != null">in_time,</if> | 
|---|
|  |  |  | <if test="outTime != null">out_time,</if> | 
|---|
|  |  |  | <if test="inLineTime != null">in_line_time,</if> | 
|---|
|  |  |  | <if test="outLineTime != null">out_line_time,</if> | 
|---|
|  |  |  | <if test="memo != null">memo,</if> | 
|---|
|  |  |  | </trim> | 
|---|
|  |  |  | <trim prefix="values (" suffix=")" suffixOverrides=","> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="updatedBy != null">#{updatedBy,jdbcType=BIGINT},</if> | 
|---|
|  |  |  | <if test="inTime != null">#{inTime,jdbcType=TIMESTAMP},</if> | 
|---|
|  |  |  | <if test="outTime != null">#{outTime,jdbcType=TIMESTAMP},</if> | 
|---|
|  |  |  | <if test="inLineTime != null">#{inLineTime,jdbcType=TIMESTAMP},</if> | 
|---|
|  |  |  | <if test="outLineTime != null">#{outLineTime,jdbcType=TIMESTAMP},</if> | 
|---|
|  |  |  | <if test="memo != null">#{memo,jdbcType=VARCHAR},</if> | 
|---|
|  |  |  | </trim> | 
|---|
|  |  |  | </insert> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="outTime != null"> | 
|---|
|  |  |  | out_time = #{outTime,jdbcType=TIMESTAMP}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="inLineTime != null"> | 
|---|
|  |  |  | in_line_time = #{inLineTime,jdbcType=TIMESTAMP}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="outLineTime != null"> | 
|---|
|  |  |  | out_line_time = #{outLineTime,jdbcType=TIMESTAMP}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="memo != null"> | 
|---|
|  |  |  | memo = #{memo,jdbcType=VARCHAR}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | 
|---|
|  |  |  | updated_by =  #{updatedBy,jdbcType=BIGINT}, | 
|---|
|  |  |  | in_time =  #{inTime,jdbcType=TIMESTAMP}, | 
|---|
|  |  |  | out_time =  #{outTime,jdbcType=TIMESTAMP}, | 
|---|
|  |  |  | in_line_time =  #{inLineTime,jdbcType=TIMESTAMP}, | 
|---|
|  |  |  | out_line_time =  #{outLineTime,jdbcType=TIMESTAMP}, | 
|---|
|  |  |  | memo =  #{memo,jdbcType=VARCHAR} | 
|---|
|  |  |  | where   id = #{id,jdbcType=BIGINT} | 
|---|
|  |  |  | </update> | 
|---|