insert into psdc_timer(device_id,user_id,runday,runtime,control_key,control_context,control_value,cron_text,job_id,timer_status,create_by,create_time) values (#{deviceId},#{userId},#{runday},#{runtime},#{controlKey},#{controlContext},#{controlValue},#{cronText},#{jobId},#{timerStatus},#{createBy},sysdate()) update psdc_timer timer_id = #{timerId}, device_id = #{deviceId}, user_id = #{userId}, runday = #{runday}, runtime = #{runtime}, control_key = #{controlKey}, control_context = #{controlContext}, control_value = #{controlValue}, cron_text = #{cronText}, job_id = #{jobId}, timer_status = #{timerStatus}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where timer_id = #{timerId} update psdc_timer set timer_status = #{status} where timer_id = #{timerId} delete from psdc_timer where timer_id = #{timerId}