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.
|
- /**
- * 版权所有 ©2021 莱欧有限公司
- * 工程名:yearBooks
- * 文件名:CommentController.java
- * 创建日期:2021年10月21日 上午9:37:18
- * 作者:mt.W
- */
- package com.lion.controller;
-
- import java.util.Map;
-
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
-
- import com.lion.service.CommentService;
-
- /**
- * 类描述 共用方法controller
- * @author mt.W
- * @since 2021年10月21日
- */
- @RestController
- @RequestMapping("comment")
- public class CommentController {
-
- @Autowired
- private CommentService service;
-
- /**
- *
- * 方法描述 获取年度信息
- * @author mt.W
- * @since 2021年10月21日
- * @param tableName 数据所在表
- * @return
- */
- @RequestMapping("loadYears.service")
- public Map<String,Object> loadYears(String tableName){
- return service.loadYears(tableName);
- }
- }
|