114 lines
3.6 KiB
C#
114 lines
3.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Data;
|
|
using WMS.Model.Base;
|
|
|
|
namespace WMS.IData.IBase
|
|
{
|
|
/// <summary>
|
|
/// 商品信息接口
|
|
/// </summary>
|
|
public interface IGoods
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
DataTable GetGoodsSts();
|
|
/// <summary>
|
|
/// 更新数据
|
|
/// </summary>
|
|
/// <param name="goodsId"></param>
|
|
void UpGoodsCtData(string goodsId);
|
|
DataTable GetGoodsBarCode(string barCode);
|
|
|
|
DataTable GetGoodsData(string goodsId);
|
|
/// <summary>
|
|
/// 通过商品编号集合获取商品信息集合
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
DataTable GetGoodsDTByIDList(List<string> goodsIDList);
|
|
|
|
/// <summary>
|
|
/// 获取商品信息
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
DataTable GetGoodsDataTable(string strGoodsID,string strGoodsName,string strPyName,string strProviderName);
|
|
|
|
/// <summary>
|
|
/// 得到某商品可选UNIT
|
|
/// </summary>
|
|
/// <param name="goodsID"></param>
|
|
/// <returns></returns>
|
|
DataTable GetGoodsUnit(string goodsID);
|
|
|
|
void DeleteMeasure(string strGoodsID, string GOODS_MEASURE_ID);
|
|
void DeleteGoodsInfoMeasure(string GOODS_ID);
|
|
/// <summary>
|
|
/// 获取商品UNIT
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
DataTable GetGoodsMeasureDataTable(string strGoodsID);
|
|
|
|
/// <summary>
|
|
/// 获取商品供应商
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
DataTable GetGoodsPrividerDataTale(string strGoodsID);
|
|
|
|
/// <summary>
|
|
/// 新增商品信息
|
|
/// </summary>
|
|
/// <param name="model">商品信息实体</param>
|
|
/// <returns></returns>
|
|
void AddGoodsInfo(JWGoodsInfoModel GoodsModel);
|
|
|
|
///// <summary>
|
|
///// 新增商品信息
|
|
///// </summary>
|
|
///// <param name="model">商品信息实体</param>
|
|
///// <returns></returns>
|
|
//string AddGoodsInfo(JWGoodsInfoModel GoodsModel, List<GoodsMeasureModel> ListMeasureModel, List<GoodsProviderModel> ListProviderModel);
|
|
|
|
/// <summary>
|
|
/// 修改商品信息
|
|
/// </summary>
|
|
/// <param name="GoodsModel"></param>
|
|
/// <returns></returns>
|
|
void UpdateGoodsInfo(JWGoodsInfoModel GoodsModel);
|
|
/// <summary>
|
|
/// 修改商品信息商品的换算UNIT
|
|
/// </summary>
|
|
/// <param name="model">商品信息实体</param>
|
|
/// <returns></returns>
|
|
//void AddMeaureGoodsInfo(GoodsMeasureModel model);
|
|
/// <summary>
|
|
/// 修改供应商信息
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <param name="providerModel"></param>
|
|
// void UpdateGoodsInfoProVider(JWGoodsInfoModel model, GoodsProviderModel providerModel);
|
|
/// <summary>
|
|
/// 删除商品规格信息
|
|
/// </summary>
|
|
/// <param name="strGoodsID">删除商品规格信息</param>
|
|
/// <returns></returns>
|
|
void DeleteGoodsMeasure(string strGoodsID);
|
|
|
|
/// <summary>
|
|
/// 删除商品信息
|
|
/// </summary>
|
|
/// <param name="strGoodsID">商品编号</param>
|
|
/// <returns></returns>
|
|
void DeleteGoods(string strGoodsID);
|
|
|
|
/// <summary>
|
|
/// 商品资料备份
|
|
/// </summary>
|
|
/// <param name="strGoodsID"></param>
|
|
void InsertGoodsBak(string strGoodsID);
|
|
}
|
|
}
|