| | |
| | | BaseResponse<Boolean> result = dealWithCommandResult(myParam); |
| | | // 如果命令执行失败,则再次执行命令 |
| | | if(!result.isSuccess()) { |
| | | myParam.setComId(new IDLongGenerator().generate()); |
| | | result = dealWithCommandResult(myParam); |
| | | } |
| | | |
| | |
| | | BaseResponse<Boolean> result = dealWithCommandResult(myParam); |
| | | // 如果命令执行失败,则再次执行命令 |
| | | if(!result.isSuccess()) { |
| | | myParam.setComId(new IDLongGenerator().generate()); |
| | | result = dealWithCommandResult(myParam); |
| | | } |
| | | |
| | |
| | | BaseResponse<Boolean> result = dealWithCommandResult(myParam); |
| | | // 如果命令执行失败,则再次执行命令 |
| | | if(!result.isSuccess()) { |
| | | myParam.setComId(new IDLongGenerator().generate()); |
| | | result = dealWithCommandResult(myParam); |
| | | } |
| | | |