RmsConsigneeController.java 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. package com.steerinfo.dil.controller;
  2. import com.steerinfo.dil.service.impl.RmsConsigneeServiceImpl;
  3. import com.steerinfo.dil.util.BaseRESTfulController;
  4. import com.steerinfo.framework.controller.RESTfulResult;
  5. import io.swagger.annotations.ApiModelProperty;
  6. import org.springframework.beans.factory.annotation.Autowired;
  7. import org.springframework.web.bind.annotation.PostMapping;
  8. import org.springframework.web.bind.annotation.RequestBody;
  9. import org.springframework.web.bind.annotation.RequestMapping;
  10. import org.springframework.web.bind.annotation.RestController;
  11. import java.util.Map;
  12. /**
  13. * @Description:
  14. * @Author:HuJianGuo
  15. * @GreateTime:2021/10/22 17:34
  16. * @Version:V2.0
  17. */
  18. @RestController
  19. @RequestMapping("/${api.version}/rmsconsignee")
  20. public class RmsConsigneeController extends BaseRESTfulController {
  21. @Autowired
  22. RmsConsigneeServiceImpl rmsConsigneeService;
  23. /**
  24. * 收货客户管理对接接口
  25. *
  26. * @param mapVal
  27. * @return
  28. */
  29. @ApiModelProperty(value = "收货客户管理对接接口")
  30. @PostMapping("/operationConsignee")
  31. public RESTfulResult operationConsignee(@RequestBody Map<String, Object> mapVal) {
  32. int result = rmsConsigneeService.operationConsignee(mapVal);
  33. return success(result);
  34. }
  35. }