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 map) { return entranceQueryService.getPage(map); } @PostMapping("/getLargeEntrancePage") public IPage getLargeEntrancePage(@RequestBody Map map) { return entranceQueryService.getLargeEntrancePage(map); } }