|
@@ -45,8 +45,10 @@ public class EvaluateRuleController {
|
|
|
@RequestParam(value = "id", required = false) String id,
|
|
|
@RequestParam(value = "des", required = false) String des,
|
|
|
@RequestParam(value = "binSection", required = false) String binSection,
|
|
|
- @RequestParam(value = "binStage", required = false) String binStage) {
|
|
|
- IPage<EvaluateRule> list = evaluateRuleService.listPage(pageNum, pageSize, id, des, binSection, binStage);
|
|
|
+ @RequestParam(value = "binStage", required = false) String binStage,
|
|
|
+ @RequestParam(value = "checkCycle", required = false) String checkCycle,
|
|
|
+ @RequestParam(value = "year", required = false) String year) {
|
|
|
+ IPage<EvaluateRule> list = evaluateRuleService.listPage(pageNum, pageSize, id, des, binSection, binStage, checkCycle, year);
|
|
|
return R.ok().data(list);
|
|
|
}
|
|
|
|
|
@@ -63,10 +65,12 @@ public class EvaluateRuleController {
|
|
|
//@ImsPreAuth("eval:dataDictionary:view")
|
|
|
@GetMapping(value = "listAll")
|
|
|
public R listAll(@RequestParam(value = "id", required = false) String id,
|
|
|
- @RequestParam(value = "des", required = false) String des,
|
|
|
- @RequestParam(value = "binSection", required = false) String binSection,
|
|
|
- @RequestParam(value = "binStage", required = false) String binStage) {
|
|
|
- List<EvaluateRule> list = evaluateRuleService.listAll(id, des, binSection, binStage);
|
|
|
+ @RequestParam(value = "des", required = false) String des,
|
|
|
+ @RequestParam(value = "binSection", required = false) String binSection,
|
|
|
+ @RequestParam(value = "binStage", required = false) String binStage,
|
|
|
+ @RequestParam(value = "checkCycle", required = false) String checkCycle,
|
|
|
+ @RequestParam(value = "year", required = false) String year) {
|
|
|
+ List<EvaluateRule> list = evaluateRuleService.listAll(id, des, binSection, binStage, checkCycle, year);
|
|
|
return R.ok().data(list);
|
|
|
}
|
|
|
|