Commit 03295d35 authored by 廖旭伟's avatar 廖旭伟

修改审核结果判断条件

parent f451572f
......@@ -89,22 +89,17 @@ public class CustomerWebSocketClient extends WebSocketClient {
JSONObject result = JSONObject.parseObject(jsonObject.getString("result"));
MatterApplyDatumEntity update = new MatterApplyDatumEntity();
update.setId(datumEntity.getId());
if(result.getBooleanValue("Consistency")) {
update.setReviewStatus(1);
}else {
update.setReviewStatus(2);
mandatoryFields = result.getString("AdditionalComments");
apply = false;
}
update.setReviewStatus(2);
mandatoryFields = result.getString("AdditionalComments");
apply = false;
update.setUpdateTime(new Date());
matterApplyDatumService.update(update);
}else {
}else if(jsonObject.getIntValue("code")==1){
MatterApplyDatumEntity update = new MatterApplyDatumEntity();
update.setId(datumEntity.getId());
update.setReviewStatus(2);
update.setReviewStatus(1);
update.setUpdateTime(new Date());
matterApplyDatumService.update(update);
apply = false;
}
if(apply){
MatterApplyEntity applyEntity = matterApplyService.get(datumEntity.getApplyId());
......
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