1、分堆打包mycat环境分堆异常修复;2、包裹详情入参格式修改;3、分堆打包配置自增修复;

This commit is contained in:
gaoqr
2026-04-28 12:05:09 +08:00
parent 1896f175a6
commit 13c613f596
10 changed files with 16 additions and 126 deletions
@@ -1,30 +0,0 @@
package com.cf.imes.module.system.api.setting;
import com.cf.imes.module.system.api.setting.dto.PackageConfigDTO;
import com.cf.imes.module.system.enums.ApiConstants;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import java.math.BigDecimal;
@FeignClient(name = ApiConstants.NAME) // TODO 晨丰:fallbackFactory =
@Tag(name = "RPC 服务 - 系统配置")
public interface SettingApi {
String PREFIX = ApiConstants.PREFIX + "/setting";
@GetMapping(PREFIX + "/getUserSetting")
@Operation(summary = "查看当前用户的配置信息")
@Parameter(name = "type", description = "配置配型", required = true, example = "1")
PackageConfigDTO getUserSetting(@RequestParam("type") Integer type);
}
@@ -1,35 +0,0 @@
package com.cf.imes.module.system.api.setting.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PackageConfigDTO {
@Schema(description = "主键")
private Long id;
@Schema(description = "组织ID")
private Long organId;
@Schema(description = "用户ID")
private Long userId;
@Schema(description = "配置类型: 1 分堆,2 打包", requiredMode = Schema.RequiredMode.REQUIRED)
private Integer type;
@Schema(description = "配置信息", requiredMode = Schema.RequiredMode.REQUIRED)
private String setting;
}
@@ -253,11 +253,6 @@ public class ErrorCodeConstants {
public static final ErrorCode REMAIN_PLATE_COUNT_MAX = new ErrorCode(1_002_038_009, "remain.plate.count.max");
//=========== 用户的系统配置 1-002-039-000 ============
public static final ErrorCode CURRENTLY_NO_CONFIGURATION_AVAILABLE = new ErrorCode(1_002_039_001, "currently.no.configuration.available");
//=========== 系统配置 1-002-040-000 ============
public static final ErrorCode SYSTEM_CONFIG_NOT_EXISTS = new ErrorCode(1_002_040_001, "system.config.not_exists");
public static final ErrorCode SYSTEM_CONFIG_TYPE_NOT_SUPPORT = new ErrorCode(1_002_040_002, "system.config.type_not_support");