You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using Khd.Core.Application.Interface;
|
|
|
|
|
|
using Khd.Core.Domain.Models;
|
|
|
|
|
|
using Microsoft.AspNetCore.Authorization;
|
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
|
using Masuit.Tools.Logging;
|
|
|
|
|
|
using System;
|
|
|
|
|
|
using NuGet.Protocol;
|
|
|
|
|
|
using Khd.Core.Application;
|
|
|
|
|
|
using Khd.Core.Domain.Dto.webapi;
|
|
|
|
|
|
using Microsoft.Build.Utilities;
|
|
|
|
|
|
using Masuit.Tools;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Khd.Core.Api.Controllers
|
|
|
|
|
|
{
|
|
|
|
|
|
[Route("wcs/[controller]")]
|
|
|
|
|
|
[ApiController]
|
|
|
|
|
|
public class ReceiveProdPlanController : ControllerBase
|
|
|
|
|
|
{
|
|
|
|
|
|
//private readonly IMesProdPlanApplication _application;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//public ReceiveProdPlanController(IMesProdPlanApplication application)
|
|
|
|
|
|
//{
|
|
|
|
|
|
// _application = application;
|
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
[HttpPost]
|
|
|
|
|
|
public ReponseBase SaveProdPlan(RequestInfo model)
|
|
|
|
|
|
{
|
|
|
|
|
|
LogManager.Info($"收到MES接口信息:{model.ToJsonString()}");
|
|
|
|
|
|
//return _application.SaveProdPlan(model);
|
|
|
|
|
|
return null;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|