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 findPageList(@PathVariable("page") int page, @PathVariable("size") int size, PdmProgramSourceRequest sourceRequest) { return pdmProgramSourceService.findPageList(page,size,sourceRequest); } }