|
|
@@ -0,0 +1,41 @@
|
|
|
+using Business.DOP;
|
|
|
+using Business.ResourceExamineManagement;
|
|
|
+using Microsoft.AspNetCore.Mvc;
|
|
|
+using System;
|
|
|
+using System.Collections.Generic;
|
|
|
+using System.Linq;
|
|
|
+using System.Text;
|
|
|
+using System.Threading.Tasks;
|
|
|
+using Volo.Abp;
|
|
|
+using Volo.Abp.AspNetCore.Mvc;
|
|
|
+
|
|
|
+namespace Business.Controllers.DOP
|
|
|
+{
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// DOP同步接口
|
|
|
+ /// </summary>
|
|
|
+ [RemoteService]
|
|
|
+ [Area("Business")]
|
|
|
+ [Route("api/business/DOP")]
|
|
|
+ public class DOPController : AbpController
|
|
|
+ {
|
|
|
+ private readonly ISyncDOPAppService _DopAppService;
|
|
|
+
|
|
|
+ public DOPController(ISyncDOPAppService DopAppService)
|
|
|
+ {
|
|
|
+ _DopAppService = DopAppService;
|
|
|
+ }
|
|
|
+ /// <summary>
|
|
|
+ /// 平台成品库存监控
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="input"></param>
|
|
|
+ /// <returns></returns>
|
|
|
+ [HttpPost]
|
|
|
+ [Route("SyncPlatformFinishedProductMonitoring")]
|
|
|
+ public string SyncPlatformFinishedProductMonitoring()
|
|
|
+ {
|
|
|
+ return _DopAppService.SyncPlatformFinishedProductMonitoring();
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|