浏览代码

奖励推送和入库判断去重

lcl 6 天之前
父节点
当前提交
230b38ce70
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Util/PrizeDo.cs

+ 1 - 1
Util/PrizeDo.cs

@@ -1775,7 +1775,7 @@ namespace Util
                     setLogPrizeAmount(sub.id, prizeAmt);
                     var req = getRequestParams(projectId, content);
                     var requestParamField = req[sub.requestParamField];
-                    var sendFlag = recordService.Any(m => m.prizeObjId == prizeObjectId && m.listId == sub.id && m.requestParamField == requestParamField);
+                    var sendFlag = recordService.Any(m => m.prizeObjId == prizeObjectId && m.listId == sub.id && m.requestParamField == content);
                     if(!sendFlag)
                     {
                         PriRecord item = new PriRecord()