Commit 5520a549 authored by 廖旭伟's avatar 廖旭伟

测试bug修改

parent a04f006a
...@@ -95,6 +95,8 @@ public class CustomerWebSocketClient extends WebSocketClient { ...@@ -95,6 +95,8 @@ public class CustomerWebSocketClient extends WebSocketClient {
update.setUpdateTime(new Date()); update.setUpdateTime(new Date());
matterApplyDatumService.update(update); matterApplyDatumService.update(update);
}else if(jsonObject.getIntValue("code")==1){ }else if(jsonObject.getIntValue("code")==1){
JSONObject result = JSONObject.parseObject(jsonObject.getString("result"));
mandatoryFields = result.getString("AdditionalComments");
MatterApplyDatumEntity update = new MatterApplyDatumEntity(); MatterApplyDatumEntity update = new MatterApplyDatumEntity();
update.setId(datumEntity.getId()); update.setId(datumEntity.getId());
update.setReviewStatus(1); update.setReviewStatus(1);
...@@ -111,6 +113,15 @@ public class CustomerWebSocketClient extends WebSocketClient { ...@@ -111,6 +113,15 @@ public class CustomerWebSocketClient extends WebSocketClient {
} }
update.setUpdateTime(new Date()); update.setUpdateTime(new Date());
matterApplyService.getDao().update(update); matterApplyService.getDao().update(update);
}else {
MatterApplyEntity applyEntity = matterApplyService.get(datumEntity.getApplyId());
MatterApplyEntity update = new MatterApplyEntity();
update.setId(applyEntity.getId());
if(StringUtils.isNotEmpty(mandatoryFields)) {
update.setAdvisement(applyEntity.getAdvisement() + mandatoryFields + ";");
}
update.setUpdateTime(new Date());
matterApplyService.getDao().update(update);
} }
} }
} }
......
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