package com.landtool.lanbase.modules.res.service.impl;
|
|
import java.util.List;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
|
import com.landtool.lanbase.modules.res.dao.RoleResCatalogMapper;
|
import com.landtool.lanbase.modules.res.entity.Role_ResCatalog;
|
import com.landtool.lanbase.modules.res.service.RoleResCatalogService;
|
@Service("RoleResCatalogService")
|
public class RoleResCatalogServiceImpl implements RoleResCatalogService {
|
|
@Autowired
|
RoleResCatalogMapper mapper;
|
@Override
|
public boolean insertRoleResCatalogRel(Role_ResCatalog bean) {
|
Integer count=mapper.insertRoleResCatalogRel(bean);
|
return count>0?true:false;
|
}
|
|
@Override
|
public List<Role_ResCatalog> queryRoleResCatalogRel(Role_ResCatalog bean) {
|
|
return mapper.queryRoleResCatalogRel(bean);
|
}
|
|
@Override
|
public boolean updateRoleResCatalogRel(Role_ResCatalog bean) {
|
|
Integer count=mapper.updateRoleResCatalogRel(bean);
|
return count>0?true:false;
|
}
|
|
}
|