You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.2 KiB
53 lines
1.2 KiB
using NFine.Application.WMS;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.Mvc;
|
|
using NFine.Code;
|
|
using System.Data.SqlClient;
|
|
using NFine.Data.Extensions;
|
|
using System.Data.OleDb;
|
|
using System.Configuration;
|
|
using ICS.Application.Entity;
|
|
|
|
namespace NFine.Web.Areas.WMS.Controllers
|
|
{
|
|
public class ICSAPISendController : ControllerBase
|
|
{
|
|
|
|
ICSAPISendApp APISendApp = new ICSAPISendApp();
|
|
// GET: WMS/HomeWork
|
|
public ActionResult KBSICSAPISend()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
/// <summary>
|
|
/// 重新调用(咖博士)
|
|
/// </summary>
|
|
/// <param name="ICSMTDOC"></param>
|
|
/// <param name="JYID"></param>
|
|
/// <param name="ResultINp"></param>
|
|
/// <returns></returns>
|
|
[HttpPost]
|
|
[HandlerAjaxOnly]
|
|
public ActionResult Upload(string Ids)
|
|
{
|
|
string msg = APISendApp.Upload(Ids);
|
|
if (!string.IsNullOrEmpty(msg))
|
|
{
|
|
return Error(msg);
|
|
}
|
|
else
|
|
{
|
|
return Success("更新成功!");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|