TaskTempServiceImpl.java 505 Bytes
package vion.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import vion.mapper.TaskTempMapper;
import vion.model.TaskTemp;
import vion.service.ITaskTempSerrvice;

@Service
public class TaskTempServiceImpl extends ServiceImpl<TaskTempMapper, TaskTemp> implements ITaskTempSerrvice {

    @Override
    public TaskTemp saveAndReturn(TaskTemp taskTemp) {
        this.saveOrUpdate(taskTemp);
        return taskTemp;
    }
}