def dft_dbi_get_employee_all_task_list(self, inputData): try: with transaction.atomic(): DappDbF12iwdp_view = DappDbF12iwdp.dct_classDbiL3apF12Iwdp() result = DappDbF12iwdp_view.dft_dbi_get_employee_all_task_list_view( inputData) except Exception: result = {"errcode": "1", "errmsg": "数据库出现错误,插入失败"} return result
def dft_dbi_employee_release_or_save_task(self, inputData, save): try: with transaction.atomic(): DappDbF12iwdp_view = DappDbF12iwdp.dct_classDbiL3apF12Iwdp() result = DappDbF12iwdp_view.dft_dbi_employee_release_or_save_task_view( inputData, save) except Exception: result = {"errcode": "1", "errmsg": "数据库出现错误,插入失败"} return result
def dft_dbi_insert_employee(self, inputData): try: with transaction.atomic(): DappDbF12iwdp_view = DappDbF12iwdp.dct_classDbiL3apF12Iwdp() DappDbF12iwdp_view.dft_dbi_insert_employee_view(inputData) result = {"errcode": "0", "errmsg": "插入成功"} except Exception: result = {"errcode": "1", "errmsg": "数据库出现错误,插入失败"} return result
def dft_dbi_set_company_jsapi_ticket(self, inputData): try: with transaction.atomic(): DappDbF12iwdp_view = DappDbF12iwdp.dct_classDbiL3apF12Iwdp() result = DappDbF12iwdp_view.dft_dbi_set_company_jsapi_ticket_view( inputData) except Exception: result = {"errcode": "1", "errmsg": "数据库出现错误,插入失败"} return result
def dft_dbi_superior_adopt_task(self, inputData): try: with transaction.atomic(): DappDbF12iwdp_view = DappDbF12iwdp.dct_classDbiL3apF12Iwdp() result = DappDbF12iwdp_view.dft_dbi_superior_adopt_task_view( inputData) except Exception: result = {"errcode": "1", "errmsg": "数据库出现错误,插入失败"} return result