Commit 4070391c by zhiwj

指标说明

parent a1872b32
......@@ -35,28 +35,24 @@ public class IndexDescController {
}
@RequestMapping("/list-index-desc-detail")
@IgnoreLogin
public RestResponse listByEnterpriseAndModuleDetail(Integer enterpriseId, String moduleId, String indexGroupName, Integer userId) {
ServiceResponse<List<IndexDescDTO>> serviceResponse = indexDescApiService.listByEnterpriseAndModuleDetail(enterpriseId, moduleId, indexGroupName, userId);
return ResultControllerUtils.commonResult(serviceResponse);
}
@RequestMapping("/list-index-desc-recycle")
@IgnoreLogin
public RestResponse listRecycle(Integer enterpriseId, String moduleId, String indexGroupName, Integer userId) {
ServiceResponse<List<IndexDescDTO>> serviceResponse = indexDescApiService.listRecycle(enterpriseId, moduleId, indexGroupName, userId);
return ResultControllerUtils.commonResult(serviceResponse);
}
@RequestMapping("/sort-index-desc")
@IgnoreLogin
public RestResponse sort(Integer enterpriseId, String moduleId, String ids) {
ServiceResponse<Void> serviceResponse = indexDescApiService.batchUpdate(enterpriseId, moduleId, ids);
return ResultControllerUtils.commonResult(serviceResponse);
}
@RequestMapping("/recycle-index-desc")
@IgnoreLogin
public RestResponse recycle(Integer indexDescEnterpriseId) {
ServiceResponse<Void> serviceResponse = indexDescApiService.moveToRecycle(indexDescEnterpriseId);
return ResultControllerUtils.commonResult(serviceResponse);
......@@ -72,7 +68,6 @@ public class IndexDescController {
}
@RequestMapping("/erase-index-desc")
@IgnoreLogin
public RestResponse eraseIndexDesc(Integer userId, Integer updateTipsId) {
ServiceResponse<Void> serviceResponse = indexDescApiService.eraseUpdateTips(userId, updateTipsId);
return ResultControllerUtils.commonResult(serviceResponse);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment