package cn.estsh.i3plus.ext.mes.pcn.apiservice.serviceimpl.busi;

import cn.estsh.i3plus.ext.mes.pcn.api.busi.IWorkCellPrintRecordService;
import cn.estsh.i3plus.ext.mes.pcn.pojo.bean.MesWorkCellPrintRecord;
import cn.estsh.i3plus.ext.mes.pcn.pojo.repository.MesWorkCellPrintRecordRepository;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description :
 * @Reference :
 * @Author : wangjie
 * @CreateDate : 2019-04-23
 * @Modify:
 **/
@Service
public class WorkCellPrintRecordService implements IWorkCellPrintRecordService {
    public static final Logger LOGGER = LoggerFactory.getLogger(WorkCellPrintRecordService.class);

    @Autowired
    private MesWorkCellPrintRecordRepository workCellPrintRecordRepository;

    @Override
    public void insertWorkCellPrintRecordNoRollback(MesWorkCellPrintRecord workCellPrintRecord) {
        workCellPrintRecordRepository.insert(workCellPrintRecord);
    }
}
