def __init__(self): CtrlBase.__init__(self) self.key_col = DSDrbfm.gid self.db_object = DSDrbfm self.col_list = [ DSDrbfm.drbfm_content.name, ]
def __init__(self): CtrlBase.__init__(self) self.key_col = DSDocIf.if_id self.db_object = DSDocIf self.col_list = [ DSDocIf.if_name.name, DSDocIf.description.name, DSDocIf.parameter.name, DSDocIf.return_val.name ]
def __init__(self): CtrlBase.__init__(self) self.key_col = Framework.fw_id self.db_object = Framework self.col_list = [ Framework.manager.name, Framework.summary.name, Framework.content.name, Framework.fw_name.name ]
def __init__(self): CtrlBase.__init__(self) self.screen_key_column = {"ScreenDispRect": Screen.screen_disp_rect.name, "ScreenUUID": Screen.screen_uuid.name, "ScreenID": Screen.screen_id.name, "ScreenDispPic": Screen.screen_disp_pic.name, "ScreenName": Screen.screen_name.name} self.col_list = [Screen.screen_name.name, Screen.screen_disp_pic.name, Screen.screen_uuid.name, Screen.screen_disp_rect.name, Screen.screen_id.name, Screen.outline.name, Screen.locked.name]
def __init__(self): CtrlBase.__init__(self) self.key_col = DSAttach.attach_id self.db_object = DSAttach self.col_list = [ DSAttach.file_url.name, DSAttach.file_name.name, DSAttach.file_type.name ]
def __init__(self): CtrlBase.__init__(self) self.key_col = Ds_Doc.doc_id self.db_object = Ds_Doc self.col_list = [Ds_Doc.title.name, Ds_Doc.summary.name] self.ds_col_list = [] for column in Ds_Doc.__table__.columns: self.ds_col_list.append(column.name) self.sec_type_list = [] for sec_type in CtrlDSSection().get_section_type(): self.sec_type_list.append(sec_type.get('sec_type'))
def __init__(self): CtrlBase.__init__(self)
def __init__(self): CtrlBase.__init__(self) self.image_source_url = ""
def __init__(self): CtrlBase.__init__(self) self.key_col = Projects.proj_id self.db_object = Projects self.col_list = [Projects.inside_name.name, Projects.outside_name.name, Projects.proj_id.name] self.del_manday = """ delete from func.func_man_day where task_id in ( select task_id from func.task as t1 left join func.functions as t2 on t1.func_id = t2.func_id left join func.quotations as t3 on t2.quotation_id = t3.quotation_id where t3.proj_id = {} ) """ self.del_task = """ delete from func.task where func_id in( select func_id from func.functions as t1 left join func.quotations as t2 on t1.quotation_id = t2.quotation_id where t2.proj_id = {} ) """ self.del_function_one = """ delete from func.func_group where func_id in( select func_id from func.functions as t1 left join func.quotations as t2 on t1.quotation_id = t2.quotation_id where t2.proj_id = {} ) """ self.del_function_two = """ delete from func.functions where quotation_id in( select quotation_id from func.quotations where proj_id = {} ) """ self.del_option_combination = """ delete from func.option_combination where quotation_id in ( select quotation_id from func.quotations where proj_id = {} ) """ self.del_option_value = """ delete from func.option_value where option_id in ( select option_id from func.options as t1 left join func.quotations as t2 on t1.quotation_id = t2.quotation_id where proj_id = {} ) """ self.del_options = """ delete from func.options where quotation_id in ( select quotation_id from func.quotations where proj_id = {} ) """ self.del_preconditions = """ delete from func.preconditions where proj_id = {} """ self.del_quotations = """ delete from func.quotations where proj_id = {} """ self.del_user_role = """ delete from user_role where proj_id = {} """ self.del_projects = """
def __init__(self): CtrlBase.__init__(self) self.key_col = DSRelScene.gid self.db_object = DSRelScene self.col_list = [DSRelScene.change.name, DSRelScene.alter.name]
def __init__(self): CtrlBase.__init__(self) self.key_col = Projects.proj_id self.db_object = Projects
def __init__(self): CtrlBase.__init__(self) self.key_col = FailureMode.failure_id self.db_object = FailureMode self.col_list = [FailureMode.failure_mode_name.name]
def __init__(self): CtrlBase.__init__(self) self.chapter_list = CtrlChapter().chapters[ 1:] # DSChapter1-DSChapter8的对象
def __init__(self): CtrlBase.__init__(self) self.proj_name = ''
def __init__(self): CtrlBase.__init__(self) self.key_col = Specification.spec_id self.db_object = Specification self.col_list = [Specification.spec_id.name, Specification.spec_name.name, Specification.spec_type.name]
def __init__(self): CtrlBase.__init__(self) self.key_col = DSRelSpec.gid self.db_object = DSRelSpec self.col_list = [DSRelSpec.func_id.name]