mirror of
https://github.com/zccbbg/wms-ruoyi.git
synced 2024-09-20 11:05:54 +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));
|
Long inventoryId = existMap.get(keyFunction.apply(it));
|
||||||
if (inventoryId != null) {
|
if (inventoryId != null) {
|
||||||
it.setId(inventoryId);
|
it.setId(inventoryId);
|
||||||
it.setUpdateBy(optUser);
|
|
||||||
it.setUpdateTime(optDate);
|
|
||||||
updateList.add(it);
|
updateList.add(it);
|
||||||
} else {
|
} else {
|
||||||
addList.add(it);
|
addList.add(it);
|
||||||
|
|
Loading…
Reference in a new issue