RolePermission.WebApp/Controllers/SysOperationController.cs

(开头部分) 10KB

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

using RolePermission.Model;
using RolePermission.Model.SearchParam;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using RolePermission.BLL;
using RolePermission.Common.HtmlHelpers;
using RolePermission.Common;

namespace RolePermission.WebApp.Controllers
{
    /// <summary>
    /// 操作
    /// </summary>
    public class SysOperationController : BaseController
    {

        private readonly SMLOGService SMLOGService;
        private readonly SMMENUTBService SMMENUTBService;
        private readonly SMFUNCTBService SMFUNCTBService;

        public SysOperationController(SMLOGService logService,
            SMMENUTBService menuService,
            SMFUNCTBService funcService)
        {
            SMLOGService = logService;
            SMMENUTBService = menuService;
            SMFUNCTBService = funcService;
        }
        static string ClassName = "SysOperationController";
        /// <summary>
        /// 列表
        /// </summary>
        /// <returns></returns>
        //[SupportFilter]
        public ActionResult Index(string view)
        {
            return View();
        }

        /// <summary>
        /// 异步加载数据
        /// </summary>
        [HttpPost]
        public JsonResult GetData(OperationParam operationParam)
        {
            int total = 0;
            var queryData = SMFUNCTBService.LoadSearchEntities(operationParam);
            total = operationParam.TotalCount;

            var data = queryData.ToList().Select(s => new
            {
                FUNC_ID = s.FUNC_ID,
                FUNC_NAME = s.FUNC_NAME,
                EVENT_NAME = s.EVENT_NAME,
                ICONIC = s.ICONIC,
                ORDERCODE = s.ORDERCODE,
后面还有 225 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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