C# Class CCN.Modules.Activity.DataAccess.ActivityDataAccess

Inheritance: Cedar.Framework.Common.Server.BaseClasses.DataAccessBase
Show file Open project: Chinaccn/surfboard

Public Methods

Method Description
AddCrowdInfo ( CrowdInfoModel model ) : int

添加

AddGrade ( CrowdGradeModel model ) : int

添加档次

AddPlayer ( CrowdPlayerModel model ) : int

添加Player

AddPlayerPay ( CrowdPayRecordModel model ) : int

添加Player

AddPlayerPayEx ( CrowdPayRecordModel model ) : int

添加Player

AddVoteLog ( VoteLogModel model ) : int

投票

AddVoteLog ( VoteLogModel model, int number ) : int

作弊投票

AddVotePer ( VotePerModel model ) : int

参赛

AuditPer ( string perid, int result ) : int

审核

DoPay ( string orderNo ) : int

确认支付

EndDraw ( StartDrawModel model ) : int

结束抽奖

GetCrowdActivityPageList ( CrowdInfoQueryModel query ) : BasePageList

获取活动列表

GetCrowdActivityTotal ( string flagcode ) : CrowdTotalInfoModel

获取活动的信息及档次list信息

GetCrowdInfoByFlagcode ( string flagcode ) : CrowdInfoModel

获取活动详情 flagcode

GetCrowdInfoById ( string innerid ) : CrowdInfoModel

获取活动详情 info

GetCrowdProgressByFlagcode ( string flagcode ) : CrowdProgressModel

获取活动详情 view

GetCrowdViewById ( string flagcode ) : CrowdViewModel

获取活动详情 view

GetGradeInfoById ( string innerid ) : CrowdGradeModel

获取档次详情 info

GetGradeListByFlagcode ( string flagcode ) : IEnumerable

获取档次列表

GetGradePageList ( QueryModel query ) : BasePageList

获取投票活动的参赛人员列表

GetPaidTotal ( string flagcode, string openid ) : int

获取用户已支付总金额

GetPayRecordListWithPlayer ( string flagcode, string openid ) : IEnumerable

获取Player支付记录列表

GetPlayerByOrderNo ( string orderNo ) : PayNotifyModel

获取粉丝信息

GetPlayerInfoById ( string innerid ) : CrowdPlayerModel

获取Player详情 info

GetPlayerInfoById ( string flagcode, string openid ) : CrowdPlayerModel

根据openid获取Player详情 info

GetPlayerListByFlagcode ( string flagcode ) : IEnumerable

获取Player列表

GetPlayerPageList ( CrowdPlayerQueryModel query ) : BasePageList

获取投票活动的参赛人员列表

GetPlayerViewById ( string innerid ) : CrowdPlayerViewModel

根据openid获取Player详情 view

GetVoteInfoById ( string id ) : VoteModel

获取投票活动详情 info

GetVoteList ( VoteQueryModel query ) : BasePageList

获取投票活动列表

GetVoteLogList ( VoteLogQueryModel query ) : BasePageList

获取参赛人的投票列表

GetVotePerBackViewById ( string id ) : VotePerViewModel

获取投票活动的参赛人员详情 view

GetVotePerInfoById ( string id ) : VotePerModel

获取投票活动的参赛人员详情 info

GetVotePerList ( VotePerQueryModel query ) : BasePageList

获取投票活动的参赛人员列表

GetVotePerRanking ( string activityid, int votenum ) : int

获取参赛者排名

GetVotePerTotal ( string activityid ) : int

获取参赛者总人数

GetVotePerViewById ( string id ) : VotePerViewModel

获取投票活动的参赛人员详情 view

GetVoteViewById ( string id ) : VoteViewModel

获取投票活动详情 view

ResetDraw ( string innerid ) : int

重置抽奖

StartDraw ( StartDrawModel model ) : int

开始抽奖

UnSubscribe ( string appid, string openid ) : int

取消订阅操作

UpdateCrowdInfo ( CrowdInfoModel model ) : int

修改

UpdateCrowdQrCode ( string flagcode, string qrcode ) : int

修改

UpdateGrade ( CrowdGradeModel model ) : int

修改档次

UpdatePlayer ( CrowdPlayerModel model ) : int

UpdatePlayer

Method Details

AddCrowdInfo() public method

添加
public AddCrowdInfo ( CrowdInfoModel model ) : int
model CCN.Modules.Activity.BusinessEntity.CrowdInfoModel
return int

AddGrade() public method

添加档次
public AddGrade ( CrowdGradeModel model ) : int
model CCN.Modules.Activity.BusinessEntity.CrowdGradeModel
return int

AddPlayer() public method

添加Player
public AddPlayer ( CrowdPlayerModel model ) : int
model CCN.Modules.Activity.BusinessEntity.CrowdPlayerModel
return int

AddPlayerPay() public method

添加Player
public AddPlayerPay ( CrowdPayRecordModel model ) : int
model CCN.Modules.Activity.BusinessEntity.CrowdPayRecordModel
return int

AddPlayerPayEx() public method

添加Player
public AddPlayerPayEx ( CrowdPayRecordModel model ) : int
model CCN.Modules.Activity.BusinessEntity.CrowdPayRecordModel
return int

AddVoteLog() public method

投票
public AddVoteLog ( VoteLogModel model ) : int
model CCN.Modules.Activity.BusinessEntity.VoteLogModel
return int

AddVoteLog() public method

作弊投票
public AddVoteLog ( VoteLogModel model, int number ) : int
model CCN.Modules.Activity.BusinessEntity.VoteLogModel
number int
return int

AddVotePer() public method

参赛
public AddVotePer ( VotePerModel model ) : int
model CCN.Modules.Activity.BusinessEntity.VotePerModel
return int

AuditPer() public method

审核
public AuditPer ( string perid, int result ) : int
perid string
result int
return int

DoPay() public method

确认支付
public DoPay ( string orderNo ) : int
orderNo string
return int

EndDraw() public method

结束抽奖
public EndDraw ( StartDrawModel model ) : int
model CCN.Modules.Activity.BusinessEntity.StartDrawModel
return int

GetCrowdActivityPageList() public method

获取活动列表
public GetCrowdActivityPageList ( CrowdInfoQueryModel query ) : BasePageList
query CCN.Modules.Activity.BusinessEntity.CrowdInfoQueryModel
return BasePageList

GetCrowdActivityTotal() public method

获取活动的信息及档次list信息
public GetCrowdActivityTotal ( string flagcode ) : CrowdTotalInfoModel
flagcode string
return CCN.Modules.Activity.BusinessEntity.CrowdTotalInfoModel

GetCrowdInfoByFlagcode() public method

获取活动详情 flagcode
public GetCrowdInfoByFlagcode ( string flagcode ) : CrowdInfoModel
flagcode string
return CCN.Modules.Activity.BusinessEntity.CrowdInfoModel

GetCrowdInfoById() public method

获取活动详情 info
public GetCrowdInfoById ( string innerid ) : CrowdInfoModel
innerid string
return CCN.Modules.Activity.BusinessEntity.CrowdInfoModel

GetCrowdProgressByFlagcode() public method

获取活动详情 view
public GetCrowdProgressByFlagcode ( string flagcode ) : CrowdProgressModel
flagcode string
return CCN.Modules.Activity.BusinessEntity.CrowdProgressModel

GetCrowdViewById() public method

获取活动详情 view
public GetCrowdViewById ( string flagcode ) : CrowdViewModel
flagcode string
return CCN.Modules.Activity.BusinessEntity.CrowdViewModel

GetGradeInfoById() public method

获取档次详情 info
public GetGradeInfoById ( string innerid ) : CrowdGradeModel
innerid string
return CCN.Modules.Activity.BusinessEntity.CrowdGradeModel

GetGradeListByFlagcode() public method

获取档次列表
public GetGradeListByFlagcode ( string flagcode ) : IEnumerable
flagcode string
return IEnumerable

GetGradePageList() public method

获取投票活动的参赛人员列表
public GetGradePageList ( QueryModel query ) : BasePageList
query QueryModel
return BasePageList

GetPaidTotal() public method

获取用户已支付总金额
public GetPaidTotal ( string flagcode, string openid ) : int
flagcode string 活动码
openid string openid
return int

GetPayRecordListWithPlayer() public method

获取Player支付记录列表
public GetPayRecordListWithPlayer ( string flagcode, string openid ) : IEnumerable
flagcode string
openid string
return IEnumerable

GetPlayerByOrderNo() public method

获取粉丝信息
public GetPlayerByOrderNo ( string orderNo ) : PayNotifyModel
orderNo string
return CCN.Modules.Activity.BusinessEntity.PayNotifyModel

GetPlayerInfoById() public method

获取Player详情 info
public GetPlayerInfoById ( string innerid ) : CrowdPlayerModel
innerid string
return CCN.Modules.Activity.BusinessEntity.CrowdPlayerModel

GetPlayerInfoById() public method

根据openid获取Player详情 info
public GetPlayerInfoById ( string flagcode, string openid ) : CrowdPlayerModel
flagcode string
openid string
return CCN.Modules.Activity.BusinessEntity.CrowdPlayerModel

GetPlayerListByFlagcode() public method

获取Player列表
public GetPlayerListByFlagcode ( string flagcode ) : IEnumerable
flagcode string
return IEnumerable

GetPlayerPageList() public method

获取投票活动的参赛人员列表
public GetPlayerPageList ( CrowdPlayerQueryModel query ) : BasePageList
query CCN.Modules.Activity.BusinessEntity.CrowdPlayerQueryModel
return BasePageList

GetPlayerViewById() public method

根据openid获取Player详情 view
public GetPlayerViewById ( string innerid ) : CrowdPlayerViewModel
innerid string
return CCN.Modules.Activity.BusinessEntity.CrowdPlayerViewModel

GetVoteInfoById() public method

获取投票活动详情 info
public GetVoteInfoById ( string id ) : VoteModel
id string
return CCN.Modules.Activity.BusinessEntity.VoteModel

GetVoteList() public method

获取投票活动列表
public GetVoteList ( VoteQueryModel query ) : BasePageList
query VoteQueryModel
return BasePageList

GetVoteLogList() public method

获取参赛人的投票列表
public GetVoteLogList ( VoteLogQueryModel query ) : BasePageList
query CCN.Modules.Activity.BusinessEntity.VoteLogQueryModel
return BasePageList

GetVotePerBackViewById() public method

获取投票活动的参赛人员详情 view
public GetVotePerBackViewById ( string id ) : VotePerViewModel
id string
return VotePerViewModel

GetVotePerInfoById() public method

获取投票活动的参赛人员详情 info
public GetVotePerInfoById ( string id ) : VotePerModel
id string
return CCN.Modules.Activity.BusinessEntity.VotePerModel

GetVotePerList() public method

获取投票活动的参赛人员列表
public GetVotePerList ( VotePerQueryModel query ) : BasePageList
query VotePerQueryModel
return BasePageList

GetVotePerRanking() public method

获取参赛者排名
public GetVotePerRanking ( string activityid, int votenum ) : int
activityid string
votenum int
return int

GetVotePerTotal() public method

获取参赛者总人数
public GetVotePerTotal ( string activityid ) : int
activityid string
return int

GetVotePerViewById() public method

获取投票活动的参赛人员详情 view
public GetVotePerViewById ( string id ) : VotePerViewModel
id string
return VotePerViewModel

GetVoteViewById() public method

获取投票活动详情 view
public GetVoteViewById ( string id ) : VoteViewModel
id string
return CCN.Modules.Activity.BusinessEntity.VoteViewModel

ResetDraw() public method

重置抽奖
public ResetDraw ( string innerid ) : int
innerid string
return int

StartDraw() public method

开始抽奖
public StartDraw ( StartDrawModel model ) : int
model CCN.Modules.Activity.BusinessEntity.StartDrawModel
return int

UnSubscribe() public method

取消订阅操作
public UnSubscribe ( string appid, string openid ) : int
appid string
openid string
return int

UpdateCrowdInfo() public method

修改
public UpdateCrowdInfo ( CrowdInfoModel model ) : int
model CCN.Modules.Activity.BusinessEntity.CrowdInfoModel
return int

UpdateCrowdQrCode() public method

修改
public UpdateCrowdQrCode ( string flagcode, string qrcode ) : int
flagcode string
qrcode string
return int

UpdateGrade() public method

修改档次
public UpdateGrade ( CrowdGradeModel model ) : int
model CCN.Modules.Activity.BusinessEntity.CrowdGradeModel
return int

UpdatePlayer() public method

UpdatePlayer
public UpdatePlayer ( CrowdPlayerModel model ) : int
model CCN.Modules.Activity.BusinessEntity.CrowdPlayerModel
return int