src/main/java/com/zy/core/thread/ScaleThread.java
@@ -61,7 +61,7 @@ //将称重重量写入设备基础数据中的gross_wt字段 if(scale > 20) { BasDevpService basDevpService = SpringUtils.getBean(BasDevpService.class); BasDevp basDevp = basDevpService.selectById(slave.getStaNo()); BasDevp basDevp = basDevpService.getById(slave.getStaNo()); if(!Cools.isEmpty(basDevp)) { basDevp.setGrossWt(scale); if (null != basDevpService && !basDevpService.updateById(basDevp)) {