Commit 585b15da by ruyun.zhang

删除System.Drawing.Common.dll引用

parent bf6223a2
using Microsoft.AspNetCore.Authentication.JwtBearer;
using System;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Text;
using System.Threading.Tasks;
namespace Performance.Api.Configurations
{
......
using AutoMapper;
using System;
using Microsoft.Extensions.DependencyInjection;
using Performance.DtoModels.AutoMapper;
using System;
namespace Performance.Api.Configurations
{
......
using Microsoft.EntityFrameworkCore;
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Performance.DtoModels.AppSettings;
using Performance.EntityModels;
using System;
namespace Performance.Api.Configurations
{
......
using Microsoft.AspNetCore.Http;
using System;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Performance.Infrastructure;
using Performance.Services;
using Performance.Services.Queues;
using System;
namespace Performance.Api.Configurations
{
......
using Microsoft.AspNetCore.Builder;
using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.Swagger;
using System;
using System.Collections.Generic;
using System.IO;
namespace Performance.Api.Configurations
{
......
using AngleSharp.Dom;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using AngleSharp.Dom;
using FluentValidation.AspNetCore;
using MassTransit.Internals.Extensions;
using Microsoft.AspNetCore.Authorization;
......@@ -10,10 +14,6 @@
using Performance.DtoModels.AppSettings;
using Performance.EntityModels;
using Performance.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
namespace Performance.Api.Controllers
{
......
using FluentValidation.AspNetCore;
using MassTransit;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
......@@ -16,12 +19,6 @@
using Performance.Services;
using Performance.Services.AllotCompute;
using Performance.Services.ExtractExcelService;
using Performance.Services.Queues;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
......
using Microsoft.AspNetCore.Authorization;
using System.Threading.Tasks;
using System;
using Microsoft.AspNetCore.Mvc;
using Performance.DtoModels;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Performance.Services;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Performance.DtoModels;
namespace Performance.Api.Controllers
{
......
using Masuit.Tools.Models;
using Microsoft.AspNetCore.Hosting;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Masuit.Tools.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.StaticFiles;
......@@ -7,14 +10,7 @@
using Performance.DtoModels;
using Performance.DtoModels.Request;
using Performance.EntityModels;
using Performance.Infrastructure;
using Performance.Infrastructure.Models;
using Performance.Services;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace Performance.Api.Controllers
{
......
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Performance.DtoModels;
using Performance.EntityModels.Entity;
using Performance.EntityModels.Other;
using Performance.Services;
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.StaticFiles;
using System;
using System.IO;
using System.Linq;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.StaticFiles;
using Newtonsoft.Json;
using System.Threading.Tasks;
using Performance.DtoModels.Response;
using Performance.DtoModels;
using Performance.DtoModels.Request;
using static Performance.Services.ExtractExcelService.WriteDataHelper;
using System.Linq;
using Performance.DtoModels.Response;
using Performance.EntityModels.Entity;
using Performance.EntityModels.Other;
using Performance.Infrastructure;
using System.ComponentModel;
using Performance.Services;
namespace Performance.Api.Controllers
{
......
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Performance.DtoModels;
using Performance.DtoModels.Request;
......
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Performance.DtoModels;
using Performance.DtoModels.Response;
using Performance.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Performance.Api.Controllers
{
......
using Microsoft.AspNetCore.Authorization;
using System.Linq;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Performance.DtoModels;
using Performance.Services;
using System.Linq;
namespace Performance.Api.Controllers
{
......
using FluentValidation.AspNetCore;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.StaticFiles;
using Newtonsoft.Json;
using Performance.DtoModels;
using Performance.DtoModels.Request;
using Performance.EntityModels;
using Performance.Services;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Claims;
namespace Performance.Api.Controllers
{
......
using FluentValidation.AspNetCore;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ApiExplorer;
using Microsoft.AspNetCore.StaticFiles;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
using Newtonsoft.Json.Linq;
using Performance.DtoModels;
using Performance.EntityModels;
using Performance.Infrastructure;
using Performance.Services;
using Performance.Services.ExtractExcelService;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Performance.Api.Controllers
{
......
using Microsoft.AspNetCore.Mvc;
using System;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Performance.DtoModels;
using Performance.EntityModels;
using Performance.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Performance.Api.Controllers
{
......@@ -177,14 +174,14 @@ public ApiResponse UpdateApplicat([FromBody] CostTransferUpdateRequest request)
/// <returns></returns>
[Route("transfercontent/{allotId}/auditType/{auditType}")]
[HttpPost]
public ApiResponse TransferContent(int allotId,int auditType ,[FromBody] DepartmentDetail detail)
public ApiResponse TransferContent(int allotId, int auditType, [FromBody] DepartmentDetail detail)
{
if (allotId <= 0)
return new ApiResponse(ResponseType.ParameterError, "参数AllotId无效!");
var result=costTransferService.TransferContent(allotId,auditType,detail);
var result = costTransferService.TransferContent(allotId, auditType, detail);
return new ApiResponse(ResponseType.OK,result);
return new ApiResponse(ResponseType.OK, result);
}
}
}
using FluentValidation.AspNetCore;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.StaticFiles;
using Newtonsoft.Json;
using Performance.DtoModels;
using Performance.DtoModels.Request;
using Performance.DtoModels.Response;
......@@ -12,10 +15,6 @@
using Performance.Infrastructure;
using Performance.Services;
using Performance.Services.ExtractExcelService;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Performance.Api.Controllers
{
......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
......
using GraphQL;
using System.Threading.Tasks;
using GraphQL;
using GraphQL.Types;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Performance.DtoModels;
using System.Threading.Tasks;
namespace Performance.Api
{
......
using FluentValidation.AspNetCore;
using System.Collections.Generic;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Mvc;
using Performance.DtoModels;
using Performance.EntityModels;
using Performance.Infrastructure;
using Performance.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Performance.Api.Controllers
{
......@@ -28,7 +25,7 @@ public GuaranteeController(GuaranteeService guaranteeService)
/// <returns></returns>
[Route("list")]
[HttpPost]
public ApiResponse<List<GuaranteeResponse>> Guarantee([CustomizeValidator(RuleSet = "Select"), FromBody]GuaranteeRequest request)
public ApiResponse<List<GuaranteeResponse>> Guarantee([CustomizeValidator(RuleSet = "Select"), FromBody] GuaranteeRequest request)
{
var list = guaranteeService.GuaranTree(request.AllotId);
return new ApiResponse<List<GuaranteeResponse>>(ResponseType.OK, "ok", list);
......@@ -41,7 +38,7 @@ public ApiResponse<List<GuaranteeResponse>> Guarantee([CustomizeValidator(RuleSe
/// <returns></returns>
[Route("insert")]
[HttpPost]
public ApiResponse<List<cof_guarantee>> GuarantInsert([CustomizeValidator(RuleSet = "Insert"), FromBody]GuaranteeRequest request)
public ApiResponse<List<cof_guarantee>> GuarantInsert([CustomizeValidator(RuleSet = "Insert"), FromBody] GuaranteeRequest request)
{
if (request.Source == null || request.Source.Count == 0)
return new ApiResponse<List<cof_guarantee>>(ResponseType.ParameterError, "保底来源科室 无效");
......@@ -57,7 +54,7 @@ public ApiResponse<List<cof_guarantee>> GuarantInsert([CustomizeValidator(RuleSe
/// <returns></returns>
[Route("update")]
[HttpPost]
public ApiResponse<List<cof_guarantee>> GuarantUpdate([CustomizeValidator(RuleSet = "Update"), FromBody]GuaranteeRequest request)
public ApiResponse<List<cof_guarantee>> GuarantUpdate([CustomizeValidator(RuleSet = "Update"), FromBody] GuaranteeRequest request)
{
if (request.Source == null || request.Source.Count == 0)
return new ApiResponse<List<cof_guarantee>>(ResponseType.ParameterError, "保底来源科室 无效");
......@@ -73,7 +70,7 @@ public ApiResponse<List<cof_guarantee>> GuarantUpdate([CustomizeValidator(RuleSe
/// <returns></returns>
[Route("delete")]
[HttpPost]
public ApiResponse<cof_guarantee> GuarantDelete([CustomizeValidator(RuleSet = "Delete"), FromBody]GuaranteeRequest request)
public ApiResponse<cof_guarantee> GuarantDelete([CustomizeValidator(RuleSet = "Delete"), FromBody] GuaranteeRequest request)
{
var result = guaranteeService.GuarantDelete(request);
if (result)
......@@ -88,7 +85,7 @@ public ApiResponse<cof_guarantee> GuarantDelete([CustomizeValidator(RuleSet = "D
/// <returns></returns>
[Route("accountingunit")]
[HttpPost]
public ApiResponse<List<TitleValue>> Accounting([CustomizeValidator(RuleSet = "Select"), FromBody]GuaranteeRequest request)
public ApiResponse<List<TitleValue>> Accounting([CustomizeValidator(RuleSet = "Select"), FromBody] GuaranteeRequest request)
{
var result = guaranteeService.Accounting(request.AllotId);
return new ApiResponse<List<TitleValue>>(ResponseType.OK, "医院核算单元列表", result);
......
using Microsoft.AspNetCore.Hosting;
using System;
using System.IO;
using System.Linq;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Performance.DtoModels;
using Performance.Infrastructure;
using Performance.Services;
using Performance.Services.ExtractExcelService;
using System;
using System.IO;
using System.Linq;
namespace Performance.Api.Controllers
{
......
using FluentValidation.AspNetCore;
using System.Collections.Generic;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Mvc;
using Performance.DtoModels;
using Performance.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
......@@ -41,7 +38,7 @@ public ApiResponse<List<HospitalResponse>> GetHospitalList()
/// <returns></returns>
[Route("insert")]
[HttpPost]
public ApiResponse<HospitalResponse> Insert([CustomizeValidator(RuleSet = "Insert"), FromBody]HospitalRequest request)
public ApiResponse<HospitalResponse> Insert([CustomizeValidator(RuleSet = "Insert"), FromBody] HospitalRequest request)
{
var userid = _claim.GetUserId();
var hospital = _hospitalService.Insert(request, userid);
......@@ -56,7 +53,7 @@ public ApiResponse<HospitalResponse> Insert([CustomizeValidator(RuleSet = "Inser
/// <returns></returns>
[Route("update")]
[HttpPost]
public ApiResponse<HospitalResponse> Update([CustomizeValidator(RuleSet = "Update"), FromBody]HospitalRequest request)
public ApiResponse<HospitalResponse> Update([CustomizeValidator(RuleSet = "Update"), FromBody] HospitalRequest request)
{
var hospital = _hospitalService.Update(request);
return new ApiResponse<HospitalResponse>(ResponseType.OK, hospital);
......@@ -70,7 +67,7 @@ public ApiResponse<HospitalResponse> Update([CustomizeValidator(RuleSet = "Updat
[ApiDisable]
[Route("delete")]
[HttpPost]
public ApiResponse Delete([CustomizeValidator(RuleSet = "Delete"), FromBody]HospitalRequest request)
public ApiResponse Delete([CustomizeValidator(RuleSet = "Delete"), FromBody] HospitalRequest request)
{
if (!_hospitalService.Delete(request))
return new ApiResponse(ResponseType.Fail);
......@@ -84,7 +81,7 @@ public ApiResponse Delete([CustomizeValidator(RuleSet = "Delete"), FromBody]Hosp
/// <returns></returns>
[Route("disabled")]
[HttpPost]
public ApiResponse Disabled([CustomizeValidator(RuleSet = "Disable"), FromBody]HospitalRequest request)
public ApiResponse Disabled([CustomizeValidator(RuleSet = "Disable"), FromBody] HospitalRequest request)
{
if (!_hospitalService.Disabled(request))
return new ApiResponse(ResponseType.Fail);
......
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Performance.DtoModels;
using Performance.DtoModels.Request;
using Performance.EntityModels;
using Performance.Services;
using System;
using System.Collections.Generic;
namespace Performance.Api.Controllers
{
......
using Microsoft.AspNetCore.Authorization;
using System.Collections.Generic;
using System.IO;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.StaticFiles;
using Microsoft.Extensions.DependencyInjection;
......@@ -8,8 +10,6 @@
using Performance.Services;
using Performance.Services.ExtractExcelService;
using Performance.Services.Queues;
using System.Collections.Generic;
using System.IO;
namespace Performance.Api.Controllers
{
......
using System;
using System.Net;
using System.Security.Claims;
using System.Security.Policy;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc;
using Performance.DtoModels;
using Performance.Services;
......
......@@ -3,7 +3,6 @@
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.StaticFiles;
......
using FluentValidation.AspNetCore;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.StaticFiles;
using Performance.DtoModels;
using Performance.Infrastructure;
using Performance.Services;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace Performance.Api.Controllers
{
......
using Microsoft.AspNetCore.Authorization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
......@@ -8,10 +12,6 @@
using Performance.Infrastructure;
using Performance.Services;
using Performance.Services.ExtractExcelService;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Performance.Api.Controllers
{
......@@ -163,7 +163,7 @@ public ApiResponse GetReportPersonTag(int hospitalId, int allotId)
return new ApiResponse(ResponseType.Fail, "参数错误", "hospitalId无效");
}
var relust = reportGlobalService.GetReportPersonTag(hospitalId, allotId);
return new ApiResponse(ResponseType.OK, new
return new ApiResponse(ResponseType.OK, new
{
relust.handsonTable.ColHeaders,
relust.handsonTable.Data
......
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
using Newtonsoft.Json.Linq;
using Performance.DtoModels;
using Performance.DtoModels.AppSettings;
using Performance.Infrastructure;
using Microsoft.AspNetCore.Mvc;
using Performance.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Performance.Api.Controllers
{
......
using FluentValidation.AspNetCore;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.StaticFiles;
using Microsoft.Extensions.Logging;
using Performance.DtoModels;
using Performance.DtoModels.Second;
using Performance.EntityModels;
using Performance.Infrastructure;
using Performance.Services;
using Performance.Services.AllotCompute;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Performance.Infrastructure;
using Performance.DtoModels.Second;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Hosting;
using System.IO;
using Microsoft.AspNetCore.StaticFiles;
namespace Performance.Api.Controllers
{
......
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
using Newtonsoft.Json.Linq;
using Microsoft.AspNetCore.Mvc;
using Performance.DtoModels;
using Performance.DtoModels.AppSettings;
using Performance.Infrastructure;
using Performance.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Performance.Api.Controllers
{
......@@ -33,7 +23,7 @@ public class SheetController : Controller
/// <returns></returns>
[Route("sheetlist")]
[HttpPost]
public ApiResponse SheetList([FromBody]SheetRequest request)
public ApiResponse SheetList([FromBody] SheetRequest request)
{
var sheetList = _sheetSevice.SheetList(request.AllotID, request.Source);
return new ApiResponse(ResponseType.OK, sheetList);
......@@ -46,7 +36,7 @@ public ApiResponse SheetList([FromBody]SheetRequest request)
/// <returns></returns>
[Route("sheetexport")]
[HttpPost]
public ApiResponse SheetExport([FromBody]SheetExportRequest request)
public ApiResponse SheetExport([FromBody] SheetExportRequest request)
{
var exportData = _sheetSevice.SheetExport(request.SheetID);
return new ApiResponse(ResponseType.OK, exportData);
......
......@@ -3,12 +3,7 @@
using Microsoft.AspNetCore.Mvc;
using Performance.DtoModels;
using Performance.DtoModels.Request;
using Performance.Infrastructure;
using Performance.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
......@@ -31,7 +26,7 @@ public SmsController(SmsService smsService)
[Route("code")]
[HttpPost]
[AllowAnonymous]
public ApiResponse Code([FromBody]SmsCodeRequest request)
public ApiResponse Code([FromBody] SmsCodeRequest request)
{
if (!_smsService.SendCode(request.Type, request.Mobile))
return new ApiResponse(ResponseType.Fail);
......@@ -46,7 +41,7 @@ public ApiResponse Code([FromBody]SmsCodeRequest request)
[Route("check")]
[HttpPost]
[AllowAnonymous]
public ApiResponse Check([CustomizeValidator(RuleSet = "SmsCheck")][FromBody]SmsCodeRequest request)
public ApiResponse Check([CustomizeValidator(RuleSet = "SmsCheck")][FromBody] SmsCodeRequest request)
{
if (!_smsService.Check(request.Mobile, request.Code))
return new ApiResponse(ResponseType.Fail);
......
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Performance.DtoModels;
using Performance.EntityModels;
using Performance.Services;
using System.Collections.Generic;
using System.Linq;
namespace Performance.Api.Controllers
{
......@@ -33,7 +32,7 @@ public ApiResponse<StatisticsInfoDto> GetInfo(int hospitalID, int statisticsId)
// report_statistics
// report_statistics_selection
return new ApiResponse<StatisticsInfoDto>(ResponseType.OK, _service.GetInfo(hospitalID,statisticsId));
return new ApiResponse<StatisticsInfoDto>(ResponseType.OK, _service.GetInfo(hospitalID, statisticsId));
}
/// <summary>
......@@ -43,7 +42,7 @@ public ApiResponse<StatisticsInfoDto> GetInfo(int hospitalID, int statisticsId)
/// <param name="hospitalID"></param>
/// <returns></returns>
[HttpPost("selection/record")]
public ApiResponse<List<report_statistics_selection_record>> GetSelectionRecord(int hospitalID,int statisticsId)
public ApiResponse<List<report_statistics_selection_record>> GetSelectionRecord(int hospitalID, int statisticsId)
{
return new ApiResponse<List<report_statistics_selection_record>>(ResponseType.OK, _service.GetSelectionRecord(hospitalID, statisticsId));
}
......@@ -66,10 +65,10 @@ public ApiResponse SaveSelectionRecord([FromBody] report_statistics_selection_re
[HttpPost("selection/record/delete")]
public ApiResponse DeleteSelectionRecord(int id)
{
if(_service.DeleteSelectionRecord(id))
return new ApiResponse(ResponseType.OK, "删除成功");
if (_service.DeleteSelectionRecord(id))
return new ApiResponse(ResponseType.OK, "删除成功");
else
return new ApiResponse(ResponseType.Fail, "删除失败");
return new ApiResponse(ResponseType.Fail, "删除失败");
}
/// <summary>
......
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
......@@ -13,13 +17,6 @@
using Performance.Infrastructure;
using Performance.Services;
using Performance.Services.ExtractExcelService;
using Performance.Services.Queues;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Performance.Api.Controllers
{
......
using Microsoft.AspNetCore.Authorization;
using System.Collections.Generic;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.SignalR;
using Performance.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Performance.Api.Controllers
{
......
using Microsoft.AspNetCore.Hosting;
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
......@@ -6,9 +9,6 @@
using Microsoft.Extensions.Logging;
using Performance.DtoModels;
using Performance.Infrastructure;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Performance.Api
{
......
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Authorization;
using Microsoft.AspNetCore.Mvc.Filters;
using Performance.DtoModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
namespace Performance.Api
{
......
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Logging;
using Performance.DtoModels;
using Performance.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Performance.Api
{
......
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore.Internal;
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Performance.DtoModels;
using Performance.DtoModels.AppSettings;
using Performance.Infrastructure;
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
namespace Performance.Api
{
......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Performance.Api
namespace Performance.Api
{
public class GraphQLRequest
{
......
using Dapper;
using System.Collections.Generic;
using System.Linq;
using Dapper;
using GraphQL.Types;
using Performance.DtoModels;
using Performance.Infrastructure;
using Performance.Services;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Performance.Api
{
......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Performance.Api
namespace Performance.Api
{
public struct QueryParams
{
......
using GraphQL.Types;
using Performance.DtoModels;
using Performance.Infrastructure;
using Performance.Services;
namespace Performance.Api
{
......
using GraphQL.Types;
using Performance.DtoModels;
using Performance.EntityModels;
namespace Performance.Api
{
......
using FluentScheduler;
using System;
using System.Linq;
using FluentScheduler;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Performance.DtoModels;
using Performance.Infrastructure;
using Performance.Repository;
using Performance.Services;
using System;
using System.Linq;
namespace Performance.Api
{
......
using FluentScheduler;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using FluentScheduler;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
......@@ -9,10 +13,6 @@
using Performance.Services;
using Performance.Services.ExtractExcelService;
using Performance.Services.Queues;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace Performance.Api
{
......@@ -394,7 +394,7 @@ private void Repeat(TaskService service, List<bg_task> tasks)
}
}
class BackgroundSetting
private class BackgroundSetting
{
public Background.JobType JobType { get; internal set; }
public int MaxThread { get; internal set; }
......
using FluentScheduler;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System;
using System.IO;
using FluentScheduler;
using Microsoft.Extensions.Logging;
namespace Performance.Api
{
......
......@@ -4,7 +4,7 @@
namespace Performance.Api
{
public class ExtractDataJob : IJob
{
{
private readonly ExtractJobService _extractJobService;
......
using FluentScheduler;
using System;
using FluentScheduler;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace Performance.Api
{
......
using Microsoft.AspNetCore.Hosting;
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Memory;
using Performance.DtoModels;
using Performance.Infrastructure;
using System;
using System.IO;
using System.Threading.Tasks;
namespace Performance.Api
{
......
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Caching.Memory;
using Performance.DtoModels;
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Caching.Memory;
using Performance.DtoModels;
namespace Performance.Api
{
......
using Microsoft.IdentityModel.Tokens;
using System;
using System;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Text;
using Microsoft.IdentityModel.Tokens;
namespace Performance.Api
{
......
using Microsoft.AspNetCore.Mvc.ModelBinding;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Performance.DtoModels
namespace Performance.DtoModels
{
//public class ApiRequest
//{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels.AppSettings
namespace Performance.DtoModels.AppSettings
{
public class Application
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels.AppSettings
namespace Performance.DtoModels.AppSettings
{
public class WebapiUrl
{
......
using AutoMapper;
using System.Linq;
using AutoMapper;
using Performance.DtoModels.Request;
using Performance.DtoModels.Response;
using Performance.EntityModels;
using Performance.EntityModels.Entity;
using Performance.EntityModels.Other;
using Performance.Infrastructure;
using System.Linq;
namespace Performance.DtoModels.AutoMapper
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Text.RegularExpressions;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Text;
using System.ComponentModel;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Performance.DtoModels
namespace Performance.DtoModels
{
public class ExcelDownloadHeads
{
......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Threading.Tasks;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Threading.Tasks;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
namespace Performance.DtoModels
{
public class ExtractDto
{
......
using Performance.EntityModels;
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Performance.EntityModels;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
{
......
using Performance.EntityModels.Entity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Performance.EntityModels.Entity;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
namespace Performance.DtoModels
{
/// <summary>
/// 门诊药占比分值
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
{
......
......@@ -15,7 +15,7 @@
// /// 核算单元医生数量
// /// </summary>
// public Nullable<decimal> Number { get; set; }
// /// <summary>
// /// 医生基础系数
// /// </summary>
......
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.ComponentModel;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
namespace Performance.DtoModels
{
public interface IPerData
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
namespace Performance.DtoModels
{
public class PerComputeData
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
{
......@@ -244,7 +242,7 @@ public class PerDataAccountBaisc : IPerData
#endregion 由计算得出
/// <summary>
/// 职称
/// </summary>
......@@ -269,7 +267,7 @@ public class PerDataAccountBaisc : IPerData
/// 绩效基础核算参考值
/// </summary>
public Nullable<decimal> FitPeopleValue { get; set; }
/// <summary>
/// 绩效基础核算系数
/// </summary>
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
{
......@@ -75,7 +73,7 @@ public class PerDataLogisticsEmployee : IPerData
/// 行号
/// </summary>
public int RowNumber { get; set; }
public Nullable<decimal> RealGiveFee { get; set; }
}
}
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Collections.Generic;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.Generic;
namespace Performance.DtoModels
{
......
using Performance.EntityModels;
using System;
using System;
using System.Collections.Generic;
using System.Text;
using Performance.EntityModels;
namespace Performance.DtoModels
{
......@@ -114,5 +113,5 @@ public class ColumnHeadsConfig
new Heads{Column="失败理由",Name=nameof(GatherTotalRequest.Remark)},
};
}
}
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.Generic;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
namespace Performance.DtoModels
{
public class AccountUnitTotal
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.Generic;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
{
......
using Performance.EntityModels;
using System;
using System;
using System.Collections.Generic;
using System.Text;
using Performance.EntityModels;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.ComponentModel;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
namespace Performance.DtoModels
{
public class ReportTable
{
......
using Performance.EntityModels;
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.Generic;
using Performance.EntityModels;
namespace Performance.DtoModels
{
......
using FluentValidation;
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
{
......
using System;
using System.Collections.Generic;
using System.Text;
namespace Performance.DtoModels
namespace Performance.DtoModels
{
public class AllotDeptRequest
{
......
using FluentValidation;
using System;
using System.Collections.Generic;
using System.Text;
using System;
using FluentValidation;
namespace Performance.DtoModels
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment