Quellcode durchsuchen

Merge branch 'dev/v1.2.6_zxl' of SocialPlatform/messageCenter into feature/v1.2.6

zhangxinlei1996 vor 2 Jahren
Ursprung
Commit
cc43804d51
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      service/message_mail_box.go

+ 1 - 1
service/message_mail_box.go

@@ -1208,7 +1208,7 @@ func SocializeSummaryAddOrUpdate(tx *sql.Tx, groupId, myPositionId, yourPosition
 			ok_my := true
 			ok_your := true
 			//发送方
-			if r := IC.BaseMysql.SelectBySql(fmt.Sprintf(`select id,unread from %s where my_position_id =? and your_position_id =? limit 1`, util.SOCIALIZE_SUMMARY), yourPositionId, myPositionId); r != nil && len(*r) > 0 { //存在更新
+			if r := IC.BaseMysql.SelectBySql(fmt.Sprintf(`select id,unread from %s where my_position_id =? and your_position_id =? limit 1`, util.SOCIALIZE_SUMMARY), myPositionId, yourPositionId); r != nil && len(*r) > 0 { //存在更新
 				updateMap := map[string]interface{}{
 					"message_id": messageId,
 					"timestamp":  timestamp,