BmsportHandlingFeeController.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. package com.steerinfo.dil.controller;
  2. import com.steerinfo.dil.service.impl.BmsportHandlingFeeServiceImpl;
  3. import com.steerinfo.dil.service.impl.BmstruckStatementServiceImpl;
  4. import com.steerinfo.dil.util.BaseRESTfulController;
  5. import com.steerinfo.framework.controller.RESTfulResult;
  6. import io.swagger.annotations.ApiImplicitParam;
  7. import io.swagger.annotations.ApiImplicitParams;
  8. import io.swagger.annotations.ApiModelProperty;
  9. import org.springframework.beans.factory.annotation.Autowired;
  10. import org.springframework.web.bind.annotation.*;
  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}/bmsporthandlingfee")
  20. public class BmsportHandlingFeeController extends BaseRESTfulController {
  21. @Autowired
  22. BmsportHandlingFeeServiceImpl bmsportHandlingFeeService;
  23. /**
  24. * 港口装卸费结算接口
  25. *
  26. * @param feeId
  27. * @return
  28. */
  29. @ApiModelProperty(value = "港口装卸费结算接口")
  30. @ApiImplicitParams({
  31. @ApiImplicitParam(name = "feeId", value = "港口装卸费主键id", required = true, dataType = "Integer"),
  32. })
  33. @PostMapping("/getPortFee")
  34. public Map<String,Object> getPortFee(@RequestParam Integer feeId) {
  35. Map<String,Object> mapValue = bmsportHandlingFeeService.getPortFee(feeId);
  36. return mapValue;
  37. }
  38. }