新增排单-是否混单判断更改,未排单-板材查询参数更改,优化生产,保存优化结果异常提示补全,

This commit is contained in:
liuzhaotian
2025-01-16 17:22:00 +08:00
parent 9b156e51bb
commit 166ebf430a
14 changed files with 91 additions and 74 deletions
@@ -49,4 +49,10 @@ public interface SystemConfigApi {
@GetMapping(PREFIX + "/organ/process-config")
@Operation(summary = "获取排单下加工方案组的配置信息和具体配置项的配置信息")
CommonResult<List<ProcessSchemeDTO>> getProcessById(@RequestParam("processId") Long processId);
@GetMapping(PREFIX + "/organ/multi-color-config-status")
@Operation(summary = "查询组织的混单是否开启")
CommonResult<Boolean> getMultiColorConfigStatus();
}
@@ -345,6 +345,7 @@ public class ErrorCodeConstants {
public static final ErrorCode THIS_PLAN_PLATE_DATA_ERROR = new ErrorCode(1_002_041_039, "当前排单对应的板材数据为空,请重新进行排单或检查生产单对应的板材信息");
public static final ErrorCode PLAN_PROCESS_CONFIG_IS_NULL = new ErrorCode(1_002_041_040, "排单:{} 对应的方案组为空,请进行配置");
public static final ErrorCode PLAN_PROCESS_CONFIG_ALL_IS_NULL = new ErrorCode(1_002_041_041, "当前所选排单对应的方案组配置均为空,请重新进行方案组配置");
public static final ErrorCode THIS_PLAN_IS_LOCK = new ErrorCode(1_002_041_042, "当前排单已被锁定,无法进行优化,请解锁后再进行优化");