| | |
| | | @TableField("system_status") |
| | | private String systemStatus; |
| | | |
| | | /** |
| | | * 设备工作号 |
| | | */ |
| | | @ApiModelProperty(value= "设备工作号") |
| | | @TableField("device_wrk") |
| | | private String deviceWrk; |
| | | |
| | | public BasLiftOpt() {} |
| | | |
| | | public BasLiftOpt(Integer wrkNo, Integer liftNo, Date sendTime, Date updateTime, Long updateBy, String memo, String command, String systemStatus) { |
| | |
| | | @TableField("response") |
| | | private String response; |
| | | |
| | | /** |
| | | * 设备工作号 |
| | | */ |
| | | @ApiModelProperty(value= "设备工作号") |
| | | @TableField("device_wrk") |
| | | private String deviceWrk; |
| | | |
| | | public BasShuttleOpt() {} |
| | | |
| | | public BasShuttleOpt(Integer wrkNo, Integer shuttleNo, Date sendTime, String mode, String sourceLocNo, String distLocNo, Date updateTime, Long updateBy, String memo, String command, String commandSend, String systemStatus) { |
| | |
| | | JSON.toJSONString(command), |
| | | JSON.toJSONString(liftProtocol) |
| | | ); |
| | | opt.setDeviceWrk(command.getTaskNo().toString());//设备工作号 |
| | | liftOptService.insert(opt); |
| | | } |
| | | |
| | |
| | | ); |
| | | opt.setSend(1);//已下发 |
| | | opt.setResponse(JSON.toJSONString(result));//请求响应 |
| | | opt.setDeviceWrk(command.getWrkNo().toString());//设备工作号 |
| | | shuttleOptService.insert(opt); |
| | | } |
| | | |
| | |
| | | <result column="memo" property="memo" /> |
| | | <result column="command" property="command" /> |
| | | <result column="system_status" property="systemStatus" /> |
| | | <result column="device_wrk" property="deviceWrk" /> |
| | | |
| | | </resultMap> |
| | | |
| | |
| | | <result column="system_status" property="systemStatus" /> |
| | | <result column="send" property="send" /> |
| | | <result column="response" property="response" /> |
| | | <result column="device_wrk" property="deviceWrk" /> |
| | | |
| | | </resultMap> |
| | | |