From 1aef14e311a5fb7615d8078bae99f1fbb98dfe6b Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Mon, 29 Jan 2024 11:38:55 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=8C=87=E6=A0=87=E7=AE=A1=E7=90=86=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../logpm/supervise/service/impl/ClassifyServiceImpl.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/blade-service/logpm-supervise/src/main/java/com/logpm/supervise/service/impl/ClassifyServiceImpl.java b/blade-service/logpm-supervise/src/main/java/com/logpm/supervise/service/impl/ClassifyServiceImpl.java index e22419f1f..3164d0b1a 100644 --- a/blade-service/logpm-supervise/src/main/java/com/logpm/supervise/service/impl/ClassifyServiceImpl.java +++ b/blade-service/logpm-supervise/src/main/java/com/logpm/supervise/service/impl/ClassifyServiceImpl.java @@ -94,12 +94,12 @@ public class ClassifyServiceImpl extends BaseServiceImpl pageList(IPage page, Map classify) { - Long pId = (Long) classify.get("pId"); + String pId = (String) classify.get("pid"); String name = (String) classify.get("name"); String isPid = (String) classify.get("isPid"); ClassifyDTO classifyDTO = new ClassifyDTO(); - classifyDTO.setPId(pId); + classifyDTO.setPId(Long.parseLong(pId)); classifyDTO.setName(name); classifyDTO.setIsPid(Integer.parseInt(isPid)); @@ -260,7 +260,6 @@ public class ClassifyServiceImpl extends BaseServiceImpl> resourceList, Long id) { for (Map map : resourceList) { IndicatorsAnnexEntity indicatorsAnnexEntity = Func.copy(map, IndicatorsAnnexEntity.class);