async def updateWorkTime(ns={}): db = DBPools() async with db.sqlorContext('kboss') as sor: try: await new_business_date(sor) return { 'status': True, 'msg': 'update time success' } except Exception as e: return { 'status': False, 'msg': 'update time failed', 'data': e } ret = await updateWorkTime(params_kw) return ret