From 0a95b41581819098dd43510316df65168fd298ee Mon Sep 17 00:00:00 2001 From: selfrelease Date: Wed, 15 Jul 2026 14:11:45 +0800 Subject: [PATCH] =?UTF-8?q?deploy:=202026-07-15=2014:11=20=E9=83=A8?= =?UTF-8?q?=E7=BD=B2=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo/web/server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demo/web/server.py b/demo/web/server.py index 28781b2..be5fbcd 100644 --- a/demo/web/server.py +++ b/demo/web/server.py @@ -712,7 +712,7 @@ def list_conversations( try: with conn.cursor() as cur: sql = """ - SELECT DISTINCT cu.id, cu.customer_name, s.name AS salesperson_name, + SELECT cu.id, cu.customer_name, s.name AS salesperson_name, cu.industry, cu.intent_level, cu.stage, cu.summary, cu.key_points, cu.objections, cu.next_action, cu.key_needs, cu.last_analysis, @@ -742,8 +742,8 @@ def list_conversations( GROUP BY cu.id, cu.customer_name, s.name, cu.industry, cu.intent_level, cu.stage, cu.summary, cu.key_points, cu.objections, cu.next_action, - cu.key_needs, cu.last_analysis - ORDER BY min(cu.salesperson_id), cu.id + cu.key_needs, cu.last_analysis, cu.salesperson_id + ORDER BY cu.salesperson_id, cu.id """ cur.execute(sql, params)