|
|
@@ -192,13 +192,17 @@ public class UserManage { |
|
|
System.out.println("更新人员成功,但是有异常情况:" + jsonResult.toString()); |
|
|
System.out.println("更新人员成功,但是有异常情况:" + jsonResult.toString()); |
|
|
} else { |
|
|
} else { |
|
|
JSONObject userInfoJson = JSONObject.parseObject(jsonResult.toString()); |
|
|
JSONObject userInfoJson = JSONObject.parseObject(jsonResult.toString()); |
|
|
Integer numOfFace = userInfoJson.getJSONObject("UserInfoSearch").getJSONArray("UserInfo").getJSONObject(0).getInteger("numOfFace"); |
|
|
|
|
|
if(numOfFace > 0){ |
|
|
|
|
|
System.out.println("更新人员成功: json retun:" + jsonResult.toString()); |
|
|
|
|
|
status = 1; |
|
|
|
|
|
|
|
|
if(userInfoJson.containsKey("UserInfoSearch")){ |
|
|
|
|
|
Integer numOfFace = userInfoJson.getJSONObject("UserInfoSearch").getJSONArray("UserInfo").getJSONObject(0).getInteger("numOfFace"); |
|
|
|
|
|
if(numOfFace > 0){ |
|
|
|
|
|
System.out.println("更新人员成功: json retun:" + jsonResult.toString()); |
|
|
|
|
|
status = 1; |
|
|
|
|
|
}else{ |
|
|
|
|
|
System.out.println("更新人员失败: json retun:" + jsonResult.toString()); |
|
|
|
|
|
status = -1; |
|
|
|
|
|
} |
|
|
}else{ |
|
|
}else{ |
|
|
System.out.println("更新人员失败: json retun:" + jsonResult.toString()); |
|
|
|
|
|
status = -1; |
|
|
|
|
|
|
|
|
status = 1; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
break; |
|
|
break; |
|
|
|