Commit b954ea1d authored by xinglei's avatar xinglei

*)修改判断条件

parent 6848a4e9
......@@ -229,7 +229,7 @@ public class InspectionServiceImpl implements InspectionService {
}
private static JSONObject findCompanyById(JSONObject treeNode, Object companyId) {
if (treeNode.getString("sequenceNbr").equals(companyId)) {
if (treeNode.getString("sequenceNbr").equals(String.valueOf(companyId))) {
return treeNode;
} else {
JSONArray children = treeNode.getJSONArray("children");
......
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