package com.cim.idm.service.Impl;

import com.cim.idm.dao.MaterialSpecDao;
import com.cim.idm.model.dto.EditMaterialDto;
import com.cim.idm.service.IMaterialSpecService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service("msService")
public class MaterialSpecServiceImpl implements IMaterialSpecService {

    @Resource
    private MaterialSpecDao materialSpecDao;

    @Override
    @Transactional
    public int editMaterialSpec(EditMaterialDto dto) {
        return materialSpecDao.editMaterialSpec(dto);
    }
}
