package com.ims.eval.controller; import com.ims.eval.config.CustomException; import com.ims.eval.entity.dto.result.R; import com.ims.eval.entity.EvaluateRuleInfo; import com.ims.eval.service.IEvaluateRuleInfoService; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.util.Arrays; import java.util.List; /** *
* 考评规则信息 前端控制器 *
* * @author wang * @since 2023-02-28 */ @RestController @RequestMapping("//evaluate-rule-info") public class EvaluateRuleInfoController { @Autowired private IEvaluateRuleInfoService evaluateRuleInfoService; /** * 查询 list * * @param id 主键 * @param des 描述 * @param indicatorId 指标ID * @return */ //@ImsPreAuth("eval:dataDictionary:view") @GetMapping(value = "list") public R list(@RequestParam(value = "id", required = false) String id, @RequestParam(value = "des", required = false) String des, @RequestParam(value = "indicatorId", required = false) String indicatorId, @RequestParam(value = "evaluateRuleId", required = false) String evaluateRuleId, @RequestParam(value = "indicatorName", required = false) String indicatorName) { List