| | |
| | | <if test="fromDepartmentalId != null and fromDepartmentalId != '' ">from_departmental_id,</if> |
| | | <if test="videoUrl != null and videoUrl != '' ">video_url,</if> |
| | | <if test="pictureUrl != null and pictureUrl != '' ">picture_url,</if> |
| | | <if test="guidOrderNum != null and guidOrderNum != '' ">guide_order_num,</if> |
| | | update_time, |
| | | create_time |
| | | )values( |
| | |
| | | <if test="fromDepartmentalId != null and fromDepartmentalId != '' ">#{fromDepartmentalId},</if> |
| | | <if test="videoUrl != null and videoUrl != '' ">#{videoUrl},</if> |
| | | <if test="pictureUrl != null and pictureUrl != '' ">#{pictureUrl},</if> |
| | | <if test="guidOrderNum != null and guidOrderNum != '' ">#{guidOrderNum},</if> |
| | | sysdate(), |
| | | sysdate() |
| | | ) |
| | |
| | | where id= #{Id} |
| | | </update> |
| | | |
| | | <update id="updateGuid" parameterType="com.dg.core.db.gen.entity.GuideEvolveEntity"> |
| | | UPDATE automessage_guide_evolve |
| | | SET guide_id = (SELECT id from automessage_guide_repair_order where order_num=automessage_guide_evolve.guide_order_num ) |
| | | WHERE guide_id IS NULL |
| | | </update> |
| | | |
| | | <delete id="deleteConfigById" parameterType="string"> |
| | | delete from automessage_guide_evolve where id= #{Id} |
| | | </delete> |