From 35103bd225fcaeaa6ab663227292f706bcdc72a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 8 Feb 2021 10:56:59 +0800 Subject: [PATCH] aa --- business/model/dao/store.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/model/dao/store.go b/business/model/dao/store.go index 0a97fa52c..ab059475a 100644 --- a/business/model/dao/store.go +++ b/business/model/dao/store.go @@ -908,8 +908,8 @@ func GetStoreAuditPage(db *DaoDB, statuss []int, keyword string, applyTimeStart, sql := ` SELECT SQL_CALC_FOUND_ROWS DISTINCT a.*, b.name user_name, c.name city_name FROM store_audit a - JOIN user b ON b.user_id = a.user_id - JOIN place c ON c.code = a.city_code + LEFT JOIN user b ON b.user_id = a.user_id + LEFT JOIN place c ON c.code = a.city_code WHERE a.deleted_at = ? ` sqlParams := []interface{}{