|
@@ -403,7 +403,8 @@ public class CommSendService {
|
|
|
*/
|
|
|
public SimMsg debugClearOneFault(final String simNum, final String bindHardwareMsg) {
|
|
|
SimMsg sm = commBuildService.buildSendMsgClearFault(simNum, bindHardwareMsg);
|
|
|
- return send(sm, null, RETRY_COUNT_CLEAR_ONE_FAULT, SLEEP_LONG);
|
|
|
+ Sim s = simService.uniqueBySimNum(simNum);
|
|
|
+ return send(sm, s, RETRY_COUNT_CLEAR_ONE_FAULT, SLEEP_LONG);
|
|
|
}
|
|
|
|
|
|
public AjaxResult debugClearAllOnlineSimAllFault() {
|
|
@@ -523,6 +524,7 @@ public class CommSendService {
|
|
|
final String[] faultIds,
|
|
|
final Boolean checkReplace) {
|
|
|
//
|
|
|
+ l.info("faultIds.length = {}", faultIds.length);
|
|
|
{
|
|
|
int deleteCount = debugFaultService.deleteAll();
|
|
|
l.info("deleteCount = {}", deleteCount);
|
|
@@ -837,6 +839,7 @@ public class CommSendService {
|
|
|
} catch (InterruptedException | IOException e) { // SocketTimeoutException
|
|
|
e.printStackTrace();
|
|
|
// 失败计数
|
|
|
+ l.info("fail sim data = {}", s);
|
|
|
boolean limit = commFailCountAdd1(Objects.requireNonNull(s).getSimId());
|
|
|
if (limit) {
|
|
|
simService.updateSimStateBySimId(s.getSimId(), Sim.State.OFFLINE);
|