| | |
| | | package cn.lihu.jh.module.ecg.controller.admin.appointment; |
| | | |
| | | import cn.hutool.core.bean.BeanUtil; |
| | | import cn.lihu.jh.module.ecg.controller.admin.queue.vo.QueueSaveReqVO; |
| | | import cn.lihu.jh.module.ecg.dal.dataobject.queue.QueueDO; |
| | | import cn.lihu.jh.module.ecg.feign.RemoteDataService; |
| | |
| | | List<AppointmentExternal> list = |
| | | result.getRow().stream().map( |
| | | rawItem -> { |
| | | AppointmentExternal appointmentExternal = JSONObject.parseObject(JSONObject.toJSONString(rawItem), AppointmentExternal.class); |
| | | //AppointmentExternal appointmentExternal = JSONObject.parseObject(JSONObject.toJSONString(rawItem), AppointmentExternal.class); |
| | | AppointmentExternal appointmentExternal = BeanUtil.toBeanIgnoreCase( rawItem, AppointmentExternal.class, true); |
| | | |
| | | return appointmentExternal; |
| | | } |
| | | ).collect(Collectors.toList()); |