@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 unPubEmployeBasic(Integer channelId, List<Long> employeBasicIds) { employeBasicService.unPubEmployeBasic(employeBasicIds); }
@Override public Long findEmployeBasicTotal(String name) { return employeBasicService.findEmployeBasicTotal(name); }
@Override public List<EmployeBasic> findEmployeBasicByPageAndRows(Integer page, Integer rows, String name) { return employeBasicService.findEmployeBasicByPageAndRows(page, rows, name); }
@Override public EmployeBasic findEmployeBasicById(Long id) { return employeBasicService.findEmployeBasicById(id); }
@Override public void delEmployeBasic(Long id) { employeBasicService.delEmployeBasic(id); }
@Override public Long updEmployeBasic(EmployeBasic employeBasic) { return employeBasicService.updEmployeBasic(employeBasic); }