|
|
|
@ -6,6 +6,7 @@ import com.glxp.udidl.admin.service.inout.DeviceService;
|
|
|
|
|
import com.glxp.udidl.admin.service.inout.ProductInfoService;
|
|
|
|
|
import com.glxp.udidl.admin.service.udi.UdiCompanyService;
|
|
|
|
|
import com.glxp.udidl.admin.thread.UdiTransferUtils;
|
|
|
|
|
import com.glxp.udidl.admin.util.BeanUtils;
|
|
|
|
|
import com.glxp.udidl.admin.util.DateUtil;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
@ -157,6 +158,7 @@ public class DeviceSaveService {
|
|
|
|
|
*/
|
|
|
|
|
private Device responseToDevice(DataSetResult.DeviceInfo dataSetBean) {
|
|
|
|
|
Device device = new Device();
|
|
|
|
|
BeanUtils.copyProperties(dataSetBean, device);
|
|
|
|
|
device.setDevicehistoryrecordkey(dataSetBean.getDeviceHistoryKey());
|
|
|
|
|
device.setDevicerecordkey(dataSetBean.getDeviceRecordKey());
|
|
|
|
|
device.setBtcpbs(dataSetBean.getBtcpbs());
|
|
|
|
|