75 lines
1.9 KiB
C#
75 lines
1.9 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
|
|||
|
|
{
|
|||
|
|
public interface IDocumentTable
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
|
|||
|
|
void UpdateSeq(string nameSql);
|
|||
|
|
/// <summary>
|
|||
|
|
/// 获得单据规则数据
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="model"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
DataTable GetDocumentData(string pickName);
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 新增单据规则数据
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="model"></param>
|
|||
|
|
void AddDocumentData(DocumentTableModel model);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 更新单据规则数据
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="model"></param>
|
|||
|
|
void UpdateDocumentData(DocumentTableModel model);
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 删除单据规则数据
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="model"></param>
|
|||
|
|
void DeleteDocumentData(DocumentTableModel model);
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 创建SEQ
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="model"></param>
|
|||
|
|
void CreateSEQ(DocumentTableModel model);
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 删除SEQ
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="model"></param>
|
|||
|
|
void DropSEQ(DocumentTableModel model);
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 验证SEQ是否存在
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="str"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
int SelectSEQExists(string str);
|
|||
|
|
|
|||
|
|
///// <summary>
|
|||
|
|
///// 根据类型获得单据
|
|||
|
|
///// </summary>
|
|||
|
|
///// <param name="strType"></param>
|
|||
|
|
///// <returns></returns>
|
|||
|
|
//string GetDocumentStream(string strType);
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 获取seq
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="nameSeq"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
string GetSeq(string nameSeq);
|
|||
|
|
}
|
|||
|
|
}
|