|
@ -162,11 +162,11 @@ public class IotDeviceSimService extends BaseJpaService<IotDeviceSimDO, IotDevi
|
|
|
ArrayList<IotDeviceSimDO> list = new ArrayList<>();
|
|
|
mapList.forEach(one->{
|
|
|
IotDeviceSimDO iotDeviceSimDO = JSONObject.parseObject(JSONObject.toJSONString(one), IotDeviceSimDO.class);
|
|
|
if (one.get("patient_name")!=null){
|
|
|
iotDeviceSimDO.setContactsName(AesEncryptUtils.decrypt(one.get("patient_name").toString()));
|
|
|
if (one.get("contacts_name")!=null){
|
|
|
iotDeviceSimDO.setContactsName(AesEncryptUtils.decrypt(one.get("contacts_name").toString()));
|
|
|
}
|
|
|
if (one.get("mobile")!=null){
|
|
|
iotDeviceSimDO.setContactsMobile(AesEncryptUtils.decrypt(one.get("mobile").toString()));
|
|
|
if (one.get("contacts_mobile")!=null){
|
|
|
iotDeviceSimDO.setContactsMobile(AesEncryptUtils.decrypt(one.get("contacts_mobile").toString()));
|
|
|
}
|
|
|
if (one.get("sn")!=null){
|
|
|
iotDeviceSimDO.setDeviceSn(one.get("sn").toString());
|