예제 #1
0
        public RequestResult OutStockDetail(int pageindex, int pagesize, string outorderno, string productno, int timestamp, string consignee, string keyword = "")
        {
            RequestResult result = new RequestResult();

            try
            {
                int totalCount = 0;
                List <ScaleCode_Simple> DetailList = ScaleOutStoke.GetOutStockDetail(MobileUser.UserName, outorderno, productno, pagesize, pageindex, timestamp, consignee, keyword, out totalCount);
                result.data    = DetailList;
                result.pages   = pageindex;
                result.total   = totalCount;
                result.message = "成功";
                result.success = true;
            }
            catch (Exception ex)
            {
                result.message = "失败,error:" + ex.Message;
                result.success = false;
            }

            return(result);
        }