Пример #1
0
 @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);
 }
Пример #2
0
 @Override
 public Long findEnterpriseBasicTotal(String name) {
   return enterpriseBasicService.findEnterpriseBasicTotal(name);
 }
Пример #3
0
 @Override
 public List<EnterpriseBasic> findEnterpriseBasicByPageAndRows(
     Integer page, Integer rows, String name) {
   return enterpriseBasicService.findEnterpriseBasicByPageAndRows(page, rows, name);
 }
Пример #4
0
 @Override
 public EnterpriseBasic findEnterpriseBasicById(Long id) {
   return enterpriseBasicService.findEnterpriseBasicById(id);
 }
Пример #5
0
 @Override
 public void delEnterpriseBasic(Long id) {
   enterpriseBasicService.delEnterpriseBasic(id);
 }
Пример #6
0
 @Override
 public Long updEnterpriseBasic(EnterpriseBasic enterpriseBasic) {
   return enterpriseBasicService.updEnterpriseBasic(enterpriseBasic);
 }