package cd.casic.module.execute.docker.service.impl;

import cd.casic.module.execute.docker.dao.OperateRecordDao;
import cd.casic.module.execute.docker.dataobject.model.OperateRecord;
import cd.casic.module.execute.docker.service.IOperateRecordService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @description: TODO
 * @author: mianbin
 * @date: 2025/5/26 16:47
 * @version: 1.0
 */
@Slf4j
@Service
@RequiredArgsConstructor
public class OperateRecordService implements IOperateRecordService {

    private final OperateRecordDao operateRecordDao;

    @Override
    public void add(OperateRecord record) {
//        OperateRecordDo operateRecordDo = OperateRecordConvert.INSTANCE.convert(record);
//        int insert = operateRecordDao.insert(operateRecordDo);
//        if (insert != 1) {
//            log.error("新增操作日志失败");
//        }
    }
}
