package com.lxzn.base.controller;
|
|
import com.lxzn.api.base.DncLogControllerApi;
|
import com.lxzn.base.service.IDncLogService;
|
import com.lxzn.framework.domain.base.DncLog;
|
import com.lxzn.framework.domain.base.request.DncLogRequest;
|
import com.lxzn.framework.model.response.QueryPageResponseResult;
|
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/7
|
*/
|
@RestController
|
@RequestMapping("/dnc/dncLog")
|
public class DncLogController implements DncLogControllerApi {
|
|
@Autowired
|
private IDncLogService dncLogService;
|
@Override
|
@GetMapping("/find/page/{page}/{size}")
|
public QueryPageResponseResult<DncLog> findPageList(@PathVariable("page") int page, @PathVariable("size") int size, DncLogRequest dncLogRequest) {
|
return dncLogService.findByPageList(page,size,dncLogRequest);
|
}
|
}
|