def generateSqlUpdateBusinessPackageItem(queryData: dict) -> str:
     return IdbGenericSqlQueryBuilder.generateSqlGenericUpdateItem(queryData)
 def generateSqlEditActionCost(queryData: dict) -> str:
     if 'id' in queryData and isinstance(queryData['id'], int):
         queryData['dbTablePk'] = sql.SQL(str(queryData['id']))
     return IdbGenericSqlQueryBuilder.generateSqlGenericUpdateItem(queryData)
示例#3
0
 def generateSqlEditObject(queryData: dict) -> str:
     queryData['dbTableColumnPk'] = "oid"
     if 'objectId' in queryData and isinstance(queryData['objectId'], str):
         queryData['dbTablePk'] = sql.Literal(queryData['objectId'])
     return IdbGenericSqlQueryBuilder.generateSqlGenericUpdateItem(
         queryData)