YundingController.java 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. package com.uas.eis.controller;
  2. import java.util.HashMap;
  3. import java.util.Map;
  4. import org.springframework.beans.factory.annotation.Autowired;
  5. import org.springframework.web.bind.annotation.RequestMapping;
  6. import org.springframework.web.bind.annotation.ResponseBody;
  7. import org.springframework.web.bind.annotation.RestController;
  8. import com.uas.eis.service.YundingService;
  9. //import com.uas.eis.service.UserService;
  10. @RestController
  11. public class YundingController {
  12. @Autowired
  13. private YundingService yundingService;
  14. /**
  15. * 出入库单审核传云顶数据中心接口
  16. */
  17. @RequestMapping("/ProdInOutAuidted.action")
  18. @ResponseBody
  19. public Map<String, Object> ProdInOutAuidted(int id,String piclass){
  20. Map<String, Object> modelMap = new HashMap<String, Object>();
  21. yundingService.ProdInOutAuidted(id,piclass);
  22. modelMap.put("success", true);
  23. return modelMap;
  24. }
  25. /**
  26. * 出入库单云顶数据中心传UAS过账接口
  27. */
  28. @RequestMapping("/ProdInOutPOST.action")
  29. @ResponseBody
  30. public Map<String, Object> ProdInOutPOST(String Store){
  31. Map<String, Object> modelMap = new HashMap<String, Object>();
  32. yundingService.ProdInOutPOST(Store);
  33. modelMap.put("success", true);
  34. return modelMap;
  35. }
  36. /**
  37. * 销售订单云顶数据中心传UAS并生成一张已过账销售出货单接口
  38. */
  39. @RequestMapping("/Salereceive.action")
  40. @ResponseBody
  41. public Map<String, Object> Salereceive(String Store){
  42. Map<String, Object> modelMap = new HashMap<String, Object>();
  43. yundingService.Salereceive(Store);
  44. modelMap.put("success", true);
  45. return modelMap;
  46. }
  47. /**
  48. * 销售退货单云顶数据中心传UAS并过账接口
  49. */
  50. @RequestMapping("/SaleReturn.action")
  51. @ResponseBody
  52. public Map<String, Object> SaleReturn(String Store){
  53. Map<String, Object> modelMap = new HashMap<String, Object>();
  54. yundingService.SaleReturn(Store);
  55. modelMap.put("success", true);
  56. return modelMap;
  57. }
  58. /**
  59. * 销售退货单云顶数据中心传UAS反过账删除接口
  60. */
  61. @RequestMapping("/SaleReturnDelete.action")
  62. @ResponseBody
  63. public Map<String, Object> SaleReturnDelete(String Store){
  64. Map<String, Object> modelMap = new HashMap<String, Object>();
  65. yundingService.SaleReturnDelete(Store);
  66. modelMap.put("success", true);
  67. return modelMap;
  68. }
  69. }