FanXiaoyu 6 년 전
부모
커밋
dfd3cf975f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/sagacloud/route/processors/Insurance/GetPropertyInCertainWarrantyProcessor.java

+ 1 - 1
src/main/java/com/sagacloud/route/processors/Insurance/GetPropertyInCertainWarrantyProcessor.java

@@ -42,7 +42,7 @@ public class GetPropertyInCertainWarrantyProcessor implements Processor {
         for(int i = propertyList.size() - 1; i > -1; --i){
             Map<String, Object> property = propertyList.get(i);
             Map<String, Object> infos = (Map<String, Object>) property.get("infos");
-            if(infos.get(Const.INSUR_ID) == null || !post.getInsuranceNo().equals(infos.get(Const.INSUR_ID).toString())){
+            if(infos.get(Const.INFO_INSURANCENUM) == null || !post.getInsuranceNo().equals(infos.get(Const.INFO_INSURANCENUM).toString())){
                 propertyList.remove(i);
             }else{
                 tmp = new HashSet<>();