TrainSign.DAL/H_userPurchaseList.cs
(开头部分) 54KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/** 版本信息模板在安装目录下,可自行修改。
* H_userPurchaseList.cs
*
* 功 能: N/A
* 类 名: H_userPurchaseList
*
* Ver 变更日期 负责人 变更内容
* ───────────────────────────────────
* V0.01 2018-07-19 17:08:47 N/A 初版
*
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
*┌──────────────────────────────────┐
*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
*│ 版权所有:TindWit │
*└──────────────────────────────────┘
*/
using System;
using System.Data;
using System.Text;
using System.Data.SqlClient;
using TindWit.DBUtility;
using System.Collections.Generic;
using TindWit.Common;//Please add references
namespace Maticsoft.DAL
{
/// <summary>
/// 数据访问类:H_userPurchaseList
/// </summary>
public partial class H_userPurchaseList
{
public H_userPurchaseList()
{ }
#region BasicMethod
public bool IsSignUp(int userID, int purchaseProductID)
{
StringBuilder strSql = new StringBuilder();
strSql.Append("select count(1) from H_userPurchaseList");
strSql.Append(" where userID=@userID and purchaseProductID=@purchaseProductID AND SignUpStatus=1");
SqlParameter[] parameters = {
new SqlParameter("@userID", SqlDbType.Int,4),
new SqlParameter("@purchaseProductID", SqlDbType.Int,4)
};
parameters[0].Value = userID;
parameters[1].Value = purchaseProductID;
return DbHelperSQL.Exists(strSql.ToString(), parameters);
}
public int Add(Maticsoft.Model.H_userPurchaseList model)
{
//if (string.IsNullOrWhiteSpace(model.userName) || string.IsNullOrWhiteSpace(model.userFullName)
// || string.IsNullOrWhiteSpace(model.userSex) || string.IsNullOrWhiteSpace(model.userNationality)
// || string.IsNullOrWhiteSpace(model.userAge) || string.IsNullOrWhiteSpace(model.userEduLevel)
// || string.IsNullOrWhiteSpace(model.userPhoneFromUserName) || string.IsNullOrWhiteSpace(model.userIdentityID) || string.IsNullOrWhiteSpace(model.userOrgAddress)
// || string.IsNullOrWhiteSpace(model.userOrg) || string.IsNullOrWhiteSpace(model.userOrgPhoneNum) || string.IsNullOrWhiteSpace(model.userOrgAddress)
// || string.IsNullOrWhiteSpace(model.userOrgPostalCode) || string.IsNullOrWhiteSpace(model.userOrgCertID))
//{
后面还有 1299 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。