|
@@ -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);
|