Browse Source

查询字段添加

WH01243 2 years ago
parent
commit
2ca07e6544
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/message_mail_box.go

+ 1 - 1
service/message_mail_box.go

@@ -593,7 +593,7 @@ func UserSynchronousList(customerServiceId, userId, entId, messageId int64, crea
 	nowForm := time.Now().Local()
 	create_time := nowForm.Format(util.Date_Full_Layout)
 	//查看汇总表
-	data := IC.BaseMysql.FindOne(util.SOCIALIZE_SUMMARY, map[string]interface{}{"user_id": userId, "ent_id": entId}, "", "")
+	data := IC.BaseMysql.FindOne(util.SOCIALIZE_SUMMARY, map[string]interface{}{"user_id": userId, "ent_id": entId}, "customer_service_access", "")
 	if data != nil && len(*data) > 0 {
 		if (*data)["customer_service_access"] == 0 && customerServiceId > 0 {
 			customerServiceId = 1