Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有两个列表,我需要第一个列表替换第二个列表,但只有更改。我需要保存“repository.saveChanges()”。
清单 2 和结果将始终相同。只需使用清单 2
returnList2 来自repository.saveChanges()
return
repository.saveChanges()