MIMS.Web/Controllers/DrugManagementController.cs
(开头部分) 3KB这里只显示每个文件的开头 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 DrugManagementController : Controller
{
IPHA_BaseInfoBLL ipha_baseinfobll = new PHA_BaseInfoBLL();
IPHA_DosageFormBLL ipha_dosageformbll = new PHA_DosageFormBLL();
IPHA_RepositoryBLL ipha_repositorybll = new PHA_RepositoryBLL();
IPHA_StorageConditionBLL ipha_storageconditionbll = new PHA_StorageConditionBLL();
IPHA_PhaAttrBLL ipha_phaattrbll = new PHA_PhaAttrBLL();
IPHA_DispenseWayBLL ipha_dispensewaybll = new PHA_DispenseWayBLL();
// GET: DrugManagement
[RoleActionFilter]
public ActionResult DrugInfo()
{
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 query)
{
int count = default(int);
IList list = ipha_baseinfobll.GetPageList(query, sort, order, int.Parse(page), int.Parse(rows), ref count);
return Content(JsonConvert.SerializeObject(new
{
total = count,
rows = list
}));
}
[HttpPost]
public ActionResult LoadForm(string id)
{
if (!string.IsNullOrEmpty(id))
return Json(ipha_baseinfobll.GetEntity(id));
else
return null;
}
[HttpPost]
后面还有 60 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
