Просмотр исходного кода

Merge branch 'dev' of http://101.36.160.140:21044/depot-qinghai/depot-system-qinghai into dev

ZeroLiYi 1 год назад
Родитель
Сommit
996fa5a276

+ 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	编号