package com.tykj.dev.device.user.subject.service.impl;

import com.tykj.dev.device.user.base.req.DeductionItemAddVo;
import com.tykj.dev.device.user.subject.dao.DeductionItemDao;
import com.tykj.dev.device.user.subject.service.DeductionItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zjm
 * @version 1.0.0
 * @ClassName DeductionItemServiceImpl.java
 * @Description
 * @createTime 2021年08月11日 11:37:00
 */
@Service
public class DeductionItemServiceImpl implements DeductionItemService {
    @Autowired
    DeductionItemDao deductionItemDao;
    @Override
    public void addDeductionItem(DeductionItemAddVo deductionItemAddVo) {
        deductionItemDao.save(deductionItemAddVo.toDb());
    }
}
