浏览代码

fix:sop作废 设备配置改为入库状态

caozixuan 1 年之前
父节点
当前提交
114b71ed80

+ 1 - 0
sop-business/src/main/java/com/qmth/sop/business/service/impl/TBDeviceDeliveryServiceImpl.java

@@ -531,6 +531,7 @@ public class TBDeviceDeliveryServiceImpl extends ServiceImpl<TBDeviceDeliveryMap
                                     .eq(SysDevice::getSerialNo, deviceInOutForm.getSerialNo()));
                                     .eq(SysDevice::getSerialNo, deviceInOutForm.getSerialNo()));
                             sysDevice.setLocation(tbDeviceInOut.getLocation());
                             sysDevice.setLocation(tbDeviceInOut.getLocation());
                             sysDevice.setLocationArr(tbDeviceInOut.getAddressArr());
                             sysDevice.setLocationArr(tbDeviceInOut.getAddressArr());
+                            sysDevice.setBound(InOutTypeEnum.IN);
                             sysDevice.updateInfo(userId);
                             sysDevice.updateInfo(userId);
                             sysDeviceService.updateById(sysDevice);
                             sysDeviceService.updateById(sysDevice);
                         }
                         }