Subversion Repositories SmartDukaan

Rev

Rev 4555 | Rev 5185 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4555 Rev 5110
Line 19... Line 19...
19
    private InventoryItemMapper inventoryItemMapper;
19
    private InventoryItemMapper inventoryItemMapper;
20
 
20
 
21
    /**
21
    /**
22
     * @param inventoryItem
22
     * @param inventoryItem
23
     */
23
     */
24
    public in.shop2020.warehouse.InventoryItem insertInventoryItem(InventoryItem inventoryItem) {
24
    public InventoryItem insertInventoryItem(InventoryItem inventoryItem) {
25
        inventoryItemMapper.insertInventoryItem(inventoryItem);
25
        inventoryItemMapper.insertInventoryItem(inventoryItem);
26
        return inventoryItem.convert();
26
        return inventoryItem;
27
    }
27
    }
28
 
28
 
29
    /**
29
    /**
30
     * @param inventoryItemId
30
     * @param inventoryItemId
31
     * @return
31
     * @return