This commit is contained in:
@ -133,6 +133,16 @@ namespace Epost.DAL
|
||||
return dt;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 查询控制器下所有标签地址
|
||||
public DataTable getLabelList(string controlid,string batchno)
|
||||
{
|
||||
string sql = string.Format(" select distinct address, state, type, ControlID,addresstype,isnull(shopid,'') as shopid,name,batchno from v_storeaddress where type in (1, 2, 8) and Controlid = '{0}' and batchno='{1}' ",
|
||||
controlid,batchno);
|
||||
DataTable dt = db.GetsqlForDT(sql);
|
||||
return dt;
|
||||
}
|
||||
#endregion
|
||||
#region 根据区域 查询显示箱号地址
|
||||
public DataTable getAddressByBlock(string block)
|
||||
{
|
||||
|
Reference in New Issue
Block a user