From 577e866c218a797770b73081586b66fd6a8f4e41 Mon Sep 17 00:00:00 2001 From: xyc <jc_xiong@hotmail.com> Date: 星期五, 26 四月 2024 11:02:11 +0800 Subject: [PATCH] 测试调用python算法库 --- modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/controller/TyProductModelController.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/controller/TyProductModelController.java b/modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/controller/TyProductModelController.java index 2243a17..e0882fc 100644 --- a/modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/controller/TyProductModelController.java +++ b/modules/mainPart/src/main/java/com/zt/life/modules/mainPart/basicInfo/controller/TyProductModelController.java @@ -89,7 +89,7 @@ public Result insert(@RequestBody TyProductModel tyProductModel){ //鏁堥獙鏁版嵁 ValidatorUtils.validateEntity(tyProductModel, AddGroup.class, DefaultGroup.class); - Integer no = tyProductModelService.getNo(tyProductModel.getPid()); + Integer no = tyProductModelService.getNo(tyProductModel.getPid(),tyProductModel.getNodeType()); tyProductModel.setSort(no + 1); tyProductModelService.insert(tyProductModel); -- Gitblit v1.9.1