示例#1
0
 /// <summary>
 /// 根据单号返回销售ID
 /// </summary>
 /// <param name="time"></param>
 /// <returns></returns>
 public static int GetSDIDByTime(string time)
 {
     return(SaleDal.GetSDIDByTime(time));
 }
示例#2
0
 /// <summary>
 /// 根据时间查询销售表
 /// </summary>
 /// <param name="begin"></param>
 /// <param name="end"></param>
 /// <returns></returns>
 public static DataTable SelectSaleByTime(int Salesmanid, string begin, string end)
 {
     return(SaleDal.SelectSaleByTime(Salesmanid, begin, end));
 }
示例#3
0
 /// <summary>
 /// 添加销售记录
 /// </summary>
 /// <param name="danhao"></param>
 /// <param name="time"></param>
 /// <param name="sum"></param>
 /// <param name="Salesmanid"></param>
 /// <returns></returns>
 public static bool InsertSale(string danhao, DateTime time, double sum, int Salesmanid)
 {
     return(SaleDal.InsertSale(danhao, time, sum, Salesmanid));
 }
示例#4
0
 /// <summary>
 /// 查询销售表
 /// </summary>
 /// <returns></returns>
 public static DataTable SelectSale()
 {
     return(SaleDal.SelectSale());
 }