浏览代码

增加方法

gaodd 1 年之前
父节点
当前提交
ed0aa6edf7
共有 1 个文件被更改,包括 15 次插入0 次删除
  1. 15 0
      src/main/java/com/chinaitop/depot/system/controller/FuncInfoController.java

+ 15 - 0
src/main/java/com/chinaitop/depot/system/controller/FuncInfoController.java

@@ -70,6 +70,21 @@ public class FuncInfoController {
70 70
 		return pageInfo;
71 71
 	}
72 72
 
73
+	
74
+	
75
+	/**
76
+	 * 查找功能信息
77
+	 * @return
78
+	 */
79
+	@RequestMapping(value="/getFuncList", method = RequestMethod.GET)
80
+	@ApiOperation(value="功能列表", notes = "查询功能列表")
81
+	public List<FuncInfo> getFuncInfo() {
82
+		FuncInfoExample example = new FuncInfoExample();
83
+		Criteria criteria = example.createCriteria();
84
+		return funcInfoService.queryByExample(example);	
85
+	}
86
+	
87
+	
73 88
 	/**
74 89
 	 * 根据编号查找功能信息
75 90
 	 * @param funcId	编号