|
|
@ -32,6 +32,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<result property="eventTime" column="eventTime" /> |
|
|
|
<result property="facilityName" column="facility_name" /> |
|
|
|
<result property="eventState" column="event_state" /> |
|
|
|
<result property="logId" column="log_id" /> |
|
|
|
<result property="voiceId" column="voice_id" /> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="selectDcPublishManageVo"> |
|
|
@ -123,6 +125,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="remark != null">remark,</if> |
|
|
|
<if test="updateTime != null">update_time,</if> |
|
|
|
<if test="createTime != null">create_time,</if> |
|
|
|
<if test="logId != null">log_id,</if> |
|
|
|
<if test="voiceId != null">voice_id,</if> |
|
|
|
</trim> |
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
|
<if test="eventId != null and eventId != ''">#{eventId},</if> |
|
|
@ -144,6 +148,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="remark != null">#{remark},</if> |
|
|
|
<if test="updateTime != null">#{updateTime},</if> |
|
|
|
<if test="createTime != null">#{createTime},</if> |
|
|
|
<if test="logId != null">#{logId},</if> |
|
|
|
<if test="voiceId != null">#{voiceId},</if> |
|
|
|
</trim> |
|
|
|
</insert> |
|
|
|
|
|
|
@ -169,6 +175,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="remark != null">remark = #{remark},</if> |
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if> |
|
|
|
<if test="createTime != null">create_time = #{createTime},</if> |
|
|
|
<if test="logId != null">log_id = #{logId},</if> |
|
|
|
<if test="voiceId != null">voice_id = #{voiceId},</if> |
|
|
|
</trim> |
|
|
|
where id = #{id} |
|
|
|
</update> |
|
|
|