package com.ssm.manage.service.impl;

import cn.hutool.core.date.DateUtil;
import com.github.pagehelper.PageInfo;
import com.ssm.core.service.impl.BaseServiceImpl;
import com.ssm.manage.dao.SsmSysRoleStoreDao;
import com.ssm.manage.dao.SsmSysStoreRoleDao;
import com.ssm.manage.entity.SysRoleStore;
import com.ssm.manage.entity.SysStoreRole;
import com.ssm.manage.query.SysRoleStoreRequest;
import com.ssm.manage.query.SysStoreRoleRequest;
import com.ssm.manage.service.SsmSysRoleStoreService;
import com.ssm.manage.service.SsmSysStoreRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SsmSysRoleStoreServiceImpl extends BaseServiceImpl<SysRoleStore> implements SsmSysRoleStoreService {
    @Autowired
    private SsmSysRoleStoreDao dao;

    @Override
    public SsmSysRoleStoreDao getDao() {
        return dao;
    }


    @Override
    public PageInfo<SysRoleStore> selectPage(SysRoleStoreRequest sysStoreRole) {
        return dao.selectPage(sysStoreRole);
    }
}
