|
|
@@ -1852,6 +1852,25 @@ public class Task {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ //不包含套餐包,医生已确认用户信息采集自动确认
|
|
|
+ void autoConfirm(){
|
|
|
+ List<FsUserInformationCollection> collections = userInformationCollectionMapper.selectAutoConfirm();
|
|
|
+ if (ObjectUtil.isNotEmpty(collections)) {
|
|
|
+ for(FsUserInformationCollection collection :collections) {
|
|
|
+ try {
|
|
|
+ FsUserInformationCollection map = new FsUserInformationCollection();
|
|
|
+ map.setUserConfirm2(1);
|
|
|
+ map.setId(collection.getId());
|
|
|
+ userInformationCollectionMapper.updateFsUserInformationCollection(map);
|
|
|
+ Thread.sleep(2000);
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.info("自动确认失败,id:{}", collection.getId());
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
|
|
|
}
|