@
LaudOak ```
@
Service("ItemIndexService")
public class ItemIndexServiceImpl implements ItemIndexService {
@
Autowired private ItemIndexMapper itemindexmapper;
@
Transactional public ItemIndex selectById(int id) {
return itemindexmapper.selectById(id);
}
@
Transactional public List<ItemIndex> findAll() {
List<ItemIndex> findAll = itemindexmapper.findAll();
return findAll;
}
@
Transactional public int deleteItemIndex(int id) {
return itemindexmapper.deleteItemIndex(id);
}
@
Transactional public int insertItemIndex(ItemIndex itemindex) {
return itemindexmapper.insertItemIndex(itemindex);
}
@
Transactional public int updateItemIndex(ItemIndex itemindex) {
return itemindexmapper.updateItemIndex(itemindex);
}
}
```