Commit c79a051e authored by 李尚科's avatar 李尚科

fix

parent 32647967
Pipeline #14671 passed with stage
in 7 seconds
...@@ -138,7 +138,7 @@ class CallriskService extends Service { ...@@ -138,7 +138,7 @@ class CallriskService extends Service {
const { ctx } = this; const { ctx } = this;
const call_behavior = await ctx.prometheusModel.CreditCallriskCallBehavior.one({ where: { report_id } }); const call_behavior = await ctx.prometheusModel.CreditCallriskCallBehavior.one({ where: { report_id } });
const call_behavior_silence_cycles = await ctx.prometheusModel.CreditCallriskSilenceCycle.all({ where: { report_id } }); const call_behavior_silence_cycles = await ctx.prometheusModel.CreditCallriskSilenceCycle.list({ where: { report_id }, order: [['silence_end_time', 'desc']] });
const ret = { const ret = {
silence_count_3day: call_behavior.silence_count_3day, silence_count_3day: call_behavior.silence_count_3day,
silence_time_3day: call_behavior.silence_time_3day, silence_time_3day: call_behavior.silence_time_3day,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment