Commit 916c25b1 authored by fangxinjiang's avatar fangxinjiang

代码优化-fxj

parent 3ea592db
...@@ -485,9 +485,7 @@ public class TAutoMainRelServiceImpl extends ServiceImpl<TAutoMainRelMapper, TAu ...@@ -485,9 +485,7 @@ public class TAutoMainRelServiceImpl extends ServiceImpl<TAutoMainRelMapper, TAu
break; break;
} }
} }
if (!result) { map.clear();
map.clear();
}
} }
return result; return result;
} }
...@@ -502,9 +500,7 @@ public class TAutoMainRelServiceImpl extends ServiceImpl<TAutoMainRelMapper, TAu ...@@ -502,9 +500,7 @@ public class TAutoMainRelServiceImpl extends ServiceImpl<TAutoMainRelMapper, TAu
break; break;
} }
} }
if (!result) { map.clear();
map.clear();
}
} }
return result; return result;
} }
...@@ -811,7 +807,7 @@ public class TAutoMainRelServiceImpl extends ServiceImpl<TAutoMainRelMapper, TAu ...@@ -811,7 +807,7 @@ public class TAutoMainRelServiceImpl extends ServiceImpl<TAutoMainRelMapper, TAu
if (Common.isEmpty(autoContractRuleOld)){ if (Common.isEmpty(autoContractRuleOld)){
autoInsurRuleOld = new TAutoInsurRuleInfo(); autoInsurRuleOld = new TAutoInsurRuleInfo();
} }
String differenceKey = HrEquator.comparisonValueIgnoreField(autoInsurRuleOld, autoInsurRuleNew,ignoreFields); String differenceKey = HrEquator.comparisonValueIgnoreField(autoInsurRuleOld, autoContractRuleNew,ignoreFields);
if (!Common.isEmpty(differenceKey)){ if (!Common.isEmpty(differenceKey)){
diffKeyMap.put("contractRule",differenceKey); diffKeyMap.put("contractRule",differenceKey);
oldMap.put("oldcontractRule",autoContractRuleOld); oldMap.put("oldcontractRule",autoContractRuleOld);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment