惠州统计年鉴
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.
 
 
 
 
 

43 lines
964 B

  1. /**
  2. * 版权所有 ©2021 莱欧有限公司
  3. * 工程名:yearBooks
  4. * 文件名:CommentController.java
  5. * 创建日期:2021年10月21日 上午9:37:18
  6. * 作者:mt.W
  7. */
  8. package com.lion.controller;
  9. import java.util.Map;
  10. import org.springframework.beans.factory.annotation.Autowired;
  11. import org.springframework.web.bind.annotation.RequestMapping;
  12. import org.springframework.web.bind.annotation.RestController;
  13. import com.lion.service.CommentService;
  14. /**
  15. * 类描述 共用方法controller
  16. * @author mt.W
  17. * @since 2021年10月21日
  18. */
  19. @RestController
  20. @RequestMapping("comment")
  21. public class CommentController {
  22. @Autowired
  23. private CommentService service;
  24. /**
  25. *
  26. * 方法描述 获取年度信息
  27. * @author mt.W
  28. * @since 2021年10月21日
  29. * @param tableName 数据所在表
  30. * @return
  31. */
  32. @RequestMapping("loadYears.service")
  33. public Map<String,Object> loadYears(String tableName){
  34. return service.loadYears(tableName);
  35. }
  36. }