|
@@ -388,7 +388,11 @@ public class CommSendService {
|
|
*/
|
|
*/
|
|
public SimMsg debugClearOneFault(final Long seatId, final String bindHardwareMsg) {
|
|
public SimMsg debugClearOneFault(final Long seatId, final String bindHardwareMsg) {
|
|
Seat seat = seatService.selectSeatBySeatId(seatId);
|
|
Seat seat = seatService.selectSeatBySeatId(seatId);
|
|
- Sim sim = getSimBySeatIdNewVer(seatId);
|
|
|
|
|
|
+
|
|
|
|
+ // Sim sim = getSimBySeatIdNewVer(seatId);
|
|
|
|
+ // 不需要重复调用 getSimBySeatIdNewVer。
|
|
|
|
+
|
|
|
|
+ Sim sim = simService.selectSimBySimId(seat.getCurrentSimId());
|
|
SimMsg sm = commBuildService.buildSendMsgClearFault(sim.getSimNum(), bindHardwareMsg);
|
|
SimMsg sm = commBuildService.buildSendMsgClearFault(sim.getSimNum(), bindHardwareMsg);
|
|
return send(sm, seat, sim, RETRY_COUNT_CLEAR_ONE_FAULT, commStrategy.getSleepLong());
|
|
return send(sm, seat, sim, RETRY_COUNT_CLEAR_ONE_FAULT, commStrategy.getSleepLong());
|
|
}
|
|
}
|
|
@@ -426,7 +430,6 @@ public class CommSendService {
|
|
* @param seatId
|
|
* @param seatId
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @Transactional
|
|
|
|
public AjaxResult debugClearAllFaultBySeatId(final Long seatId) {
|
|
public AjaxResult debugClearAllFaultBySeatId(final Long seatId) {
|
|
{
|
|
{
|
|
AjaxResult ar = debugCheckSeatId(seatId);
|
|
AjaxResult ar = debugCheckSeatId(seatId);
|
|
@@ -1079,6 +1082,6 @@ public class CommSendService {
|
|
|
|
|
|
// 删除debug表中所有数据。
|
|
// 删除debug表中所有数据。
|
|
debugFaultService.deleteAll();
|
|
debugFaultService.deleteAll();
|
|
- return AjaxResult.success("全部重置成功。老铁666!");
|
|
|
|
|
|
+ return AjaxResult.success("全部重置成功。");
|
|
}
|
|
}
|
|
}
|
|
}
|