コード例 #1
0
        public string GetWareHouseDataList(int page, int limit, string queryInfo)
        {
            if (!string.IsNullOrEmpty(queryInfo))
            {
                queryInfo = queryInfo.Trim();
            }
            int count;
            IEnumerable <WareHouseOutput> Info = _wareHouseService.GetGoodsOutputs(page, limit, out count, queryInfo);
            DataResult <IEnumerable <WareHouseOutput> > data = new DataResult <IEnumerable <WareHouseOutput> >
            {
                msg   = "获取成功!",
                code  = 0,
                count = count,
                data  = Info
            };

            return(JsonNetHelper.SerialzeoJsonForCamelCase(data));
        }