|
@@ -201,14 +201,14 @@ public class WatchJWServerHandler extends HexBinaryAcceptanceHandlerAdapter {
|
|
|
if (ap28Msg.getLag() == 1) {
|
|
|
if (ap28Msg.getNu() < ap28Msg.getTotal()) {
|
|
|
// 回复下个语音包
|
|
|
- voiceMsg = voiceMsgClient.queryVoiceMsg(deviceId, ap28Msg.getNu() + 1);
|
|
|
+ voiceMsg = voiceMsgClient.querySendVoiceMsg(deviceId, ap28Msg.getNu() + 1);
|
|
|
} else {
|
|
|
// 更新数据状态为发送完毕
|
|
|
voiceMsgClient.updateVoiceMsgSendFinish(deviceId, ap28Msg.getMsgId(), 4);
|
|
|
}
|
|
|
} else {
|
|
|
// 回复上个语音包
|
|
|
- voiceMsg = voiceMsgClient.queryVoiceMsg(deviceId, ap28Msg.getNu());
|
|
|
+ voiceMsg = voiceMsgClient.querySendVoiceMsg(deviceId, ap28Msg.getNu());
|
|
|
}
|
|
|
if (voiceMsg != null && voiceMsg.getLag() == 1) {
|
|
|
normalBP28Reply(channel, voiceMsg);
|