mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
1、柜体板件视图分页和cadinfo接口支持多柜体入参;2、新增订单详情柜体数和部件树返回cad图纸id和图纸fileHash;
This commit is contained in:
+7
@@ -15,6 +15,9 @@ import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import jakarta.validation.Valid;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
@FeignClient(name = ApiConstants.NAME) // TODO 晨丰:fallbackFactory =
|
||||
@Tag(name = "RPC 服务 - 文件")
|
||||
public interface FileApi {
|
||||
@@ -95,4 +98,8 @@ public interface FileApi {
|
||||
default Long createFileAndReturnId(byte[] content, String fileName) {
|
||||
return createFileAndReturnId(new FileCreateReqDTO().setName(fileName).setPath(null).setContent(content)).getCheckedData();
|
||||
}
|
||||
|
||||
@PostMapping(PREFIX + "/getFileHashByIds")
|
||||
@Operation(summary = "根据文件id请求和fileHash的对应关系")
|
||||
CommonResult<Map<Long, String>> getFileHashMapByIds(@RequestBody Set<Long> fileIds);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user