diff --git a/wwwroot/cron/switch_bizdate.dspy b/wwwroot/cron/switch_bizdate.dspy index b6cb4eb..2dd4010 100644 --- a/wwwroot/cron/switch_bizdate.dspy +++ b/wwwroot/cron/switch_bizdate.dspy @@ -5,3 +5,4 @@ async with get_sor_context(request._run_ns, 'appbase') as sor: curdate = curDateString() sql = """update params set params_value = ${curdate}$ where params_name='business_date'""" await sor.sqlExe(sql, {'curdate': curdate}) + return 'OK'