| | |
| | | <result property="type" column="type"/> |
| | | <result property="sendType" column="send_type"/> |
| | | <result property="sendTimeSlot" column="send_time_slot"/> |
| | | <result property="senddate" column="senddate"/> |
| | | <result property="sendlimitabegin" column="sendlimitabegin"/> |
| | | <result property="sendlimitaend" column="sendlimitaend"/> |
| | | <result property="sendlimitpbegin" column="sendlimitpbegin"/> |
| | | <result property="sendlimitpend" column="sendlimitpend"/> |
| | | <result property="sendlimitnbegin" column="sendlimitnbegin"/> |
| | | <result property="sendlimitnend" column="sendlimitnend"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectHeTaskSingleVo"> |
| | |
| | | bedno, |
| | | send_type, |
| | | type, |
| | | senddate, |
| | | sendlimitabegin, |
| | | sendlimitaend, |
| | | sendlimitpbegin, |
| | | sendlimitpend, |
| | | sendlimitnbegin, |
| | | sendlimitnend, |
| | | send_time_slot |
| | | from he_task_single |
| | | </sql> |
| | |
| | | <if test="sendType != null and sendType != ''">and send_type = #{sendType}</if> |
| | | <if test="sendTimeSlot != null and sendTimeSlot != ''">and send_time_slot = #{sendTimeSlot}</if> |
| | | <if test="type != null and type != ''">and type = #{type}</if> |
| | | <if test="senddate != null ">and senddate = #{senddate}</if> |
| | | <if test="sendlimitabegin != null and sendlimitabegin != ''">and sendlimitabegin = #{sendlimitabegin}</if> |
| | | <if test="sendlimitaend != null and sendlimitaend != ''">and sendlimitaend = #{sendlimitaend}</if> |
| | | <if test="sendlimitpbegin != null and sendlimitpbegin != ''">and sendlimitpbegin = #{sendlimitpbegin}</if> |
| | | <if test="sendlimitpend != null and sendlimitpend != ''">and sendlimitpend = #{sendlimitpend}</if> |
| | | <if test="sendlimitnbegin != null and sendlimitnbegin != ''">and sendlimitnbegin = #{sendlimitnbegin}</if> |
| | | <if test="sendlimitnend != null and sendlimitnend != ''">and sendlimitnend = #{sendlimitnend}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | <if test="sendType != null">send_type,</if> |
| | | <if test="sendTimeSlot != null">send_time_slot,</if> |
| | | <if test="type != null">type,</if> |
| | | <if test="senddate != null">senddate,</if> |
| | | <if test="sendlimitabegin != null">sendlimitabegin,</if> |
| | | <if test="sendlimitaend != null">sendlimitaend,</if> |
| | | <if test="sendlimitpbegin != null">sendlimitpbegin,</if> |
| | | <if test="sendlimitpend != null">sendlimitpend,</if> |
| | | <if test="sendlimitnbegin != null">sendlimitnbegin,</if> |
| | | <if test="sendlimitnend != null">sendlimitnend,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="svrtaskid != null">#{svrtaskid},</if> |
| | |
| | | <if test="sendType != null">#{sendType},</if> |
| | | <if test="sendTimeSlot != null">#{sendTimeSlot},</if> |
| | | <if test="type != null">#{type},</if> |
| | | <if test="senddate != null">#{senddate},</if> |
| | | <if test="sendlimitabegin != null">#{sendlimitabegin},</if> |
| | | <if test="sendlimitaend != null">#{sendlimitaend},</if> |
| | | <if test="sendlimitpbegin != null">#{sendlimitpbegin},</if> |
| | | <if test="sendlimitpend != null">#{sendlimitpend},</if> |
| | | <if test="sendlimitnbegin != null">#{sendlimitnbegin},</if> |
| | | <if test="sendlimitnend != null">#{sendlimitnend},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="sendType != null">send_type = #{sendType},</if> |
| | | <if test="sendTimeSlot != null">send_time_slot = #{sendTimeSlot},</if> |
| | | <if test="type != null">type = #{type},</if> |
| | | <if test="senddate != null">senddate = #{senddate},</if> |
| | | <if test="sendlimitabegin != null">sendlimitabegin = #{sendlimitabegin},</if> |
| | | <if test="sendlimitaend != null">sendlimitaend = #{sendlimitaend},</if> |
| | | <if test="sendlimitpbegin != null">sendlimitpbegin = #{sendlimitpbegin},</if> |
| | | <if test="sendlimitpend != null">sendlimitpend = #{sendlimitpend},</if> |
| | | <if test="sendlimitnbegin != null">sendlimitnbegin = #{sendlimitnbegin},</if> |
| | | <if test="sendlimitnend != null">sendlimitnend = #{sendlimitnend},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |