/**
 * @Time: 2022/7/20 14:18
 * @Author: 任刚
 * @File：IEquipmentParamsServiceImpl.class
 */
package com.yeejoin.equipmanage.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yeejoin.equipmanage.common.entity.EquipmentDetail;
import com.yeejoin.equipmanage.common.entity.EquipmentParams;
import com.yeejoin.equipmanage.mapper.EquipmentDetailMapper;
import com.yeejoin.equipmanage.mapper.EquipmentParamsMapper;
import com.yeejoin.equipmanage.service.IEquipmentDetailService;
import com.yeejoin.equipmanage.service.IEquipmentParamsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EquipmentParamsServiceImpl  extends ServiceImpl<EquipmentParamsMapper, EquipmentParams>
        implements IEquipmentParamsService {

    @Autowired
    private EquipmentParamsMapper equipmentParamsMapper;

    @Override
    public EquipmentParams saveOne(EquipmentParams equipmentParams) {

        equipmentParamsMapper.insert(equipmentParams);
        return equipmentParams;
    }


}
