| 1234567891011121314151617181920212223242526272829303132333435363738 |
- using Business.Dto;
- using Business.VSM;
- using Microsoft.AspNetCore.Mvc;
- using NLog.Fluent;
- using System;
- using System.Collections.Generic;
- using System.Data;
- using System.Threading.Tasks;
- using Volo.Abp;
- using Volo.Abp.AspNetCore.Mvc;
- namespace Business.Controllers
- {
- /// <summary>
- /// 价值流接口
- /// </summary>
- [RemoteService]
- [Area("Sqe")]
- [Route("api/business/sqe")]
- public class SqeController : AbpController
- {
- private readonly ISqeExcelService _SqeExcelService;
- public SqeController(ISqeExcelService SqeExcelService)
- {
- _SqeExcelService = SqeExcelService;
- }
- [HttpGet]
- [Route("import_test")]
- public string ImportTest(string filePath, string sheetName)
- {
- DataTable dt = _SqeExcelService.ImportExcelSheetToDataTable_test(filePath, sheetName);
- return "测试系统";
- }
- }
- }
|