From f331831a411fe522dd3e4d949ea6fcec49ab0e4a Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期二, 30 七月 2024 16:06:47 +0800 Subject: [PATCH] change to updateByPrimaryKey --- pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/assemblyStep/AssemblyStepSv.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/assemblyStep/AssemblyStepSv.java b/pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/assemblyStep/AssemblyStepSv.java index ee2743e..c27d466 100644 --- a/pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/assemblyStep/AssemblyStepSv.java +++ b/pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/assemblyStep/AssemblyStepSv.java @@ -173,7 +173,7 @@ StaDeviceLast deviceLast = buildDeviceLast(params, workLast, deviceList.get(0)); int count = deviceLast.id == null ? deviceLastDao.insertSelective(deviceLast) : - deviceLastDao.updateByPrimaryKeySelective(deviceLast); + deviceLastDao.updateByPrimaryKey(deviceLast); saveDeviceProductionLog(deviceLast); @@ -355,7 +355,7 @@ StaDeviceLast deviceLast = buildDeviceLast(vo, workLast, vo.deviceNo[0]); int count = deviceLast.id == null ? deviceLastDao.insertSelective(deviceLast) : - deviceLastDao.updateByPrimaryKeySelective(deviceLast); + deviceLastDao.updateByPrimaryKey(deviceLast); saveDeviceProductionLog(deviceLast); boolean isEndNode = nodeDao.isEndNode(preDeviceRecord.currNode); if (isEndNode) { -- Gitblit v1.8.0