From cb6307467933deed3c8641be10055605eec16f9c Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期二, 26 一月 2021 09:20:41 +0800
Subject: [PATCH] 关注加入 判断
---
service-front/src/main/java/com/java110/front/smo/ownerRepair/impl/EditOwnerRepairSMOImpl.java | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/service-front/src/main/java/com/java110/front/smo/ownerRepair/impl/EditOwnerRepairSMOImpl.java b/service-front/src/main/java/com/java110/front/smo/ownerRepair/impl/EditOwnerRepairSMOImpl.java
index 34f9ce8..f208cb8 100644
--- a/service-front/src/main/java/com/java110/front/smo/ownerRepair/impl/EditOwnerRepairSMOImpl.java
+++ b/service-front/src/main/java/com/java110/front/smo/ownerRepair/impl/EditOwnerRepairSMOImpl.java
@@ -33,7 +33,6 @@
Assert.hasKeyAndValue(paramIn, "repairType", "蹇呭~锛岃閫夋嫨鎶ヤ慨绫诲瀷");
Assert.hasKeyAndValue(paramIn, "repairName", "蹇呭~锛岃濉啓鎶ヤ慨浜哄悕绉�");
Assert.hasKeyAndValue(paramIn, "tel", "蹇呭~锛岃濉啓鎶ヤ慨浜烘墜鏈哄彿");
- Assert.hasKeyAndValue(paramIn, "roomId", "蹇呭~锛岃濉啓鎴垮眿ID");
Assert.hasKeyAndValue(paramIn, "appointmentTime", "蹇呭~锛岃濉啓棰勭害鏃堕棿");
Assert.hasKeyAndValue(paramIn, "context", "蹇呭~锛岃濉啓鎶ヤ慨鍐呭");
@@ -63,7 +62,7 @@
return responseEntity;
}
JSONObject outRepairInfo = JSONObject.parseObject(responseEntity.getBody());
- JSONObject repairObj = outRepairInfo.getJSONArray("ownerRepairs").getJSONObject(0);
+ JSONObject repairObj = outRepairInfo.getJSONArray("data").getJSONObject(0);
paramIn.put("state", repairObj.getString("state"));
responseEntity = this.callCenterService(restTemplate, pd, paramIn.toJSONString(),
ServiceConstant.SERVICE_API_URL + "/api/ownerRepair.updateOwnerRepair",
--
Gitblit v1.8.0