src/com/cms/service/impl/AuthServiceImpl.java
(完整代码) 1KBpackage com.cms.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.cms.dao.AuthDao;
import com.cms.entity.Auth;
import com.cms.service.AuthService;
import com.cms.utils.page.Pagination;
@Service
@Transactional
public class AuthServiceImpl implements AuthService {
@Autowired
private AuthDao authDao;
@Override
public List<Auth> getMenuList(String userType) {
return authDao.selectMenu(userType);
}
@Override
public List<Auth> getUrlList(String userType) {
return authDao.selectUrl(userType);
}
@Override
public int getTotalItemsCount(String searchKey) {
return authDao.getTotalItemsCount(searchKey);
}
@Override
public List<Auth> getAuthList(Pagination<Auth> page,
String searchKey) {
return authDao.getAuthList(page,searchKey);
}
@Override
public int update(Auth auth) {
return authDao.updateByPrimaryKeySelective(auth);
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。