using BPA.SAAS.Manage.Application.Device.Dtos.Device; using BPA.SAAS.Manage.Application.Device.Interface; using BPA.SAAS.Manage.Core.Base; using Microsoft.AspNetCore.Components.Forms; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPA.SAAS.Manage.Application.Device { [ApiDescriptionSettings("Technology", Tag = "设备工艺")] public class TechnologyServices: IDynamicApiController, ITransient { ITechnologyService _technologyService; public TechnologyServices(ITechnologyService technologyService) { _technologyService= technologyService; } /// /// 分页查询 /// /// /// [HttpPost("/api/technology/page")] public async Task GetTechnologyPage(TechnologyQueryInputDto inputDto) { return await _technologyService.GetTechnologyExportRecodePage(inputDto); } /// /// 删除 /// /// /// [HttpGet("/api/technology/delete")] public async Task DeTechnologyExportRecode(string id) { return await _technologyService.DeTechnologyExportRecode(id); } /// /// 根据设备id查询设备工艺信息 /// /// /// [HttpGet("/api/technology/gettechnologylist")] public async Task> GetTechnologyList(string deviceId) { return await _technologyService.GetTechnologyList(deviceId); } [HttpGet("/api/technology/gettechnologylist_alm")] [AllowAnonymous] public async Task> GetTechnologyList__alm(string deviceId) { return await _technologyService.GetTechnologyList_alm(deviceId); } } }