C# Class CCN.Modules.Auction.DataAccess.AuctionDataAccess

Inheritance: Cedar.Framework.Common.Server.BaseClasses.DataAccessBase
Exibir arquivo Open project: Chinaccn/surfboard

Public Methods

Method Description
AddAuctionCar ( AuctionCarInfoModel model ) : int

添加拍卖车辆

AddAuctionInspection ( AuctionCarInspectionModel model ) : int

添加认证报告信息

AddAuctionPictureList ( List pathList, string carid ) : int

批量保存图片(添加)

AddCarInspection ( List list ) : int

添加认证报告信息

AddDeposit ( AuctionDepositModel model ) : int

添加押金

AddFollow ( AuctionFollowModel model ) : int

添加关注

AddParticipant ( AuctionCarParticipantModel model ) : int

添加拍卖竞拍人员

AddPaymentRecord ( AuctionPaymentRecordModel model ) : int

添加定金拍卖定金支付记录

AuctionCarInspectionItem ( ) : IEnumerable

获取认证项

BidParticipant ( AuctionCarParticipantModel model ) : int

中标拍卖竞拍人员

CheckBidParticipant ( string auctionid ) : int

检查是否有人中标

DealAuctionCar ( AuctionCarInfoModel model ) : int

成交拍卖车辆

DelCarPictureList ( List idList, string carid ) : int

批量保存图片(删除)

DelFollow ( string auctionid, string userid ) : int

删除关注

DeleteAuctionCar ( AuctionCarInfoModel model ) : int

删除拍卖车辆

DeleteDeposit ( string innerid ) : int

删除押金

EditCarInspection ( List list ) : int

添加认证报告信息

GetAllAuctionParticipantList ( AuctionCarParticipantQueryModel query ) : IEnumerable

获取所有竞拍记录

GetAuctionCarInspectionResult ( string auctionid ) : IEnumerable

获取车辆认证报告

GetAuctionDepositList ( AuctionDepositQueryModel query ) : BasePageList

获取押金列表

GetAuctionInfoById ( string id ) : AuctionCarInfoModel

获取拍卖车辆详情 info

GetAuctionInspectionResult ( string auctionid, string itemid ) : AuctionCarInspectionModel

获取认证项明细信息

GetAuctionList ( AuctionCarInfoQueryModel query ) : BasePageList

获取拍卖车辆列表

GetAuctionParticipantByID ( string innerid ) : AuctionCarParticipantViewModel

根据ID获取出价详情

GetAuctionParticipantByOrderNo ( string orderno ) : AuctionCarParticipantModel

根据订单号获取出价详情

GetAuctionParticipantList ( AuctionCarParticipantQueryModel query ) : BasePageList

获取竞拍人列表

GetAuctionTimeList ( ) : IEnumerable

获取拍卖时间列表

GetAuctionViewById ( string id ) : AuctionCarInfoViewModel

获取拍卖车辆详情 view

GetAuctioningList ( AuctionCarInfoQueryModel query ) : BasePageList

获取正在拍卖的车辆列表

GetCarPictureByCarid ( string carid ) : IEnumerable

获取车辆已有图片

GetCarPictureByIds ( List idList ) : IEnumerable

获取需要删除的图片列表

GetDepositInfoById ( string id ) : AuctionDepositModel

获取押金详情 info

GetFollowPageList ( AuctionFollowQueryModel query ) : BasePageList

获取关注的拍卖车辆列表

GetInspectionResultForHtml ( string id ) : IEnumerable

GetPriceCount ( string auctionid ) : int

根据拍卖ID 获取竞拍记录

IsFollow ( string auctionid, string userid ) : int

判断用户是否关注了该拍卖车辆

PublishAuctionCar ( AuctionCarInfoModel model ) : int

发布拍卖车辆

SaveCarPicture ( AuctionPictureListModel model ) : int

批量保存图片(添加+删除)

UpdateAuctionCar ( AuctionCarInfoModel model ) : int

修改拍卖车辆

UpdateAuctionCarStatus ( AuctionCarInfoModel model ) : int

修改拍卖车辆

UpdateDeposit ( AuctionDepositModel model ) : int

修改押金

UpdateOtherParticipant ( AuctionCarParticipantModel model ) : int

若已成交更改其他竞价信息

UpdateParticipant ( AuctionCarParticipantModel model ) : int

更新竞价信息

UpdateStatusForPay ( string orderno ) : int

支付完成更新出价状态

Method Details

AddAuctionCar() public method

添加拍卖车辆
public AddAuctionCar ( AuctionCarInfoModel model ) : int
model CCN.Modules.Auction.BusinessEntity.AuctionCarInfoModel
return int

AddAuctionInspection() public method

添加认证报告信息
public AddAuctionInspection ( AuctionCarInspectionModel model ) : int
model CCN.Modules.Auction.BusinessEntity.AuctionCarInspectionModel
return int

AddAuctionPictureList() public method

批量保存图片(添加)
public AddAuctionPictureList ( List pathList, string carid ) : int
pathList List
carid string
return int

AddCarInspection() public method

添加认证报告信息
public AddCarInspection ( List list ) : int
list List
return int

AddDeposit() public method

添加押金
public AddDeposit ( AuctionDepositModel model ) : int
model CCN.Modules.Auction.BusinessEntity.AuctionDepositModel
return int

AddFollow() public method

添加关注
public AddFollow ( AuctionFollowModel model ) : int
model CCN.Modules.Auction.BusinessEntity.AuctionFollowModel
return int

AddParticipant() public method

添加拍卖竞拍人员
public AddParticipant ( AuctionCarParticipantModel model ) : int
model CCN.Modules.Auction.BusinessEntity.AuctionCarParticipantModel
return int

AddPaymentRecord() public method

添加定金拍卖定金支付记录
public AddPaymentRecord ( AuctionPaymentRecordModel model ) : int
model CCN.Modules.Auction.BusinessEntity.AuctionPaymentRecordModel
return int

AuctionCarInspectionItem() public method

获取认证项
public AuctionCarInspectionItem ( ) : IEnumerable
return IEnumerable

BidParticipant() public method

中标拍卖竞拍人员
public BidParticipant ( AuctionCarParticipantModel model ) : int
model CCN.Modules.Auction.BusinessEntity.AuctionCarParticipantModel
return int

CheckBidParticipant() public method

检查是否有人中标
public CheckBidParticipant ( string auctionid ) : int
auctionid string
return int

DealAuctionCar() public method

成交拍卖车辆
public DealAuctionCar ( AuctionCarInfoModel model ) : int
model CCN.Modules.Auction.BusinessEntity.AuctionCarInfoModel
return int

DelCarPictureList() public method

批量保存图片(删除)
public DelCarPictureList ( List idList, string carid ) : int
idList List
carid string
return int

DelFollow() public method

删除关注
public DelFollow ( string auctionid, string userid ) : int
auctionid string
userid string
return int

DeleteAuctionCar() public method

删除拍卖车辆
public DeleteAuctionCar ( AuctionCarInfoModel model ) : int
model CCN.Modules.Auction.BusinessEntity.AuctionCarInfoModel 删除成交model
return int

DeleteDeposit() public method

删除押金
public DeleteDeposit ( string innerid ) : int
innerid string
return int

EditCarInspection() public method

添加认证报告信息
public EditCarInspection ( List list ) : int
list List
return int

GetAllAuctionParticipantList() public method

获取所有竞拍记录
public GetAllAuctionParticipantList ( AuctionCarParticipantQueryModel query ) : IEnumerable
query CCN.Modules.Auction.BusinessEntity.AuctionCarParticipantQueryModel
return IEnumerable

GetAuctionCarInspectionResult() public method

获取车辆认证报告
public GetAuctionCarInspectionResult ( string auctionid ) : IEnumerable
auctionid string
return IEnumerable

GetAuctionDepositList() public method

获取押金列表
public GetAuctionDepositList ( AuctionDepositQueryModel query ) : BasePageList
query CCN.Modules.Auction.BusinessEntity.AuctionDepositQueryModel
return BasePageList

GetAuctionInfoById() public method

获取拍卖车辆详情 info
public GetAuctionInfoById ( string id ) : AuctionCarInfoModel
id string
return CCN.Modules.Auction.BusinessEntity.AuctionCarInfoModel

GetAuctionInspectionResult() public method

获取认证项明细信息
public GetAuctionInspectionResult ( string auctionid, string itemid ) : AuctionCarInspectionModel
auctionid string
itemid string
return CCN.Modules.Auction.BusinessEntity.AuctionCarInspectionModel

GetAuctionList() public method

获取拍卖车辆列表
public GetAuctionList ( AuctionCarInfoQueryModel query ) : BasePageList
query CCN.Modules.Auction.BusinessEntity.AuctionCarInfoQueryModel
return BasePageList

GetAuctionParticipantByID() public method

根据ID获取出价详情
public GetAuctionParticipantByID ( string innerid ) : AuctionCarParticipantViewModel
innerid string
return CCN.Modules.Auction.BusinessEntity.AuctionCarParticipantViewModel

GetAuctionParticipantByOrderNo() public method

根据订单号获取出价详情
public GetAuctionParticipantByOrderNo ( string orderno ) : AuctionCarParticipantModel
orderno string
return CCN.Modules.Auction.BusinessEntity.AuctionCarParticipantModel

GetAuctionParticipantList() public method

获取竞拍人列表
public GetAuctionParticipantList ( AuctionCarParticipantQueryModel query ) : BasePageList
query CCN.Modules.Auction.BusinessEntity.AuctionCarParticipantQueryModel
return BasePageList

GetAuctionTimeList() public method

获取拍卖时间列表
public GetAuctionTimeList ( ) : IEnumerable
return IEnumerable

GetAuctionViewById() public method

获取拍卖车辆详情 view
public GetAuctionViewById ( string id ) : AuctionCarInfoViewModel
id string
return CCN.Modules.Auction.BusinessEntity.AuctionCarInfoViewModel

GetAuctioningList() public method

获取正在拍卖的车辆列表
public GetAuctioningList ( AuctionCarInfoQueryModel query ) : BasePageList
query CCN.Modules.Auction.BusinessEntity.AuctionCarInfoQueryModel
return BasePageList

GetCarPictureByCarid() public method

获取车辆已有图片
public GetCarPictureByCarid ( string carid ) : IEnumerable
carid string 车辆id
return IEnumerable

GetCarPictureByIds() public method

获取需要删除的图片列表
public GetCarPictureByIds ( List idList ) : IEnumerable
idList List 车辆ids
return IEnumerable

GetDepositInfoById() public method

获取押金详情 info
public GetDepositInfoById ( string id ) : AuctionDepositModel
id string
return CCN.Modules.Auction.BusinessEntity.AuctionDepositModel

GetFollowPageList() public method

获取关注的拍卖车辆列表
public GetFollowPageList ( AuctionFollowQueryModel query ) : BasePageList
query CCN.Modules.Auction.BusinessEntity.AuctionFollowQueryModel
return BasePageList

GetInspectionResultForHtml() public method

public GetInspectionResultForHtml ( string id ) : IEnumerable
id string
return IEnumerable

GetPriceCount() public method

根据拍卖ID 获取竞拍记录
public GetPriceCount ( string auctionid ) : int
auctionid string
return int

IsFollow() public method

判断用户是否关注了该拍卖车辆
public IsFollow ( string auctionid, string userid ) : int
auctionid string
userid string
return int

PublishAuctionCar() public method

发布拍卖车辆
public PublishAuctionCar ( AuctionCarInfoModel model ) : int
model CCN.Modules.Auction.BusinessEntity.AuctionCarInfoModel
return int

SaveCarPicture() public method

批量保存图片(添加+删除)
public SaveCarPicture ( AuctionPictureListModel model ) : int
model CCN.Modules.Auction.BusinessEntity.AuctionPictureListModel
return int

UpdateAuctionCar() public method

修改拍卖车辆
public UpdateAuctionCar ( AuctionCarInfoModel model ) : int
model CCN.Modules.Auction.BusinessEntity.AuctionCarInfoModel 车辆信息
return int

UpdateAuctionCarStatus() public method

修改拍卖车辆
public UpdateAuctionCarStatus ( AuctionCarInfoModel model ) : int
model CCN.Modules.Auction.BusinessEntity.AuctionCarInfoModel 车辆信息
return int

UpdateDeposit() public method

修改押金
public UpdateDeposit ( AuctionDepositModel model ) : int
model CCN.Modules.Auction.BusinessEntity.AuctionDepositModel
return int

UpdateOtherParticipant() public method

若已成交更改其他竞价信息
public UpdateOtherParticipant ( AuctionCarParticipantModel model ) : int
model CCN.Modules.Auction.BusinessEntity.AuctionCarParticipantModel
return int

UpdateParticipant() public method

更新竞价信息
public UpdateParticipant ( AuctionCarParticipantModel model ) : int
model CCN.Modules.Auction.BusinessEntity.AuctionCarParticipantModel
return int

UpdateStatusForPay() public method

支付完成更新出价状态
public UpdateStatusForPay ( string orderno ) : int
orderno string
return int