|
|
|
|
@ -139,6 +139,10 @@ public class WxInstrumentServiceImpl implements IWxInstrumentService {
|
|
|
|
|
logger.info("serial:{}, 序列号不存在", serial);
|
|
|
|
|
throw new ServiceReturnCodeException(InstrumentHttpCodeEnum.TWO_HUNDRED_AND_FIVE.getInfo(), InstrumentHttpCodeEnum.TWO_HUNDRED_AND_FIVE.getCode());
|
|
|
|
|
}
|
|
|
|
|
WxInstrument wxInstrument = wxInstrumentMapper.selectWxInstrumentById(wxInstrumentSerial.getInstrumentId());
|
|
|
|
|
if(wxInstrument != null) {
|
|
|
|
|
wxInstrumentSerial.setInstrumentName(wxInstrument.getName());
|
|
|
|
|
}
|
|
|
|
|
return wxInstrumentSerial;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|