From d4a6d65f5e449c3e5464aa18ae97bf8953987217 Mon Sep 17 00:00:00 2001 From: LR-20210131IOQH\Administrator <jackcold@163.com> Date: 星期二, 10 八月 2021 15:44:14 +0800 Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/zhengcaioa --- zhengcaioa/zhengcaioa/Controllers/OA/WfApplytypeController.cs | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Controllers/OA/WfApplytypeController.cs b/zhengcaioa/zhengcaioa/Controllers/OA/WfApplytypeController.cs new file mode 100644 index 0000000..fba106c --- /dev/null +++ b/zhengcaioa/zhengcaioa/Controllers/OA/WfApplytypeController.cs @@ -0,0 +1,41 @@ +锘縰sing DTO; +using IServices; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.Logging; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Net.Http; +using System.Net.Http.Headers; +using System.Threading.Tasks; +using zhengcaioa.IService; +using zhengcaioa.Models; + +namespace zhengcaioa.Controllers.OA +{ + public class WfApplytypeController : Controller + { + private readonly ILogger<WfApplytypeController> _logger; + private readonly IWfApplytypeService _wfApplytypeService; + + + public WfApplytypeController(ILogger<WfApplytypeController> logger, IWfApplytypeService wfApplytypeService) + { + _logger = logger; + _wfApplytypeService = wfApplytypeService; + + } + + public IActionResult Index() + { + + + ViewBag.wfApplytypeDTOs = _wfApplytypeService.GetList().Where(x => x.Applyno != "03" && x.Applyno != "20").ToList(); + return View(); + } + } +} -- Gitblit v1.9.1