浏览代码

fix:符号修改

duxin 2 年之前
父节点
当前提交
3782641ca9
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      service/message_mail_box.go

+ 3 - 3
service/message_mail_box.go

@@ -191,7 +191,7 @@ func (b MessaggeService) UserList(in *messagecenter.UserReq) (data *[]map[string
 	   				FROM
 	   				FROM
 		   				socialize_customer_service_user a
 		   				socialize_customer_service_user a
 		   				INNER JOIN base_user b ON  ( a.customer_service_id = %d AND a.user_id = b.id %s %s)
 		   				INNER JOIN base_user b ON  ( a.customer_service_id = %d AND a.user_id = b.id %s %s)
-						INNER JOIN socialize_summary c ON ( a.ent_id = c.ent_id AND a.user_id = c.user_id, %s)`, in.EntUserId, filtrationSql, phoneSql,
+						INNER JOIN socialize_summary c ON ( a.ent_id = c.ent_id AND a.user_id = c.user_id %s)`, in.EntUserId, filtrationSql, phoneSql,
 			strings.ReplaceAll(timeSql, "a.", "c."))
 			strings.ReplaceAll(timeSql, "a.", "c."))
 		var restrictionSql string
 		var restrictionSql string
 		switch in.IsArtificial {
 		switch in.IsArtificial {
@@ -278,8 +278,8 @@ func (b MessaggeService) ConversationList(in *messagecenter.ConversationReq) (da
 		   				b.headimg
 		   				b.headimg
 	   				FROM
 	   				FROM
 		   				socialize_customer_service_user a
 		   				socialize_customer_service_user a
-		   				INNER JOIN base_user b ON  ( a.customer_service_id = %d AND a.user_id = b.id %s %s)
-						INNER JOIN socialize_summary c ON ( a.ent_id = c.ent_id AND a.user_id = c.user_id, %s)`, in.EntUserId, filtrationSql)
+		   				INNER JOIN base_user b ON  ( a.customer_service_id = %d AND a.user_id = b.id %s)
+						INNER JOIN socialize_summary c ON ( a.ent_id = c.ent_id AND a.user_id = c.user_id)`, in.EntUserId, filtrationSql)
 		sqlStr = aiSql + " UNION ALL " + serviceSql
 		sqlStr = aiSql + " UNION ALL " + serviceSql
 	}
 	}