|
@@ -1789,7 +1789,19 @@ namespace Util
|
|
|
batchNo = batchNo,
|
|
|
};
|
|
|
recordService.Add(item);
|
|
|
- string prizeOutContent = Newtonsoft.Json.JsonConvert.SerializeObject(item);
|
|
|
+
|
|
|
+ Dictionary<string, object> prizeItem = new Dictionary<string, object>();
|
|
|
+ prizeItem.Add("prize_date", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
|
|
|
+ prizeItem.Add("prize_name", sub.prizeName);
|
|
|
+ prizeItem.Add("batch_no", batchNo);
|
|
|
+ prizeItem.Add("request_param_field", content);
|
|
|
+ List<Dictionary<string, object>> prizeItemList = new List<Dictionary<string, object>>();
|
|
|
+ Dictionary<string, object> prizeItemSub = new Dictionary<string, object>();
|
|
|
+ prizeItemSub.Add("prize_amount", prizeAmt);
|
|
|
+ prizeItemSub.Add("prize_obj", prizeObjectId);
|
|
|
+ prizeItemList.Add(prizeItemSub);
|
|
|
+ prizeItem.Add("prize_list", prizeItemList);
|
|
|
+ string prizeOutContent = Newtonsoft.Json.JsonConvert.SerializeObject(prizeItem);
|
|
|
setLogFieldValue(sub.id, "prizeOutContent", prizeOutContent);
|
|
|
setLogFieldValue(sub.id, "prizeOutUrl", project.noticeUrl);
|
|
|
loopAmount = getPrizeAmount;
|