Example #1
0
def deleteRelation(data):
    '''
    解除步骤和ajax的关联关系
    :param data:
    :return:
    '''
    ajaxId = data['ajax_id']
    stageId = data['stageId']
    sql = "delete t_page_stage_relation where ajax_id = %d and stage_id = %d " % (
        ajaxId, stageId)
    Db.delete(sql)