MIMS.Web/Controllers/InHistoryController.cs

(完整代码) 1KB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MIMS.IBusiness;
using MIMS.Business;
using MIMS.Entity;
using Newtonsoft.Json;
using MIMS.Entity.Model;
using System.Collections;

namespace MIMS.Web.Controllers
{
    public class InHistoryController : Controller
    {
        IPSS_InWarehouseDetailBLL ipss_inwarehousedetailbll = new PSS_InWarehouseDetailBLL();

        // GET: InHistory
        public ActionResult Index()
        {
            return View();
        }
        public ActionResult SearchPhaListByDate(string rows, string page, string sort, string order, string pinyin)
        {
            string startDate = Request["startDate"];
            string endDate = Request["endDate"];
            Hashtable ht = new Hashtable();
            ht.Add("PinyinCode", pinyin);
            int count = default(int);
            IList list = ipss_inwarehousedetailbll.SearchPhaListByDate(startDate, endDate, ht, sort, order, int.Parse(page), int.Parse(rows), ref count);
            return Content(JsonConvert.SerializeObject(new
            {
                total = count,
                rows = list
            }));
        }

        public ActionResult SearchDetailByPha(string PhaCode, string OrginID, string startDate,string endDate)
        {
            Hashtable ht = new Hashtable();
            ht.Add("PhaCode",PhaCode);
            ht.Add("OrginID", OrginID);
            ht.Add("startDate", startDate);
            ht.Add("endDate", endDate);
            return Json(ipss_inwarehousedetailbll.GetList(ht));
        }


    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。