From 99ef2c53e2b64b8ba342eb2abebfab28ccc31b9d Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期三, 12 七月 2023 14:19:22 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/MdmEngineController.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/MdmEngineController.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/MdmEngineController.java
index 62f129c..c1941fd 100644
--- a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/MdmEngineController.java
+++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/MdmEngineController.java
@@ -510,12 +510,12 @@
 	 * @return 鍒嗙被鐮佸�肩殑鍐呭
 	 */
 	@GetMapping("/listCodeClassifyValueBySecOid")
-	public DataGrid<CodeClassifyValueVO> listCodeClassifyValueBySecOid(String classifySecOid, String parentClassifyValueOid){
+	public IPage<CodeClassifyValueVO> listCodeClassifyValueBySecOid(String classifySecOid, String parentClassifyValueOid){
 		List<CodeClassifyValueVO> valueVOS = engineService.listCodeClassifyValueBySecOid(classifySecOid, parentClassifyValueOid);
-		DataGrid<CodeClassifyValueVO> dataGrid = new DataGrid<>();
-		dataGrid.setData(valueVOS);
-		dataGrid.setTotal(valueVOS==null?0:valueVOS.size());
-		return dataGrid;
+		IPage<CodeClassifyValueVO> valueVOIPage = new Page<>();
+		valueVOIPage.setRecords(valueVOS);
+		valueVOIPage.setTotal(valueVOS==null?0:valueVOS.size());
+		return valueVOIPage;
 	}
 
 	/**
@@ -524,7 +524,7 @@
 	 * @return 缂栫爜瑙勫垯鐨勫唴瀹�
 	 */
 	@GetMapping("/getCodeRuleByClassifyOid")
-//	@VciUnCheckRight
+	//	@VciUnCheckRight
 	public R<CodeRuleVO> getCodeRuleByClassifyOid(String codeClassifyOid){
 		return R.data(engineService.getCodeRuleByClassifyOid(codeClassifyOid));
 	}

--
Gitblit v1.9.3