| | |
| | | <id property="fromDepartmentalId" column="from_departmental_id" /> |
| | | <id property="videoUrl" column="video_url" /> |
| | | <id property="pictureUrl" column="picture_url" /> |
| | | <id property="guideOrderNum" column="guide_order_num" /> |
| | | <id property="isTimeout" column="is_timeout" /> |
| | | |
| | | </resultMap> |
| | | |
| | |
| | | video_url, |
| | | picture_url, |
| | | create_time, |
| | | update_time |
| | | update_time, |
| | | guide_order_num, |
| | | is_timeout |
| | | FROM |
| | | automessage_guide_evolve a |
| | | </sql> |
| | |
| | | <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> |
| | | <if test="isTimeout != null and isTimeout != '' ">is_timeout,</if> |
| | | update_time, |
| | | create_time |
| | | )values( |
| | |
| | | <if test="videoUrl != null and videoUrl != '' ">#{videoUrl},</if> |
| | | <if test="pictureUrl != null and pictureUrl != '' ">#{pictureUrl},</if> |
| | | <if test="guidOrderNum != null and guidOrderNum != '' ">#{guidOrderNum},</if> |
| | | <if test="isTimeout != null and isTimeout != '' ">#{isTimeout},</if> |
| | | sysdate(), |
| | | sysdate() |
| | | ) |
| | |
| | | <if test="fromDepartmentalId != null and fromDepartmentalId != '' ">from_departmental_id=#{fromDepartmentalId},</if> |
| | | <if test="videoUrl != null and videoUrl != '' ">video_url=#{videoUrl},</if> |
| | | <if test="pictureUrl != null and pictureUrl != '' ">picture_url=#{pictureUrl},</if> |
| | | <if test="isTimeout != null and isTimeout != '' ">is_timeout=#{isTimeout},</if> |
| | | update_time=sysdate() |
| | | </set> |
| | | where id= #{Id} |
| | |
| | | select count(id) from automessage_guide_evolve |
| | | </select> |
| | | |
| | | <!-- 首页统计使用 勿动 --> |
| | | <select id="countStatisticsNum" resultType="integer"> |
| | | select count(id) from automessage_guide_evolve |
| | | <where> |
| | | <if test="state != null and state != ''"> |
| | | and automessage_guide_evolve.state=#{state} |
| | | </if> |
| | | <if test="isTimeout != null and isTimeout != ''"> |
| | | and automessage_guide_evolve.is_timeout=#{isTimeout} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </mapper> |
| | | |
| | | |