Lius
2 天以前 654f7d7f98615bc9b1e0fe7e7f13942c89492c11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package org.jeecg.modules.dnc.controller;
 
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fasterxml.jackson.core.JsonProcessingException;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.api.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * @author Lyh
 * @Description: DNC首页接口
 * @date 2024/3/13 14:27
 */
@Slf4j
@Api(tags = "DNC首页接口")
@RestController
@RequestMapping("/dnc/home")
 
//todo dnc首页相关接口待定
public class DncHomeController {
 
    /**
     * 三维工艺工艺规程信息列表
     * @return
     */
    @ApiOperation(value = "三维工艺工艺规程信息列表", notes = "三维工艺工艺规程信息列表")
    @GetMapping(value = "/syncProcessSpecificationInfo")
    public Result<?> syncProcessSpecificationInfo() {
        return Result.ok();
    }
 
    /**
     * 三维工艺工艺规程信息领取挂靠产品结构树
     * @param id
     * @return
     */
    @ApiOperation(value = "三维工艺工艺规程信息领取挂靠产品结构树", notes = "三维工艺工艺规程信息领取挂靠产品结构树")
    @GetMapping(value = "/receiveTree")
    public Result<?> syncProcessSpecificationInfoTree(@RequestParam(name = "id") String id) throws JsonProcessingException {
        return Result.ok();
    }
 
}