Esempio n. 1
0
    /// <summary>
    /// 合买形式
    /// </summary>
    /// <param name="jointype"></param>
    /// <returns></returns>
    public static string JoinTypeName(TogetherJoinType jointype)
    {
        switch (jointype)
        {
        case TogetherJoinType.Subscription:
            return("方案预投");

        case TogetherJoinType.FollowerJoin:
            return("自动跟单");

        case TogetherJoinType.Join:
            return("参与合买");

        case TogetherJoinType.SystemGuarantees:
            return("系统保底");

        case TogetherJoinType.Guarantees:
            return("方案保底");

        default:
            return(jointype.ToString());
        }
    }
Esempio n. 2
0
        public static string FomartJoinType(TogetherJoinType t)
        {
            switch (t)
            {
            case TogetherJoinType.FollowerJoin:
                return("跟单");

            case TogetherJoinType.Guarantees:
                return("保底");

            case TogetherJoinType.Join:
                return("参与");

            case TogetherJoinType.Subscription:
                return("认购");

            case TogetherJoinType.SystemGuarantees:
                return("系统保底");

            default:
                break;
            }
            return(string.Empty);
        }
Esempio n. 3
0
 public C_Sports_TogetherJoin QuerySports_TogetherJoin(string schemeId, TogetherJoinType joinType)
 {
     return(DB.CreateQuery <C_Sports_TogetherJoin>().Where(p => p.SchemeId == schemeId && p.JoinType == (int)joinType).FirstOrDefault());
 }