kboss/b/daylog/updateWorkTime.dspy
2025-07-16 14:27:17 +08:00

18 lines
487 B
Plaintext

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