From fb68c96a156d95813ffcb8a977f65fa5d17afdcb Mon Sep 17 00:00:00 2001 From: jiangjiazhi Date: Thu, 14 Sep 2017 16:17:08 +0800 Subject: [PATCH] =?UTF-8?q?SmsConfigModel=20=E8=BF=87=E6=BB=A4=E6=8E=89?= =?UTF-8?q?=E4=B8=8D=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../job/index/restore/data/SyncDataWork.java | 71 ++++++++-------------- 1 file changed, 26 insertions(+), 45 deletions(-) diff --git a/platform-job-index/src/main/java/com/lyms/platform/job/index/restore/data/SyncDataWork.java b/platform-job-index/src/main/java/com/lyms/platform/job/index/restore/data/SyncDataWork.java index 20e3378..8f514b2 100644 --- a/platform-job-index/src/main/java/com/lyms/platform/job/index/restore/data/SyncDataWork.java +++ b/platform-job-index/src/main/java/com/lyms/platform/job/index/restore/data/SyncDataWork.java @@ -1,27 +1,26 @@ package com.lyms.platform.job.index.restore.data; -import java.io.File; -import java.io.RandomAccessFile; -import java.util.ArrayList; -import java.util.Date; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Timer; -import java.util.TimerTask; -import java.util.concurrent.CountDownLatch; -import java.util.concurrent.LinkedBlockingQueue; -import java.util.concurrent.ThreadPoolExecutor; -import java.util.concurrent.TimeUnit; - -import com.lyms.platform.common.utils.*; +import com.lyms.platform.biz.service.*; +import com.lyms.platform.common.enums.RiskDefaultTypeEnum; +import com.lyms.platform.common.enums.YnEnums; +import com.lyms.platform.common.utils.DateUtil; +import com.lyms.platform.common.utils.HttpClientUtil; +import com.lyms.platform.common.utils.JsonUtil; +import com.lyms.platform.common.utils.SystemConfig; +import com.lyms.platform.permission.model.Organization; +import com.lyms.platform.permission.model.OrganizationQuery; +import com.lyms.platform.permission.model.Users; +import com.lyms.platform.permission.model.UsersQuery; +import com.lyms.platform.permission.service.OrganizationService; +import com.lyms.platform.pojo.*; +import com.lyms.platform.query.*; +import com.lyms.platform.query.PatientsQuery; +import com.lymsh.mommybaby.maindata.enumdata.RiskColorEnum; +import com.lymsh.mommybaby.maindata.enumdata.YnEnum; import com.lymsh.mommybaby.maindata.model.*; +import com.lymsh.mommybaby.maindata.model.Patients; import com.lymsh.mommybaby.maindata.service.*; -import com.lymsh.pushcenter.core.constants.WechatAppletEnums; -import com.lymsh.pushcenter.core.utils.WeiXinUtils; -import com.lymsh.pushcenter.sdk.build.RequestBuilder; -import com.lymsh.pushcenter.sdk.constants.WeiXinPushTempConstants; -import com.lymsh.pushcenter.sdk.request.WeiXinPushRequest; +import com.lymsh.mommybaby.maindata.service.PatientsService; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.math.NumberUtils; @@ -32,31 +31,13 @@ import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import org.springframework.util.StopWatch; -import com.lyms.platform.biz.service.AntenatalExaminationService; -import com.lyms.platform.biz.service.BabyCheckService; -import com.lyms.platform.biz.service.BabyService; -import com.lyms.platform.biz.service.BasicConfigService; -import com.lyms.platform.biz.service.YunBookbuildingService; -import com.lyms.platform.common.enums.RiskDefaultTypeEnum; -import com.lyms.platform.common.enums.YnEnums; -import com.lyms.platform.permission.model.Organization; -import com.lyms.platform.permission.model.OrganizationQuery; -import com.lyms.platform.permission.model.Users; -import com.lyms.platform.permission.model.UsersQuery; -import com.lyms.platform.permission.service.OrganizationService; -import com.lyms.platform.pojo.AntExChuModel; -import com.lyms.platform.pojo.AntenatalExaminationModel; -import com.lyms.platform.pojo.BabyCheckModel; -import com.lyms.platform.pojo.BabyModel; -import com.lyms.platform.pojo.BasicConfig; -import com.lyms.platform.query.AntExChuQuery; -import com.lyms.platform.query.AntExQuery; -import com.lyms.platform.query.BabyCheckModelQuery; -import com.lyms.platform.query.BabyModelQuery; -import com.lyms.platform.query.BasicConfigQuery; -import com.lyms.platform.query.PatientsQuery; -import com.lymsh.mommybaby.maindata.enumdata.RiskColorEnum; -import com.lymsh.mommybaby.maindata.enumdata.YnEnum; +import java.io.File; +import java.io.RandomAccessFile; +import java.util.*; +import java.util.concurrent.CountDownLatch; +import java.util.concurrent.LinkedBlockingQueue; +import java.util.concurrent.ThreadPoolExecutor; +import java.util.concurrent.TimeUnit; /** * 同步数据接口 -- 1.8.3.1