|
|
@@ -252,13 +252,13 @@ public class LocalBusHospitalService extends BaseService<BusHospitalMapper, BusH
|
|
|
public void run(String... args) {
|
|
|
saveDefaultHospital();
|
|
|
List<BusHospitalEntity> list = list();
|
|
|
- list.parallelStream().forEach(entity -> {
|
|
|
- entity.setScriptOnline(false);
|
|
|
- nameCache.setConfig(entity.getId(),entity.getName());
|
|
|
- this.baseMapper.updateById(entity);
|
|
|
- });
|
|
|
+// list.parallelStream().forEach(entity -> {
|
|
|
+// entity.setScriptOnline(false);
|
|
|
+// nameCache.setConfig(entity.getId(),entity.getName());
|
|
|
+// this.baseMapper.updateById(entity);
|
|
|
+// });
|
|
|
configService.saveDefaultConfig();
|
|
|
-// list.parallelStream().forEach(hospital-> hospitalManagerRegister.refresh(hospital.getId(),true,true,true,true));
|
|
|
+ list.parallelStream().forEach(hospital-> hospitalManagerRegister.refresh(hospital.getId(),true,true,true,true));
|
|
|
}
|
|
|
|
|
|
|