lyh
2026-01-19 6141f0a2140439337dccf8bfe93c4ca83605446d
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
package com.lxzn.plm.controller;
 
import com.lxzn.api.plm.PdmProgramSourceControllerApi;
import com.lxzn.framework.domain.plm.PdmProgramSource;
import com.lxzn.framework.domain.plm.QueryNcProgramLog;
import com.lxzn.framework.domain.plm.request.PdmProgramSourceRequest;
import com.lxzn.framework.model.response.QueryPageResponseResult;
import com.lxzn.plm.service.IPdmProgramSourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * @author clown
 * * @date 2022/11/8
 */
@RestController
@RequestMapping("/plm/source")
public class PdmProgramSourceController implements PdmProgramSourceControllerApi {
    @Autowired
    private IPdmProgramSourceService pdmProgramSourceService;
    @Override
    @GetMapping("/find/page/{page}/{size}")
    public QueryPageResponseResult<PdmProgramSource> findPageList(@PathVariable("page") int page, @PathVariable("size") int size, PdmProgramSourceRequest sourceRequest) {
        return pdmProgramSourceService.findPageList(page,size,sourceRequest);
    }
}