| | |
| | | *ç¨æ·ä¿¡æ¯ãæéãè§è²ç使ç¨UserContext.Currentæä½ |
| | | *Dt_materielinfoService对å¢ãå ãæ¹æ¥ã导å
¥ã导åºãå®¡æ ¸ä¸å¡ä»£ç æ©å±åç
§ServiceFunFilter |
| | | */ |
| | | using WIDESEA.Core.BaseProvider; |
| | | using WIDESEA.Core.Extensions.AutofacManager; |
| | | using WIDESEA.Entity.DomainModels; |
| | | using System.Linq; |
| | | using WIDESEA.Core.Utilities; |
| | | using System.Linq.Expressions; |
| | | using WIDESEA.Core.Extensions; |
| | | using Microsoft.EntityFrameworkCore; |
| | | using Microsoft.Extensions.DependencyInjection; |
| | | using Google.Protobuf.WellKnownTypes; |
| | | using Microsoft.AspNetCore.Http; |
| | | using WIDESEA.Services.IRepositories; |
| | | using System; |
| | | using WIDESEA.Core.ManageUser; |
| | | using WIDESEA.Core.Enums; |
| | | using WIDESEA.Core.Services; |
| | | using System.Threading.Tasks; |
| | | using Newtonsoft.Json; |
| | | using System.Collections.Generic; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Microsoft.EntityFrameworkCore; |
| | | using Microsoft.Extensions.Caching.Memory; |
| | | using Microsoft.Extensions.DependencyInjection; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Linq.Expressions; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA.Core.BaseProvider; |
| | | using WIDESEA.Core.Enums; |
| | | using WIDESEA.Core.Extensions; |
| | | using WIDESEA.Core.Extensions.AutofacManager; |
| | | using WIDESEA.Core.Filters; |
| | | using WIDESEA.Core.ManageUser; |
| | | using WIDESEA.Core.Services; |
| | | using WIDESEA.Core.Utilities; |
| | | using WIDESEA.Entity.DomainModels; |
| | | using WIDESEA.Services.IRepositories; |
| | | using WIDESEA.Services.Repositories; |
| | | using WIDESEA_Common.LogEnum; |
| | | |
| | |
| | | //base.Init(dbRepository); |
| | | } |
| | | |
| | | // éåä¸ä¸ªå¯¼å
¥çåè½ |
| | | |
| | | ///// <summary> |
| | | ///// 导å
¥è¡¨æ°æ®Excel |
| | | ///// </summary> |
| | | ///// <param name="fileInput"></param> |
| | | ///// <returns></returns> |
| | | //[HttpPost, Route("Import")] |
| | | ////[ApiExplorerSettings(IgnoreApi = true)] |
| | | //public override WebResponseContent Import(List<IFormFile> fileInput) |
| | | //{ |
| | | // WebResponseContent content = new WebResponseContent(); |
| | | // return content.OK("æå"); |
| | | //} |
| | | |
| | | public override WebResponseContent Add(SaveModel saveDataModel) |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |