Datedate=lwbyJdbcTemplate.queryForObject(String.format("select min(registration_date) from user_profiles where device_id = '%s'",deviceId),Date.class);
Datedate=lwbyJdbcTemplate.queryForObject(String.format("select max(registration_date) from user_profiles where platform_id in (5,6,7,51) and platform_id != %d and device_id = '%s'",platformId,deviceId),Date.class);
log.info("BaseCallHelper is set status,clinetinfo={}, deliveryDeviceInfo={}",JSONObject.toJSONString(clientInfo),JSON.toJSONString(deliveryDeviceInfo));
}else{
deliveryDeviceInfo.setDevice_status(0);
log.info("BaseCallHelper is not set status,clinetinfo={}, deliveryDeviceInfo={}",JSONObject.toJSONString(clientInfo),JSON.toJSONString(deliveryDeviceInfo));
log.info("BaseCallHelper.dedu is set status,clinetinfo={}, deliveryDeviceInfo={}",JSONObject.toJSONString(clientInfo),JSON.toJSONString(deliveryDeviceInfo));
}else{
deliveryDeviceInfo.setDevice_status(0);
log.info("BaseCallHelper.dedu is not set status,clinetinfo={}, deliveryDeviceInfo={}",JSONObject.toJSONString(clientInfo),JSON.toJSONString(deliveryDeviceInfo));