package cn.datax.service.data.masterdata.controller;

import cn.datax.common.base.BaseController;
import cn.datax.service.data.masterdata.api.entity.ModelEntity;
import cn.datax.service.data.masterdata.api.query.ModelDataQuery;
import cn.datax.service.data.masterdata.service.ModelDataService;
import cn.datax.service.data.masterdata.utils.SearchUtil;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/datas")
public class ModelDataController extends BaseController {

    @Autowired
    private ModelDataService modelDataService;

    @PostMapping("/page")
    public void getPageModelDatas(ModelDataQuery modelDataQuery) {
        IPage<Map<String, Object>> page = modelDataService.getPageModelDatas(modelDataQuery);
    }

}
