MIMS.Web/Controllers/PHA_AccountsController.cs

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

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 System.Collections;
using MIMS.Entity.Model;

namespace MIMS.Web.Controllers
{
    public class PHA_AccountsController : Controller
    {
        IPHA_AccountsBLL ipha_accountsbll = new PHA_AccountsBLL();
        IPSS_PurchaseCompanyBLL ipss_purchasecompanybll = new PSS_PurchaseCompanyBLL();


        // GET: PHA_Accounts
        [RoleActionFilter]
        public ActionResult PhaAccounts()
        {
            return View();
        }

        /// <summary>
        /// datagrid数据绑定
        /// </summary>
        /// <param name="rows">每行显示的条数</param>
        /// <param name="page">当前页</param>
        /// <param name="sort">排序字段</param>
        /// <param name="order">排序方式</param>
        /// <param name="query">条件</param>
        /// <returns></returns>
        [HttpPost]
        public ActionResult LoadList(string rows, string page, string sort, string order, string pinyin, string companyID)
        {
            Hashtable ht = new Hashtable();
            ht.Add("PinyinCode",pinyin);
            ht.Add("CompanyID",companyID);
            int count = default(int);
            IList list = ipha_accountsbll.GetPageList(ht, sort, order, int.Parse(page), int.Parse(rows), ref count);
            return Content(JsonConvert.SerializeObject(new
            {
                total = count,
                rows = list
            }));
        }

        [HttpPost]
        public ActionResult LoadForm(string phaCode, string orginID)
        {
            return Json(ipha_accountsbll.GetEntity(phaCode, orginID));
        }


        [HttpPost]
        public ActionResult LoadSelectComPany()
后面还有 36 行代码,购买后查看完整代码

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

AI 解读

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

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