SourceCode/RFrameGenerate.BLL/Crowdfunding/CrowdWinManage.cs
(完整代码) 1KBusing RFrameGenerate.Model;
using RFramework.SQLServer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RFrameGenerate.BLL
{
public class CrowdWinManage
{
public static Result SaveRa(Guid id, Guid raGuid)
{
try
{
using (var queryWin = Factory.CreateT_CR_CrowdWinning())
{
var win = queryWin.GetFirstData(a => a.CrowdWinningGuid == id);
if (win != null)
{
queryWin.Update(a => new object[] { a.RecieverAddressGuid == raGuid }, b => b.CrowdWinningGuid == id);
}
else
{
return new Result(false, "没有找到中奖记录");
}
}
return new Result(true);
}
catch (Exception ex)
{
return new Result(false, ex.Message);
}
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。