PurchaseOtherFeeController.java 909 B

123456789101112131415161718192021222324252627282930313233343536
  1. package com.fjhx.purchase.controller.purchase;
  2. import com.fjhx.purchase.entity.purchase.po.PurchaseOtherFee;
  3. import com.fjhx.purchase.service.purchase.PurchaseOtherFeeService;
  4. import org.springframework.beans.factory.annotation.Autowired;
  5. import org.springframework.web.bind.annotation.GetMapping;
  6. import org.springframework.web.bind.annotation.RequestMapping;
  7. import org.springframework.web.bind.annotation.RestController;
  8. import java.util.List;
  9. /**
  10. * <p>
  11. * 采购其他费用 前端控制器
  12. * </p>
  13. *
  14. * @author
  15. * @since 2023-06-09
  16. */
  17. @RestController
  18. @RequestMapping("/purchaseOtherFee")
  19. public class PurchaseOtherFeeController {
  20. @Autowired
  21. private PurchaseOtherFeeService purchaseOtherFeeService;
  22. /**
  23. * 获取采购其他费用已有列表
  24. */
  25. @GetMapping("/listName")
  26. List<PurchaseOtherFee> listName() {
  27. return purchaseOtherFeeService.listName();
  28. }
  29. }