bridge 1 year ago
parent
commit
12ea7f85a7

+ 1 - 1
src/main/java/cn/fastfun/service/impl/AppDeviceLogServiceImpl.java

@@ -220,7 +220,7 @@ public class AppDeviceLogServiceImpl extends JpaServiceImp<AppDeviceLog, String>
                 AppDevice appDevice = appDeviceService.getOne(QueryParamExp.eq("sn", p));
                 batchNum = appDevice.getBatchNum();
                 // 将可调拨的电池进行调拨
-                if (1 == appDevice.getStatus() && 1 == appDevice.getCheckStatus()) {
+                if (1 == appDevice.getStatus()) {
 
                     appDevice.setStatus(2); // 已划拨
                     appDevice.setTransferTime(time);