|
@ -11,10 +11,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<result property="remark" column="remark" /> |
|
|
<result property="remark" column="remark" /> |
|
|
<result property="createTime" column="create_time" /> |
|
|
<result property="createTime" column="create_time" /> |
|
|
<result property="updateTime" column="update_time" /> |
|
|
<result property="updateTime" column="update_time" /> |
|
|
|
|
|
<result property="repeatTimes" column="repeat_times" /> |
|
|
|
|
|
<result property="outVol" column="outVol" /> |
|
|
|
|
|
<result property="priority" column="priority" /> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<sql id="selectDcVoiceBroadcastVo"> |
|
|
<sql id="selectDcVoiceBroadcastVo"> |
|
|
select id, category, content, remark, create_time, update_time from dc_voice_broadcast |
|
|
select id, category, content, remark, create_time, update_time,priority,outVol,repeat_times from dc_voice_broadcast |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<select id="selectDcVoiceBroadcastList" parameterType="com.zc.business.domain.DcVoiceBroadcast" resultMap="DcVoiceBroadcastResult"> |
|
|
<select id="selectDcVoiceBroadcastList" parameterType="com.zc.business.domain.DcVoiceBroadcast" resultMap="DcVoiceBroadcastResult"> |
|
@ -43,6 +46,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="remark != null">remark,</if> |
|
|
<if test="remark != null">remark,</if> |
|
|
<if test="createTime != null">create_time,</if> |
|
|
<if test="createTime != null">create_time,</if> |
|
|
<if test="updateTime != null">update_time,</if> |
|
|
<if test="updateTime != null">update_time,</if> |
|
|
|
|
|
<if test="priority != null">priority,</if> |
|
|
|
|
|
<if test="outVol != null">outVol,</if> |
|
|
|
|
|
<if test="repeatTimes != null">repeat_times,</if> |
|
|
</trim> |
|
|
</trim> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<if test="category != null">#{category},</if> |
|
|
<if test="category != null">#{category},</if> |
|
@ -50,6 +56,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="remark != null">#{remark},</if> |
|
|
<if test="remark != null">#{remark},</if> |
|
|
<if test="createTime != null">#{createTime},</if> |
|
|
<if test="createTime != null">#{createTime},</if> |
|
|
<if test="updateTime != null">#{updateTime},</if> |
|
|
<if test="updateTime != null">#{updateTime},</if> |
|
|
|
|
|
<if test="priority != null">#{priority},</if> |
|
|
|
|
|
<if test="outVol != null">#{outVol},</if> |
|
|
|
|
|
<if test="repeatTimes != null">#{repeatTimes},</if> |
|
|
</trim> |
|
|
</trim> |
|
|
</insert> |
|
|
</insert> |
|
|
|
|
|
|
|
@ -61,6 +70,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="remark != null">remark = #{remark},</if> |
|
|
<if test="remark != null">remark = #{remark},</if> |
|
|
<if test="createTime != null">create_time = #{createTime},</if> |
|
|
<if test="createTime != null">create_time = #{createTime},</if> |
|
|
<if test="updateTime != null">update_time = #{updateTime},</if> |
|
|
<if test="updateTime != null">update_time = #{updateTime},</if> |
|
|
|
|
|
<if test="repeatTimes != null">repeat_times = #{repeatTimes},</if> |
|
|
|
|
|
<if test="outVol != null">outVol = #{outVol},</if> |
|
|
|
|
|
<if test="priority != null">priority = #{priority},</if> |
|
|
</trim> |
|
|
</trim> |
|
|
where id = #{id} |
|
|
where id = #{id} |
|
|
</update> |
|
|
</update> |
|
|