|
@@ -9,7 +9,6 @@ import com.gyee.wisdom.alarm.sharding.service.AlarmSnapService;
|
|
|
import com.gyee.wisdom.alarm.sharding.service.Alertrule2Service;
|
|
|
import com.gyee.wisdom.alarm.sharding.service.RiskSnapService;
|
|
|
import com.gyee.wisdom.alarm.sharding.util.ResponseWrapper;
|
|
|
-import com.sun.org.apache.bcel.internal.generic.ARETURN;
|
|
|
import io.swagger.v3.oas.annotations.Operation;
|
|
|
import io.swagger.v3.oas.annotations.Parameter;
|
|
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
|
@@ -64,8 +63,8 @@ public class HomeController {
|
|
|
@Operation(description = "风机部件查询接口")
|
|
|
@GetMapping("alertrule")
|
|
|
public ResponseWrapper selectAlertrule2(
|
|
|
- @RequestParam(value = "station") String station,
|
|
|
- @RequestParam(value = "modelid") String modelid
|
|
|
+ @RequestParam(value = "station",required = false) String station,
|
|
|
+ @RequestParam(value = "modelid",required = false) String modelid
|
|
|
) {
|
|
|
|
|
|
ResponseWrapper wrapper = null;
|