|
@@ -74,7 +74,7 @@ public class ProcessRealizationServiceImpl implements ProcessRealizationService
|
|
|
//更新喷码机条码内容
|
|
|
String updateCode = InkjetPrintersSetUpTools.updateCode(retroactiveNow.getBatchNo());
|
|
|
tcpServiceRunner.getTCPInstanceList("InkjetPrinters").getChannel().writeAndFlush(ParseMsgTools.hexString2Bytes(updateCode));
|
|
|
- redisCache.setCacheObject("InkjetPrinters", updateCode);
|
|
|
+ redisCache.setCacheObject("InkjetPrinters", BatchNo);
|
|
|
SpringUtil.getApplicationContext().publishEvent(new DeviceLog("Z1_DaoJiao_PMQ-1-27.4", "InkjetPrinters", "喷码内容修改完成,内容为:" + retroactiveNow.getBatchNo(), "1"));
|
|
|
log.info("追溯记录生成成功,BatchNo:{}", BatchNo);
|
|
|
}
|