|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.zc.business.service.impl; |
|
|
|
|
|
|
|
import com.ruoyi.common.core.domain.AjaxResult; |
|
|
|
import com.ruoyi.common.core.domain.entity.SysDictData; |
|
|
|
import com.ruoyi.common.utils.DictUtils; |
|
|
|
import com.zc.business.domain.DcInfoBoardTemplate; |
|
|
@ -85,4 +86,18 @@ public class DcInfoBoardTemplateServiceImpl implements IDcInfoBoardTemplateServi |
|
|
|
return dcInfoBoardTemplateMapper.deleteSdVmsTemplateByIds(id); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 模板分类排序 |
|
|
|
* |
|
|
|
* @param ids |
|
|
|
* @return 结果 |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public AjaxResult updateCategorySort(Long[] ids){ |
|
|
|
for (int i = 0; i < ids.length; i++) { |
|
|
|
dcInfoBoardTemplateMapper.updateCategorySort(ids[i],i); |
|
|
|
} |
|
|
|
return AjaxResult.success("修改排序成功"); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|