You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.5 KiB
C#
49 lines
1.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.Mvc;
|
|
using Estsh.Web.Util;
|
|
using System.Data;
|
|
using System.Collections;
|
|
using Estsh.Web.Service;
|
|
using Estsh.Web.Models;
|
|
using NPOI.HSSF.UserModel;
|
|
using System.IO;
|
|
|
|
namespace Estsh.Core.Web.Controllers
|
|
{
|
|
public class DeleteKpsnController : Controller
|
|
{
|
|
private DeleteKpsnService service = new DeleteKpsnService();
|
|
|
|
//
|
|
// GET: /DeleteKpsnService/
|
|
public ActionResult Index()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
//cady 2014 07 07
|
|
|
|
/// <summary>
|
|
/// 获取菜单管理列表数据
|
|
/// </summary>
|
|
/// <param name="menuName">菜单名称</param>
|
|
/// <param name="pager">分页</param>
|
|
/// <param name="direction">排序方式</param>
|
|
/// <param name="sort">排序列</param>
|
|
/// <returns></returns>
|
|
public ActionResult GetDataByKPSN(String CustSN, Pager pager, String direction, String sort)
|
|
{
|
|
Hashtable result = new Hashtable();
|
|
result.Add("pager.pageNo", pager.pageNo);
|
|
Hashtable dataHt = this.service.GetDataByKPSN(CustSN, pager, direction, sort);
|
|
result.Add("rows", dataHt["dataList"]);
|
|
result.Add("pager.totalRows", dataHt["totalCount"]);
|
|
result.Add("sort", sort);
|
|
result.Add("direction", direction);
|
|
return Json(result);
|
|
}
|
|
}
|
|
} |