Parcourir la source

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

caozixuan il y a 1 an
Parent
commit
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()));
                             sysDevice.setLocation(tbDeviceInOut.getLocation());
                             sysDevice.setLocationArr(tbDeviceInOut.getAddressArr());
+                            sysDevice.setBound(InOutTypeEnum.IN);
                             sysDevice.updateInfo(userId);
                             sysDeviceService.updateById(sysDevice);
                         }