package tech.glinfo.enbao.modules.sh.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 tech.glinfo.enbao.common.utils.PageUtils;
import tech.glinfo.enbao.common.utils.Query;

import tech.glinfo.enbao.modules.sh.dao.ShInstructionParsingDao;
import tech.glinfo.enbao.modules.sh.entity.ShInstructionParsingEntity;
import tech.glinfo.enbao.modules.sh.service.ShInstructionParsingService;


@Service("shInstructionParsingService")
public class ShInstructionParsingServiceImpl extends ServiceImpl<ShInstructionParsingDao, ShInstructionParsingEntity> implements ShInstructionParsingService {

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

        return new PageUtils(page);
    }

}