This commit is contained in:
jl
2024-11-08 11:54:40 +08:00
parent 7c1ab8ce69
commit 2219cae500
15 changed files with 83 additions and 137 deletions

View File

@ -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)
{