潘志宝
2024-10-13 86145e48fa25a6ff050b8f6020a0dd75b9c0d3d0
测点配置修改
已修改7个文件
23 ■■■■■ 文件已修改
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/dao/HttpTagDao.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/entity/HttpApiEntity.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/service/HttpTagService.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/service/impl/HttpTagServiceImpl.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/vo/HttpApiRespVO.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/vo/HttpTagPageReqVO.java 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/tag/controller/admin/TagController.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/dao/HttpTagDao.java
@@ -13,8 +13,7 @@
public interface HttpTagDao extends BaseMapperX<HttpTagEntity> {
    default PageResult<HttpTagEntity> selectPage(HttpTagPageReqVO reqVO) {
        return selectPage(reqVO, new LambdaQueryWrapperX<HttpTagEntity>()
                .likeIfPresent(HttpTagEntity::getTagName, reqVO.getTagType())
                .likeIfPresent(HttpTagEntity::getTagName, reqVO.getTagCode())
                .eq(HttpTagEntity::getApiId, reqVO.getApiId())
                .likeIfPresent(HttpTagEntity::getTagName, reqVO.getTagName())
                .orderByDesc(HttpTagEntity::getCreateTime));
    }
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/entity/HttpApiEntity.java
@@ -54,7 +54,7 @@
    /**
     * 是否认证
     */
    private Integer isAuth;
    private Boolean isAuth;
    /**
     * 认证地址
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/service/HttpTagService.java
@@ -22,5 +22,5 @@
    List<HttpTagEntity> selectList(Map<String, Object> params);
    List<HttpTagEntity> getByCode(String code);
    List<HttpTagEntity> getApiId(String code);
}
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/service/impl/HttpTagServiceImpl.java
@@ -67,9 +67,9 @@
    }
    @Override
    public List<HttpTagEntity> getByCode(String code) {
    public List<HttpTagEntity> getApiId(String apiId) {
        return httpTagDao.selectList(new QueryWrapper<HttpTagEntity>()
                .eq("http_api_code", code)
                .eq("api_id", apiId)
                .orderByDesc("create_time"));
    }
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/vo/HttpApiRespVO.java
@@ -45,9 +45,9 @@
    @ExcelProperty("描述")
    private String descp;
    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @ExcelProperty("状态")
    private Integer status;
    @Schema(description = "是否认证", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @ExcelProperty("是否认证")
    private Boolean isAuth;
    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @ExcelProperty("创建时间")
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/vo/HttpTagPageReqVO.java
@@ -17,9 +17,7 @@
@ToString(callSuper = true)
public class HttpTagPageReqVO extends PageParam {
    private String tagType;
    private String tagCode;
    private String apiId;
    private String tagName;
}
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/tag/controller/admin/TagController.java
@@ -153,7 +153,7 @@
                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();