pref: 去除多余代码

This commit is contained in:
DataCall 2024-07-24 18:29:53 +08:00
parent 18d7fc918d
commit f830c77569

View file

@ -124,8 +124,6 @@ public class InventoryService extends ServiceImpl<InventoryMapper, Inventory> {
Long inventoryId = existMap.get(keyFunction.apply(it));
if (inventoryId != null) {
it.setId(inventoryId);
it.setUpdateBy(optUser);
it.setUpdateTime(optDate);
updateList.add(it);
} else {
addList.add(it);