Exemplo n.º 1
0
        public void Delete(string id)
        {
            var service = new psi_pickingService();
            var result  = service.Delete(ParamDelete.Instance().AndWhere("BillNo", id));

            if (result <= 0)
            {
                throw new HttpResponseException(new HttpResponseMessage()
                {
                    Content = new StringContent("领货单删除失败{BillNo=" + id + "},请重试或联系管理员!")
                });
            }
        }
Exemplo n.º 2
0
 public void Delete(string id)
 {
     var service = new psi_pickingService();
     var result = service.Delete(ParamDelete.Instance().AndWhere("BillNo", id));
     if (result <= 0)
         throw new HttpResponseException(new HttpResponseMessage() { Content = new StringContent("领货单删除失败{BillNo=" + id + "},请重试或联系管理员!") });
 }