📅  最后修改于: 2022-03-11 14:52:39.700000             🧑  作者: Mango
List compareObjects(PartInfo filePart, PartInfo dbPart) {
List different = new LinkedList();
if (!filePart.getNumber().equals(dbPart.getNumber())) {
different.add("number");
}
//repeat for all your fields
return different;
}
#Note: Check differences for each field ob each object from 2 list only