select job_id, job_name, job_group, invoke_target, cron_expression, misfire_policy, concurrent, status, create_by, create_time, remark, troubleshoot_type_id, troubleshoot_type_name, troubleshoot_type_cycle_num, troubleshoot_type_cycle_type, company_id, risk_type, risk_id, risk_name, risk_place_id,risk_place_name, risk_dept_id, risk_dept_name, execute_user_id, execute_user_name, start_time, create_user_id, create_user_name, check_type from tr_hidden_danger_check_job delete from tr_hidden_danger_check_job where job_id = #{jobId} delete from tr_hidden_danger_check_job where job_id in #{jobId} update tr_hidden_danger_check_job job_name = #{jobName}, job_group = #{jobGroup}, invoke_target = #{invokeTarget}, cron_expression = #{cronExpression}, misfire_policy = #{misfirePolicy}, concurrent = #{concurrent}, status = #{status}, remark = #{remark}, update_by = #{updateBy}, remark = #{remark}, troubleshoot_type_id = #{troubleshootTypeId}, troubleshoot_type_name = #{troubleshootTypeName}, troubleshoot_type_cycle_num = #{troubleshootTypeCycleNum}, troubleshoot_type_cycle_type = #{troubleshootTypeCycleType}, company_id = #{companyId}, risk_type = #{riskType}, risk_id = #{riskId}, risk_name = #{riskName}, risk_place_id = #{riskPlaceId}, risk_place_name = #{riskPlaceName}, risk_dept_id = #{riskDeptId}, risk_dept_name = #{riskDeptName}, execute_user_id = #{executeUserId}, execute_user_name = #{executeUserName}, create_user_id = #{createUserId}, create_user_name = #{createUserName}, start_time = #{startTime}, check_type = #{checkType}, update_time = sysdate() where job_id = #{jobId} insert into tr_hidden_danger_check_job( job_id, job_name, job_group, invoke_target, cron_expression, misfire_policy, concurrent, status, remark, create_by, troubleshoot_type_id, troubleshoot_type_name, troubleshoot_type_cycle_num, troubleshoot_type_cycle_type, company_id, risk_type, risk_id, risk_name, risk_place_id, risk_place_name, risk_dept_id, risk_dept_name, execute_user_id, execute_user_name, create_user_id, create_user_name, start_time, check_type, create_time )values( #{jobId}, #{jobName}, #{jobGroup}, #{invokeTarget}, #{cronExpression}, #{misfirePolicy}, #{concurrent}, #{status}, #{remark}, #{createBy}, #{troubleshootTypeId}, #{troubleshootTypeName}, #{troubleshootTypeCycleNum}, #{troubleshootTypeCycleType}, #{companyId}, #{riskType}, #{riskId}, #{riskName}, #{riskPlaceId}, #{riskPlaceName}, #{riskDeptId}, #{riskDeptName}, #{executeUserId}, #{executeUserName}, #{createUserId}, #{createUserName}, #{startTime}, #{checkType}, sysdate() )