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.ShCarLockDao;
import tech.glinfo.enbao.modules.sh.entity.ShCarLockEntity;
import tech.glinfo.enbao.modules.sh.service.ShCarLockService;


@Service("shCarLockService")
public class ShCarLockServiceImpl extends ServiceImpl<ShCarLockDao, ShCarLockEntity> implements ShCarLockService {

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

        return new PageUtils(page);
    }

}