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.VisiWorkflowDao;
import io.renren.modules.sys.entity.VisiWorkflowEntity;
import io.renren.modules.sys.service.VisiWorkflowService;


@Service("visiWorkflowService")
public class VisiWorkflowServiceImpl extends ServiceImpl<VisiWorkflowDao, VisiWorkflowEntity> implements VisiWorkflowService {

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

        return new PageUtils(page);
    }

}
