|
|
|
|
@ -112,11 +112,16 @@ public class ComplaintCollectionServiceImpl implements ComplaintCollectionServic
|
|
|
|
|
IPage<ComplaintCollection> page = complaintCollectionResourceService.pageQuery(param); |
|
|
|
|
List<ComplaintCollection> records = page.getRecords(); |
|
|
|
|
List<ComplaintCollectionPageDTO> complaintCollectionPageDTOS = ComplaintCollectionTransfer.INSTANCE.entityToPageDTOList(records); |
|
|
|
|
// 涉嫌问题拼接
|
|
|
|
|
if (CollectionUtil.isNotEmpty(complaintCollectionPageDTOS)) { |
|
|
|
|
Map<String, String> dictLabelMap = buildDictLabelMap(SupDictEnum.SUSPECT_PROBLEM.getCode()); |
|
|
|
|
Map<String, String> sfssDictLabelMap = buildDictLabelMap(SupDictEnum.SFSS_SOURCE_TABLE.getCode()); |
|
|
|
|
complaintCollectionPageDTOS.forEach(one->{ |
|
|
|
|
// 涉嫌问题拼接
|
|
|
|
|
one.setInvolveProblemStr(CodeTranslateUtil.translateCodesToLabels(one.getInvolveProblem(), dictLabelMap)); |
|
|
|
|
// 来源
|
|
|
|
|
String sourceTable = CodeTranslateUtil.translateCodesToLabels(one.getSourceTable(), sfssDictLabelMap); |
|
|
|
|
String sourceTableSubOne = CodeTranslateUtil.translateCodesToLabels(one.getSourceTableSubOne(), sfssDictLabelMap); |
|
|
|
|
one.setSourceTablePath(sourceTable+"/"+sourceTableSubOne); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
ComplaintCollectionPageVo complaintCollectionPageVo = new ComplaintCollectionPageVo(); |
|
|
|
|
|