mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
1、新增装配清单中根据装配设置对应加工状态的部件列表接口;2、新增装配清单加工接口;
This commit is contained in:
+29
@@ -0,0 +1,29 @@
|
||||
package com.cf.imes.module.system.api.assemblyconfig;
|
||||
|
||||
import com.cf.imes.framework.common.pojo.CommonResult;
|
||||
import com.cf.imes.module.system.api.assemblyconfig.dto.AssemblyConfigRespDTO;
|
||||
import com.cf.imes.module.system.enums.ApiConstants;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @author Gqr
|
||||
* @since 2026/2/28 15:12
|
||||
*/
|
||||
@FeignClient(name = ApiConstants.NAME)
|
||||
@Tag(name = "RPC 服务 - 装配设置")
|
||||
public interface AssemblyConfigApi {
|
||||
|
||||
String PREFIX = ApiConstants.PREFIX + "/assembly/config";
|
||||
|
||||
@PostMapping("/getOrgAssemblySettingByComponentNames")
|
||||
@Operation(summary = "根据部件名称列表查询组织下对应的装配设置")
|
||||
CommonResult<List<AssemblyConfigRespDTO>> getAssemblyConfigByPartNameList(@RequestBody List<String> componentNameList);
|
||||
}
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
package com.cf.imes.module.system.api.assemblyconfig.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @author Gqr
|
||||
* @since 2026/2/28 15:57
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "管理后台 - 装配设置 Response DTO")
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
public class AssemblyConfigRespDTO {
|
||||
@Schema(description = "主键", example = "1024")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "装备设置名称", example = "张三")
|
||||
private String componentName;
|
||||
|
||||
@Schema(description = "结构哈希值")
|
||||
private String structureHash;
|
||||
|
||||
@Schema(description = "结构Json")
|
||||
private String structureJson;
|
||||
}
|
||||
Reference in New Issue
Block a user