def dft_dbi_fhys_alarm_handle_process(self, inputData): # try: # with transaction.atomic(): DappDbF5fm_view = DappDbF5fm.dct_classDbiL3apF5fm() result = DappDbF5fm_view.dft_dbi_fhys_alarm_handle_process(inputData) # except Exception: # result={"body":{"status":"true","auth":"false","admin":"false"},"msg":"数据库发生错误,请重试"} return result
def dft_dbi_fhys_alarmtype_req(self, inputData): try: with transaction.atomic(): DappDbF5fm_view = DappDbF5fm.dct_classDbiL3apF5fm() result = DappDbF5fm_view.dft_dbi_all_alarmtype_req(inputData) except Exception: result = { "body": { "status": "true", "auth": "false", "admin": "false" }, "msg": "数据库发生错误,请重试" } return result