From fa45f3232c4d7c08975cacc668b6eca69b217edb Mon Sep 17 00:00:00 2001 From: Jay <csj123456> Date: 星期三, 16 十月 2024 15:28:50 +0800 Subject: [PATCH] 让数据库表可以存空值 --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/tag/controller/admin/TagController.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/tag/controller/admin/TagController.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/tag/controller/admin/TagController.java index 22d3e8c..bda6560 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/tag/controller/admin/TagController.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/tag/controller/admin/TagController.java @@ -153,11 +153,11 @@ TagOptionDTO op1 = new TagOptionDTO(); op1.setValue(item.getId()); op1.setLabel(item.getName()); - List<HttpTagEntity> tags = tagService.getByCode(item.getCode()); + List<HttpTagEntity> tags = tagService.getApiId(item.getId()); List<TagOptionDTO> op2 = new ArrayList<>(); tags.forEach(item1 -> { TagOptionDTO op3 = new TagOptionDTO(); - op3.setValue(item1.getTagName()); + op3.setValue(item1.getTagDesc()); op3.setLabel(item1.getTagName()); op2.add(op3); }); -- Gitblit v1.9.3