Просмотр исходного кода

[停车][修改]:统计数据修改

release_toaliyun_real
Stormeye Wu 6 лет назад
Родитель
Сommit
2ca1d54961
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      mallinkCallback/src/main/java/com/iformall/controller/callback/WxCarCallBackController.java

+ 2
- 2
mallinkCallback/src/main/java/com/iformall/controller/callback/WxCarCallBackController.java Просмотреть файл

@@ -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());
} }


Загрузка…
Отмена
Сохранить