package io.renren.modules.sys.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.sys.dao.VisiWorkflowparamapDao;
import io.renren.modules.sys.entity.VisiWorkflowparamapEntity;
import io.renren.modules.sys.service.VisiWorkflowparamapService;


@Service("visiWorkflowparamapService")
public class VisiWorkflowparamapServiceImpl extends ServiceImpl<VisiWorkflowparamapDao, VisiWorkflowparamapEntity> implements VisiWorkflowparamapService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<VisiWorkflowparamapEntity> page = this.page(
                new Query<VisiWorkflowparamapEntity>().getPage(params),
                new QueryWrapper<VisiWorkflowparamapEntity>()
        );

        return new PageUtils(page);
    }

}
