From c7e417b17a6a6c005f9a4f6dc2ef3df988ea8627 Mon Sep 17 00:00:00 2001 From: gaojuan Date: Mon, 21 Nov 2022 14:07:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E4=BA=8E=E7=99=BE=E7=9B=9B=E8=BF=94?= =?UTF-8?q?=E5=9B=9EJSONNULL=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../open/controllers/weixin/WeiXinEvaluationController.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/weixin/WeiXinEvaluationController.java b/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/weixin/WeiXinEvaluationController.java index 0c8abd103..c24973754 100644 --- a/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/weixin/WeiXinEvaluationController.java +++ b/projects/fangjia-open/src/main/java/com/fangjia/open/controllers/weixin/WeiXinEvaluationController.java @@ -312,7 +312,10 @@ public class WeiXinEvaluationController { evaluationAudit.setAuditStatus(3); evaluationAudit.setLastPrice(inquirePrice); evaluationAudit.setFeedbackStatus(feedbackStatus); - evaluationAudit.setFeedbackMsg((String)object.get("feedbackCallMsg")); + Object callMsg = object.get("feedbackCallMsg"); + if(!callMsg.toString().equals("null")){ + evaluationAudit.setFeedbackMsg((String)object.get("feedbackCallMsg")); + } double zsj = DataUtil.getDoubleRound(2,inquirePrice/ 10000.0);//ÖÕÉó¼Û if(zsj == (int)zsj){ jsonObject.put("zsj", (int)zsj);//ÖÕÉó¼Û