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);