package com.mes.service;
|
|
import com.baomidou.dynamic.datasource.annotation.DS;
|
import com.mes.entity.GlassInfo;
|
import com.mes.entity.userInfo.SysError;
|
import com.mes.mapper.TemperingMapper;
|
import com.mes.mapper.userInfo.SysErrorMapper;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
|
@Service
|
@DS("glass_info")
|
public class TemperingOverService {
|
private final TemperingMapper temperingMapper;
|
|
public TemperingOverService(TemperingMapper temperingMapper) {
|
this.temperingMapper = temperingMapper;
|
}
|
//接收出炉信号和炉号
|
public GlassInfo SelectOutGlass (String glassid) {
|
GlassInfo GlassInfo = temperingMapper.SelectOutGlass(glassid);
|
return GlassInfo;
|
}
|
//发送确认收到
|
|
|
}
|