|
@@ -494,7 +494,7 @@ public class TestController {
|
|
|
}
|
|
|
|
|
|
@ResponseBody
|
|
|
- @PostMapping("/addDemoWarningLog")
|
|
|
+ @GetMapping("/addDemoWarningLog")
|
|
|
@ApiOperation(value = "添加演示告警记录", notes = "添加演示告警记录")
|
|
|
public String addDemoWarningLog(
|
|
|
@ApiParam(value = "openId", required = true) @RequestParam String openId,
|
|
@@ -518,7 +518,9 @@ public class TestController {
|
|
|
|
|
|
|
|
|
String content = "";
|
|
|
- if(type==3)content="单日用水量0.01吨";
|
|
|
+ if(type==1)content="较上日用水量激增30%";
|
|
|
+ if(type==2)content="连续无用水量数据7天";
|
|
|
+ if(type==3)content="单日用水量少于0.01吨";
|
|
|
if(type==4)content="单日用水量超过2吨";
|
|
|
|
|
|
WarningMessage warningMessageNew = new WarningMessage();
|