package com.hotent.enterpriseDeclare.manager.impl;

import com.hotent.base.manager.impl.BaseManagerImpl;
import com.hotent.enterpriseDeclare.dao.CostProjectTaskMaterialDataDao;
import com.hotent.enterpriseDeclare.manager.CostProjectTaskMaterialDataManager;
import com.hotent.enterpriseDeclare.model.CostProjectTaskMaterialData;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


/**
 * 项目流程资料数据表 服务实现类
 *
 * @author 超级管理员
 * @since 2025-10-28
 */
@Service
public class CostProjectTaskMaterialDataManagerImpl extends BaseManagerImpl<CostProjectTaskMaterialDataDao, CostProjectTaskMaterialData> implements CostProjectTaskMaterialDataManager {

    @Override
    public CostProjectTaskMaterialData getDetail(String id) {
        CostProjectTaskMaterialData costProjectTaskMaterialData = this.get(id);


		return costProjectTaskMaterialData;
	}
	@Override
	@Transactional
	public void createOrUpdate(CostProjectTaskMaterialData costProjectTaskMaterialData) {
		//新建或更新

		this.saveOrUpdate(costProjectTaskMaterialData);
	}
}
