修复合并后代码丢失

This commit is contained in:
沈健
2021-11-18 10:38:05 +08:00
parent 36632c28ff
commit 4b0ad83014
@@ -2774,7 +2774,7 @@ public class AddressController {
if (json.getInt("code") == 200) {
JSONObject resultJson = json.getJSONObject("result");
JSONObject searchAddress = resultJson.getJSONObject("searchAddress");
if (resultJson.getInt("credit") > 0) {
if (resultJson.getDouble("credit") > 0) {
District district = districtService.findByNameAndAlias(resultJson.getString("city"), resultJson.getString("district"), resultJson.getString("name"), "district");
if (district != null) {
resultMap.put("riskLevel", "A");