Commit 628fb1fe authored by kongfm's avatar kongfm

警情添加电梯相关信息

parent e80c67ad
...@@ -57,4 +57,10 @@ public class AlertPaperInfoDto { ...@@ -57,4 +57,10 @@ public class AlertPaperInfoDto {
@ApiModelProperty(value = "状态信息") @ApiModelProperty(value = "状态信息")
private String alertStatus; private String alertStatus;
@ApiModelProperty(value = "电梯id")
private String elevatorId;
@ApiModelProperty(value = "电梯设备编码")
private String elevatorCode;
} }
...@@ -228,7 +228,8 @@ public class AlertCalledController extends BaseController { ...@@ -228,7 +228,8 @@ public class AlertCalledController extends BaseController {
alertPaperInfoDto.setRegionCode(elevator.getRegionCode()); alertPaperInfoDto.setRegionCode(elevator.getRegionCode());
alertPaperInfoDto.setRescueCode(elevator.getRescueCode()); alertPaperInfoDto.setRescueCode(elevator.getRescueCode());
alertPaperInfoDto.setAlertStatus(alertCalled.getAlertStage()); alertPaperInfoDto.setAlertStatus(alertCalled.getAlertStage());
alertPaperInfoDto.setElevatorId(elevator.getSequenceNbr() +"");
alertPaperInfoDto.setElevatorCode(elevator.getRegisterCode());
return ResponseHelper.buildResponse(alertPaperInfoDto); return ResponseHelper.buildResponse(alertPaperInfoDto);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment