You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
996 B
Java
33 lines
996 B
Java
package com.nmgs.controller;
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.nmgs.service.EntranceQueryService;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
import javax.annotation.Resource;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* @author: shuguang
|
|
* @date: 2023年12月25日 14:29
|
|
* @description:
|
|
*/
|
|
@RestController
|
|
public class EntranceQueryController {
|
|
@Resource
|
|
private EntranceQueryService entranceQueryService;
|
|
@PostMapping("/EntranceQuery/getPage")
|
|
public IPage getPage(@RequestBody Map<String,Object> map) {
|
|
return entranceQueryService.getPage(map);
|
|
}
|
|
@PostMapping("/getLargeEntrancePage")
|
|
public IPage getLargeEntrancePage(@RequestBody Map<String,Object> map) {
|
|
return entranceQueryService.getLargeEntrancePage(map);
|
|
}
|
|
|
|
|
|
}
|