Jelajahi Sumber

库名替换

WH01243 2 tahun lalu
induk
melakukan
de8a9a2528
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      service/message_mail_box.go

+ 1 - 1
service/message_mail_box.go

@@ -595,7 +595,7 @@ func UserSynchronousList(customerServiceId, userId, entId, messageId int64, crea
 	create_time := nowForm.Format(util.Date_Full_Layout)
 	//查看汇总表
 	IC.BaseMysql.ExecTx("更新汇总表", func(tx *sql.Tx) bool {
-		data := IC.BaseMysql.SelectBySqlByTx(tx, "select * from customer_service_access where  ent_id=? and   user_id=? for  update ", entId, userId)
+		data := IC.BaseMysql.SelectBySqlByTx(tx, "select customer_service_access from socialize_summary where  ent_id=? and   user_id=? for  update ", entId, userId)
 		//data := FindOne(util.SOCIALIZE_SUMMARY, map[string]interface{}{"user_id": userId, "ent_id": entId}, "customer_service_access", "")
 		customer_service_access := 0
 		if data != nil && len(*data) > 0 {