pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/assemblyStep/AssemblyStepSv.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/assemblyStep/AssemblyStepSv.java
@@ -391,10 +391,10 @@ } StaDeviceLast deviceLast = buildDeviceLast(vo, workLast, vo.deviceNo[0]); int count = deviceLast.id == null ? deviceLastDao.insertSelective(deviceLast) : deviceLastDao.updateByPrimaryKeySelective(deviceLast); deviceLastDao.updateByPrimaryKey(deviceLast); saveDeviceProductionLog(deviceLast); PrProductionNode node = nodeDao.selectByPrimaryKey(workLast.nodeId); if (node.isRecord) { if (node != null && node.isRecord) { saveDeviceLife(deviceLast); } return count;