package com.billion.main.controller;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.billion.common.core.controller.BaseController;
|
import com.billion.common.core.domain.R;
|
import com.billion.main.domain.DaParamCollection;
|
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;
|
import com.billion.main.service.DaParamCollectionService;
|
|
import javax.annotation.Resource;
|
|
/**
|
* 简介说明:
|
*
|
* @author: Eric
|
* @date: 2024-11-16 11:07:06
|
* @version: 1.0
|
*/
|
@RestController
|
@RequestMapping("/daParamCollection")
|
public class DaParamCollectionController extends BaseController {
|
|
@Resource
|
private DaParamCollectionService daParamCollectionService;
|
|
@GetMapping("/getPage")
|
public R getDaParamCollectionPage(@RequestParam int current,@RequestParam int size ){
|
Page<DaParamCollection> pageQuery = new Page<>(current,size);
|
Page<DaParamCollection> page = daParamCollectionService.page(pageQuery,null);
|
return R.ok(page);
|
}
|
}
|