@PreAuthorize( "hasRole('ROLE_ADMIN') " + "or hasPermission(#channelId,'com.ewcms.core.site.model.Channel','PUBLISH') " + "or hasPermission(#channelId,'com.ewcms.core.site.model.Channel','ADMIN') ") @Override public void unPubEnterpriseBasic(Integer channelId, List<Long> enterpriseBasicIds) { enterpriseBasicService.unPubEnterpriseBasic(enterpriseBasicIds); }
@Override public Long findEnterpriseBasicTotal(String name) { return enterpriseBasicService.findEnterpriseBasicTotal(name); }
@Override public List<EnterpriseBasic> findEnterpriseBasicByPageAndRows( Integer page, Integer rows, String name) { return enterpriseBasicService.findEnterpriseBasicByPageAndRows(page, rows, name); }
@Override public EnterpriseBasic findEnterpriseBasicById(Long id) { return enterpriseBasicService.findEnterpriseBasicById(id); }
@Override public void delEnterpriseBasic(Long id) { enterpriseBasicService.delEnterpriseBasic(id); }
@Override public Long updEnterpriseBasic(EnterpriseBasic enterpriseBasic) { return enterpriseBasicService.updEnterpriseBasic(enterpriseBasic); }