mirror of
https://github.com/zccbbg/wms-ruoyi.git
synced 2024-09-20 03:05:53 +08:00
pref: 去除多余代码
This commit is contained in:
parent
18d7fc918d
commit
f830c77569
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue