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.

52 lines
1.2 KiB

3 weeks ago
  1. using NFine.Application.WMS;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Data;
  5. using System.IO;
  6. using System.Linq;
  7. using System.Web;
  8. using System.Web.Mvc;
  9. using NFine.Code;
  10. using System.Data.SqlClient;
  11. using NFine.Data.Extensions;
  12. using System.Data.OleDb;
  13. using System.Configuration;
  14. using ICS.Application.Entity;
  15. namespace NFine.Web.Areas.WMS.Controllers
  16. {
  17. public class ICSAPISendController : ControllerBase
  18. {
  19. ICSAPISendApp APISendApp = new ICSAPISendApp();
  20. // GET: WMS/HomeWork
  21. public ActionResult KBSICSAPISend()
  22. {
  23. return View();
  24. }
  25. /// <summary>
  26. /// 重新调用(咖博士)
  27. /// </summary>
  28. /// <param name="ICSMTDOC"></param>
  29. /// <param name="JYID"></param>
  30. /// <param name="ResultINp"></param>
  31. /// <returns></returns>
  32. [HttpPost]
  33. [HandlerAjaxOnly]
  34. public ActionResult Upload(string Ids)
  35. {
  36. string msg = APISendApp.Upload(Ids);
  37. if (!string.IsNullOrEmpty(msg))
  38. {
  39. return Error(msg);
  40. }
  41. else
  42. {
  43. return Success("更新成功!");
  44. }
  45. }
  46. }
  47. }