Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
liss
2025-10-17 17:58:11 +08:00
69 changed files with 3688 additions and 183 deletions

View File

@@ -0,0 +1,23 @@
package com.zt.plat.module.base.controller.admin.businessalgorithm.vo;
import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
@Schema(description = "管理后台 - 业务算法分页 Request VO")
@Data
public class BusinessAlgorithmPageReqVO extends PageParam {
@Schema(description = "类型")
private String typeValue;
@Schema(description = "状态")
private String statusValue;
@Schema(description = "算法编码")
private String code;
@Schema(description = "算法名称", example = "王五")
private String name;
}

View File

@@ -0,0 +1,45 @@
package com.zt.plat.module.base.controller.admin.businessalgorithm.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
@Schema(description = "管理后台 - 业务算法 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BusinessAlgorithmRespVO {
@Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24454")
@ExcelProperty("主键ID")
private Long id;
@Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("类型")
private String typeValue;
@Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("状态")
private String statusValue;
@Schema(description = "算法编码", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("算法编码")
private String code;
@Schema(description = "算法名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
@ExcelProperty("算法名称")
private String name;
@Schema(description = "算法描述", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("算法描述")
private String description;
@Schema(description = "算法代码")
@ExcelProperty("算法代码")
private String coding;
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("创建时间")
private LocalDateTime createTime;
}

View File

@@ -0,0 +1,37 @@
package com.zt.plat.module.base.controller.admin.businessalgorithm.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import jakarta.validation.constraints.*;
@Schema(description = "管理后台 - 业务算法新增/修改 Request VO")
@Data
public class BusinessAlgorithmSaveReqVO {
@Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24454")
private Long id;
@Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "类型不能为空")
private String typeValue;
@Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "状态不能为空")
private String statusValue;
@Schema(description = "算法编码", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "算法编码不能为空")
private String code;
@Schema(description = "算法名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
@NotEmpty(message = "算法名称不能为空")
private String name;
@Schema(description = "算法描述", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "算法描述不能为空")
private String description;
@Schema(description = "算法代码")
private String coding;
}

View File

@@ -0,0 +1,17 @@
package com.zt.plat.module.base.controller.admin.businessdepartmentindicator.vo;
import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
@Schema(description = "管理后台 - 部门持有指标分页 Request VO")
@Data
public class BusinessDepartmentIndicatorPageReqVO extends PageParam {
@Schema(description = "指标ID", example = "11268")
private Long indicatorId;
@Schema(description = "是否关键指标")
private Integer isKey;
}

View File

@@ -0,0 +1,59 @@
package com.zt.plat.module.base.controller.admin.businessdepartmentindicator.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
@Schema(description = "管理后台 - 部门持有指标 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BusinessDepartmentIndicatorRespVO {
@Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "32066")
@ExcelProperty("主键ID")
private Long id;
@Schema(description = "指标ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11268")
@ExcelProperty("指标ID")
private Long indicatorId;
@Schema(description = "计量单位ID", example = "16200")
@ExcelProperty("计量单位ID")
private Long unitId;
@Schema(description = "规则ID", example = "11174")
@ExcelProperty("规则ID")
private Long ruleId;
@Schema(description = "算法ID", example = "20986")
@ExcelProperty("算法ID")
private Long algorithmId;
@Schema(description = "实体ID", example = "2678")
@ExcelProperty("实体ID")
private Long entityId;
@Schema(description = "")
@ExcelProperty("")
private String value;
@Schema(description = "是否关键指标")
@ExcelProperty("是否关键指标")
private Integer isKey;
@Schema(description = "排序号")
@ExcelProperty("排序号")
private Long sort;
@Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("备注")
private String remark;
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("创建时间")
private LocalDateTime createTime;
}

View File

@@ -0,0 +1,43 @@
package com.zt.plat.module.base.controller.admin.businessdepartmentindicator.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import jakarta.validation.constraints.*;
@Schema(description = "管理后台 - 部门持有指标新增/修改 Request VO")
@Data
public class BusinessDepartmentIndicatorSaveReqVO {
@Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "32066")
private Long id;
@Schema(description = "指标ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11268")
@NotNull(message = "指标ID不能为空")
private Long indicatorId;
@Schema(description = "计量单位ID", example = "16200")
private Long unitId;
@Schema(description = "规则ID", example = "11174")
private Long ruleId;
@Schema(description = "算法ID", example = "20986")
private Long algorithmId;
@Schema(description = "实体ID", example = "2678")
private Long entityId;
@Schema(description = "")
private String value;
@Schema(description = "是否关键指标")
private Integer isKey;
@Schema(description = "排序号")
private Long sort;
@Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "备注不能为空")
private String remark;
}

View File

@@ -0,0 +1,20 @@
package com.zt.plat.module.base.controller.admin.businessdictionarytype.vo;
import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
@Schema(description = "管理后台 - 业务字典类型分页 Request VO")
@Data
public class BusinessDictionaryTypePageReqVO extends PageParam {
@Schema(description = "字典名称", example = "王五")
private String name;
@Schema(description = "字典类型", example = "1")
private String type;
@Schema(description = "状态(0正常 1停用)", example = "2")
private Long status;
}

Some files were not shown because too many files have changed in this diff Show More