فهرست منبع

"target",required修改为false
"sort",required修改为false

ma0501 2 سال پیش
والد
کامیت
b980fdccf7

+ 2 - 2
web/runeconomy-xk/src/main/java/com/gyee/runeconomy/controller/bmk/BenchmarkingController.java

@@ -90,8 +90,8 @@ public class BenchmarkingController {
                          @RequestParam(value = "wpids", required = true) String wpids,
                          @RequestParam(value = "projectids", required = true) String projectids,
                          @RequestParam(value = "lineids", required = true) String lineids,
-                         @RequestParam(value = "target",required = true) String target,
-                         @RequestParam(value = "sort",required = true) String sort){
+                         @RequestParam(value = "target",required = false) String target,
+                         @RequestParam(value = "sort",required = false) String sort){
         List<FjjxbVo> resultList = benchmarkingService.performance(companyid,getype,sttype,beginDate,endDate,wpids,projectids,lineids,target,sort);
         if (StringUtils.isNotNull(resultList)) {
             return R.data(ResultMsg.ok(resultList));