|
@@ -7,6 +7,7 @@ import com.xjrsoft.common.page.ConventPage;
|
|
|
import com.xjrsoft.common.page.PageOutput;
|
|
|
import com.xjrsoft.module.evaluate.dto.EvaluateWritePageDto;
|
|
|
import com.xjrsoft.module.evaluate.service.IEvaluateManageService;
|
|
|
+import com.xjrsoft.module.evaluate.vo.EvaluateManageItemVo;
|
|
|
import com.xjrsoft.module.evaluate.vo.EvaluateWritePageVo;
|
|
|
import com.xjrsoft.module.evaluate.vo.EvaluateWriteVo;
|
|
|
import io.swagger.annotations.Api;
|
|
@@ -18,6 +19,7 @@ import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import javax.validation.Valid;
|
|
|
+import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* @title: 评价项
|
|
@@ -54,5 +56,21 @@ public class EvaluateWriteController {
|
|
|
return RT.ok(evaluateWriteVo);
|
|
|
}
|
|
|
|
|
|
+ @GetMapping(value = "/item-list")
|
|
|
+ @ApiOperation(value="评价管理列表(分页)")
|
|
|
+ @SaCheckPermission("evaluatemanage:detail")
|
|
|
+ public RT<List<EvaluateManageItemVo>> itemList(@RequestParam Long id){
|
|
|
+ List<EvaluateManageItemVo> itemList = evaluateManageService.getItemList(id);
|
|
|
+ return RT.ok(itemList);
|
|
|
+ }
|
|
|
+
|
|
|
+ @GetMapping(value = "/result-list")
|
|
|
+ @ApiOperation(value="评价管理列表(分页)")
|
|
|
+ @SaCheckPermission("evaluatemanage:detail")
|
|
|
+ public RT<List<EvaluateManageItemVo>> resultList(@RequestParam Long id){
|
|
|
+ List<EvaluateManageItemVo> itemList = evaluateManageService.getResultList(id);
|
|
|
+ return RT.ok(itemList);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
}
|