|
|
|
@ -298,6 +298,31 @@ public class ComplaintCollectionServiceImpl implements ComplaintCollectionServic |
|
|
|
return new Page<ComplaintCollectionPageDTO>().setRecords(list).setTotal(pageResult.getTotal()); |
|
|
|
return new Page<ComplaintCollectionPageDTO>().setRecords(list).setTotal(pageResult.getTotal()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public Page<ComplaintCollectionPageDTO> getComplaintCollectionPagNotAuth(ComplaintCollectionPageRequest request) { |
|
|
|
|
|
|
|
ComplaintCollectionQueryParam param = ComplaintCollectionTransfer.INSTANCE.pageRequestToPageParam(request); |
|
|
|
|
|
|
|
if (request.getInitialReviewFileList().contains(ComplaintCollectionInitialEnum.UPLOADED.getCode())){ |
|
|
|
|
|
|
|
param.getInitialReviewFileList().add(ComplaintCollectionInitialEnum.TIMEOUT_UPLOAD.getCode()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
Page<ComplaintCollection> page = new Page<>(param.getCurrent(), param.getSize()); |
|
|
|
|
|
|
|
IPage<ComplaintCollectionPageDTO> pageResult = complaintCollectionMapper.selectPageWithNegative(page, param); |
|
|
|
|
|
|
|
List<ComplaintCollectionPageDTO> list = pageResult.getRecords(); |
|
|
|
|
|
|
|
// 字典翻译和超时信息填充
|
|
|
|
|
|
|
|
if (CollectionUtil.isNotEmpty(list)) { |
|
|
|
|
|
|
|
Map<String, String> dictLabelMap = buildDictLabelMap(SupDictEnum.SUSPECT_PROBLEM.getCode()); |
|
|
|
|
|
|
|
Map<String, String> sfssDictLabelMap = buildDictLabelMap(SupDictEnum.SFSS_SOURCE_TABLE.getCode()); |
|
|
|
|
|
|
|
list.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); |
|
|
|
|
|
|
|
fillCheckTimeoutInfo(one); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return new Page<ComplaintCollectionPageDTO>().setRecords(list).setTotal(pageResult.getTotal()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public Result<ComplaintCollectionWatchDetailVO> watchDetail(ComplaintCollectionWatchDetailRequest request) { |
|
|
|
public Result<ComplaintCollectionWatchDetailVO> watchDetail(ComplaintCollectionWatchDetailRequest request) { |
|
|
|
|