package cn.cslg.report.service.business;

import cn.cslg.report.common.utils.Response;
import cn.cslg.report.entity.AssoScenarIOS;

import cn.cslg.report.mapper.AssoScenarIOSMapper;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

@Service
@Slf4j
@RequiredArgsConstructor(onConstructor_ = {@Lazy})
public class CompareScenariosAndRecordsService extends ServiceImpl<AssoScenarIOSMapper, AssoScenarIOS> {
    /**
     * @function 添加对比方案与对比记录
     * @param compareScenariosAndRecords
     * @return 是否成功
     */
    public  String add(AssoScenarIOS compareScenariosAndRecords){
        compareScenariosAndRecords.insert();
        return Response.success();
    }

}
