예제 #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);
 }