LindonSoft.Amico.BULayer/Buy/T_BuyProductManager.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/******************************************************************
** Copyright (c) 2005 -2007 灵动软件研发部
** 创建人:
** 创建日期:
** 修改人:
** 修改日期:
** 描 述:
** 版 本:1.0
**----------------------------------------------------------------------------
******************************************************************/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Text;
namespace LindonSoft.Amico.BULayer
{
using LindonSoft.Amico.BULayer.Data;
using LindonSoft.Amico.BULayer.Schema;
using LindonSoft.SubstrateLayer.BULayer;
using LindonSoft.SubstrateLayer.DALayer;
using LindonSoft.Common.BULayer;
[Serializable()]
public class T_BuyProductManager : T_BuyProductData
{
public DataSet Search(T_BuyProductQuery QueryData)
{
string paramSql = "SELECT * FROM " + T_BuyProduct.TABLENAME + " WHERE 1=1 ";
Hashtable ht = new Hashtable();
if (QueryData.FullName.Trim().Length > 0)
{
paramSql += " AND " + T_BuyProduct.FULLNAME + " LIKE @FULLNAME ";
ht.Add("@FULLNAME", "%" + QueryData.FullName.Trim() + "%");
}
if (QueryData.Code.Trim().Length > 0)
{
paramSql += " AND " + T_BuyProduct.CODE + " LIKE @CODE ";
ht.Add("@CODE", "%" + QueryData.Code.Trim() + "%");
}
if (QueryData.Machining.Trim().Length > 0)
{
paramSql += " AND " + T_BuyProduct.MACHINING + " LIKE @MACHINING";
ht.Add("@MACHINING", "%" + QueryData.Machining.Trim() + "%");
}
DataSet _DS = new DataSet();
BaseDBCon con = new BaseDBCon();
try
{
con.Open();
con.Fill(paramSql, _DS, T_BuyProduct.TABLENAME, ht);
}
catch (Exception err)
{
throw err;
}
finally
{
后面还有 27 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
