| @@ -115,7 +115,7 @@ public class WxCarCallBackController extends BaseController { | |||||
| map.put("synId", synId); | map.put("synId", synId); | ||||
| map.put("cmdType", EnumCarCmd.CAR_ETCP_CALLBACK_PARK_IN.getCode()); | map.put("cmdType", EnumCarCmd.CAR_ETCP_CALLBACK_PARK_IN.getCode()); | ||||
| Long count = wxCarCmdLogService.getCountBySynId(map); | Long count = wxCarCmdLogService.getCountBySynId(map); | ||||
| if(count > 1) { | |||||
| if(count > 0) { | |||||
| logger.error("ETCP synId已入库: " + paramMap.toString()); | logger.error("ETCP synId已入库: " + paramMap.toString()); | ||||
| return true; | return true; | ||||
| } | } | ||||
| @@ -320,7 +320,7 @@ public class WxCarCallBackController extends BaseController { | |||||
| map.put("tenantId", tenant_id); | map.put("tenantId", tenant_id); | ||||
| map.put("orderId", orderId); | map.put("orderId", orderId); | ||||
| Long count = wxCarCmdLogService.getCountByOrderId(map); | Long count = wxCarCmdLogService.getCountByOrderId(map); | ||||
| if(count > 1) { | |||||
| if(count > 0) { | |||||
| logger.error("ETCP order已入库: " + orderId); | logger.error("ETCP order已入库: " + orderId); | ||||
| return new Result(EnumETCPCode.SUCCESS.getCode(), EnumETCPCode.SUCCESS.getMessage()); | return new Result(EnumETCPCode.SUCCESS.getCode(), EnumETCPCode.SUCCESS.getMessage()); | ||||
| } | } | ||||