1
21 小时以前 6e695903059e82c1c376bf2926ffb8b209c0dc3e
rsf-server/src/main/java/com/vincent/rsf/server/manager/service/impl/TaskServiceImpl.java
@@ -1358,7 +1358,9 @@
                if (null == basStation) {
                    throw new CoolException("站点状态错误!!");
                }
                basStation.setUseStatus(LocStsType.LOC_STS_TYPE_F.type);
                if (!basStation.getType().equals(0)){
                    basStation.setUseStatus(LocStsType.LOC_STS_TYPE_F.type);
                }
                if (!basStationService.updateById(basStation)) {
                    throw new CoolException("更新站点状态失败!!");
                }
@@ -2190,7 +2192,9 @@
                        throw new CoolException("站点状态更新失败!!");
                    }
                } else if (task.getTaskType() >= TaskType.TASK_TYPE_OUT.type) {
                    station.setUseStatus(LocStsType.LOC_STS_TYPE_S.type);
                    if (!station.getType().equals(0)){
                        station.setUseStatus(LocStsType.LOC_STS_TYPE_S.type);
                    }
                    if (!basStationService.updateById(station)) {
                        throw new CoolException("站点状态更新失败!!");
                    }