|  |  |  | 
|---|
|  |  |  | import com.doumee.config.DataSyncConfig; | 
|---|
|  |  |  | import com.doumee.core.constants.ResponseStatus; | 
|---|
|  |  |  | import com.doumee.core.exception.BusinessException; | 
|---|
|  |  |  | import com.doumee.core.haikang.model.HKConstants; | 
|---|
|  |  |  | import com.doumee.core.haikang.model.param.BaseListPageResponse; | 
|---|
|  |  |  | import com.doumee.core.haikang.model.param.BaseResponse; | 
|---|
|  |  |  | import com.doumee.core.haikang.model.param.request.AppointmentListRequest; | 
|---|
|  |  |  | 
|---|
|  |  |  | .ge(Visits::getStarttime,start) | 
|---|
|  |  |  | .eq(Visits::getType,Constants.ONE) | 
|---|
|  |  |  | .le(Visits::getStarttime,end)); | 
|---|
|  |  |  | visitsMapper.insertBatchSomeColumn(allHkList);//插入新数据 | 
|---|
|  |  |  | visitsMapper.insert(allHkList);//插入新数据 | 
|---|
|  |  |  | }catch (BusinessException e){ | 
|---|
|  |  |  | throw  e; | 
|---|
|  |  |  | } | 
|---|