InspectServiceImpl.java 492 Bytes
package vion.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import vion.mapper.InspectMapper;
import vion.model.Inspect;
import vion.service.IInspectSerrvice;

@Service
public class InspectServiceImpl extends ServiceImpl<InspectMapper, Inspect> implements IInspectSerrvice {
    @Override
    public Inspect saveAndReturn(Inspect inspect) {
        this.saveOrUpdate(inspect);
        return inspect;
    }
}