|  |  |  | 
|---|
|  |  |  | import com.smartor.service.ISvyLibScriptCategoryService; | 
|---|
|  |  |  | import io.swagger.annotations.Api; | 
|---|
|  |  |  | import io.swagger.annotations.ApiOperation; | 
|---|
|  |  |  | import org.apache.commons.beanutils.ConvertUtils; | 
|---|
|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
|---|
|  |  |  | import org.springframework.security.access.prepost.PreAuthorize; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.*; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import javax.servlet.http.HttpServletResponse; | 
|---|
|  |  |  | import java.util.Arrays; | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | @PreAuthorize("@ss.hasPermi('smartor:category:remove')") | 
|---|
|  |  |  | @Log(title = "问卷题目分类", businessType = BusinessType.DELETE) | 
|---|
|  |  |  | @GetMapping("/remove/{ids}") | 
|---|
|  |  |  | public AjaxResult remove(@PathVariable Long[] ids) { | 
|---|
|  |  |  | return toAjax(svyLibScriptCategoryService.deleteSvyLibScriptCategoryByIds(ids)); | 
|---|
|  |  |  | public AjaxResult remove(@PathVariable String ids) { | 
|---|
|  |  |  | Long[] idArray = (Long[]) ConvertUtils.convert(ids.split(","), Long.class); | 
|---|
|  |  |  | return toAjax(svyLibScriptCategoryService.deleteSvyLibScriptCategoryByIds(idArray)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|