Esempio n. 1
0
 def updateTestInstanceStatus(self, args):
     logger.info(inspect.stack()[0][3])
     sql = TestInstanceSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 2
0
 def editTableGroup(self, args):
     sql = DatabaseSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 3
0
 def editVersionConfig(self, args):
     logger.info(inspect.stack()[0][3])
     sql = ApplicationSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 4
0
 def editColumnUnlinkById(self, args):
     sql = DatabaseSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 5
0
 def addDataRoute(self, args):
     sql = DatabaseSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 6
0
 def deleteUserInfoByName(self, args):
     logger.info(inspect.stack()[0][3])
     sql = UserSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 7
0
 def discardTableByName(self, args):
     sql = DatabaseSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 8
0
 def editTestSuiteName(self, args):
     logger.info(inspect.stack()[0][3])
     sql = TestSuiteSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 9
0
 def updateInterfaceItem(self, args):
     #实例化
     logger.info(inspect.stack()[0][3])
     sql = InterfaceSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 10
0
 def deleteTaskInfo(self,args):
     logger.info(inspect.stack()[0][3])
     sql = TaskMetaqInfoSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 11
0
 def addTestCaseAssert(self, args):
     logger.info(inspect.stack()[0][3])
     sql = TestCaseSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 12
0
 def editColumnRemarkById(self, args):
     logger.info(inspect.stack()[0][3])
     sql = TableSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 13
0
 def addColumn(self, args, is_execute_many=False):
     logger.info(inspect.stack()[0][3])
     sql = TableSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args, is_execute_many)
     return daoOperate.write()
Esempio n. 14
0
 def editEnvironmentItem(self, args):
     logger.info(inspect.stack()[0][3])
     sql = EnvironmentSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 15
0
 def updateCaseResult(self, args):
     logger.info(inspect.stack()[0][3])
     sql = CaseResultSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 16
0
 def setInterfaceGroup(self, args):
     logger.info(inspect.stack()[0][3])
     sql = InterfaceSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 17
0
 def addUser(self, args):
     #实例化
     logger.info(inspect.stack()[0][3])
     sql = UserSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 18
0
 def deleteTestContentByCaseId(self, args):
     logger.info(inspect.stack()[0][3])
     sql = CaseContentSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 19
0
 def deleteTableGroupRelationByDB(self, args):
     sql = DatabaseSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 20
0
 def deleteTableGroup(self, args):
     logger.info(inspect.stack()[0][3])
     sql = DatabaseSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 21
0
 def editColumnEnameById(self, args, is_execute_many):
     sql = DatabaseSQLMapper().getSQL(inspect.stack()[0][3])
     logger.info(sql)
     daoOperate = DbBaseHelper(sql, args, is_execute_many)
     return daoOperate.write()
Esempio n. 22
0
 def updateSession(self, args):
     logger.info(inspect.stack()[0][3])
     sql = SessionManageSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 23
0
 def deleteColumnLink(self, args):
     sql = DatabaseSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 24
0
 def editProject(self, args):
     logger.info(inspect.stack()[0][3])
     sql = ProjectSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 25
0
 def editDatabasePwdById(self, args):
     logger.info(inspect.stack()[0][3])
     sql = DatabaseSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 26
0
 def addWebApiTag(self, args):
     logger.info(inspect.stack()[0][3])
     sql = TagSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()
Esempio n. 27
0
 def addTableGroupRelation(self, args, is_execute_many=False):
     sql = DatabaseSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args, is_execute_many)
     return daoOperate.write()
Esempio n. 28
0
 def setWebApiDiff(self, args):
     logger.info(inspect.stack()[0][3])
     sql = WebApiSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql, args)
     return daoOperate.write()