This commit is contained in:
+8
@@ -1,11 +1,13 @@
|
|||||||
package com.eactive.eai.rms.onl.manage.comm.error;
|
package com.eactive.eai.rms.onl.manage.comm.error;
|
||||||
|
|
||||||
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.data.domain.Page;
|
import org.springframework.data.domain.Page;
|
||||||
import org.springframework.data.domain.Pageable;
|
import org.springframework.data.domain.Pageable;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
|
import com.eactive.apim.portal.jpa.PersonalDataEncryptConverter;
|
||||||
import com.eactive.eai.rms.common.base.BaseService;
|
import com.eactive.eai.rms.common.base.BaseService;
|
||||||
import com.eactive.eai.rms.data.entity.onl.adapter.AdapterGroupService;
|
import com.eactive.eai.rms.data.entity.onl.adapter.AdapterGroupService;
|
||||||
import com.eactive.eai.rms.data.entity.onl.inbound.error.InboundErrorInfoSearch;
|
import com.eactive.eai.rms.data.entity.onl.inbound.error.InboundErrorInfoSearch;
|
||||||
@@ -21,6 +23,8 @@ public class InboundErrorInfoManService extends BaseService {
|
|||||||
|
|
||||||
private AdapterGroupService adapterGroupService;
|
private AdapterGroupService adapterGroupService;
|
||||||
|
|
||||||
|
private final PersonalDataEncryptConverter encryptConverter = new PersonalDataEncryptConverter();
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
public InboundErrorInfoManService(InboundErrorInfoService inboundErrorInfoService,
|
public InboundErrorInfoManService(InboundErrorInfoService inboundErrorInfoService,
|
||||||
InboundErrorInfoUIMapper inboundErrorInfoUIMapper, AdapterGroupService adapterGroupService) {
|
InboundErrorInfoUIMapper inboundErrorInfoUIMapper, AdapterGroupService adapterGroupService) {
|
||||||
@@ -44,6 +48,10 @@ public class InboundErrorInfoManService extends BaseService {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (StringUtils.isNotBlank(ui.getBzwkDataCtnt())) {
|
||||||
|
ui.setBzwkDataCtnt(encryptConverter.convertToEntityAttribute(ui.getBzwkDataCtnt()));
|
||||||
|
}
|
||||||
|
|
||||||
return ui;
|
return ui;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user