55 lines
1.6 KiB
C#
55 lines
1.6 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Runtime.Serialization;
|
||
using System.ServiceModel;
|
||
using System.Text;
|
||
using System.Data;
|
||
|
||
namespace DeiNiu.Wcf
|
||
{
|
||
// 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码和配置文件中的接口名“ILotService”。
|
||
[ServiceContract]
|
||
public interface ILotService
|
||
{
|
||
[OperationContract]
|
||
DataSet queryLots(string querystr, int rownumStart, int rownumEnd);
|
||
|
||
[OperationContract]
|
||
int newLot(WcfLot wcfLot);
|
||
[OperationContract]
|
||
int updateLot(WcfLot wcfLot);
|
||
[OperationContract]
|
||
int deleteLot(WcfLot wcfLot);
|
||
[OperationContract]
|
||
int newLotAtt(WcfLotAtt wcfLotAtt);
|
||
|
||
[OperationContract]
|
||
int updateLotAtt(WcfLotAtt wcfLotAtt);
|
||
|
||
[OperationContract]
|
||
int deleteLotAtt(WcfLotAtt wcfLotAtt);
|
||
[OperationContract]
|
||
DataTable querySkuValues(int skuId);
|
||
[OperationContract]
|
||
DataTable queryLotAtts(int lotId);
|
||
[OperationContract]
|
||
DataTable getLotAtts(string goodsId);
|
||
[OperationContract]
|
||
int getSKU(string skuCode, Dictionary<string, string> skuValues, int lotId, string goodsId, string ownerCode);
|
||
|
||
[OperationContract]
|
||
DataTable getLotGoodsType(int lotId);
|
||
|
||
[OperationContract]
|
||
DataTable getFreeGoodsType();
|
||
|
||
[OperationContract]
|
||
bool newGoodTypeLot(int[] goodsType,int lotId);
|
||
|
||
|
||
[OperationContract]
|
||
bool deleteGoodTypeLot(int id);
|
||
}
|
||
}
|