Browse Source

add
记录最后一次密码修改时间

lifang 1 ngày trước cách đây
mục cha
commit
925af99d89

+ 6 - 6
nb-service/web-service/src/main/java/com/nb/web/service/bus/service/LocalBusHospitalService.java

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