信用档案经营异常、严重违法信息节点列入原因显示中文

This commit is contained in:
zhouxy 2026-06-08 19:55:20 +08:00
parent 0fb894aa9a
commit 73c1ecf4d7
1 changed files with 18 additions and 7 deletions

View File

@ -267,10 +267,16 @@ public class CreditArchiveServiceImpl implements CreditArchiveService {
return source.stream().map(s -> {
AbnormalArchiveVO vo = new AbnormalArchiveVO();
vo.setAbnId(s.getAbnlistid());
vo.setSpecause(s.getSpecause());
// 列入原因:优先用 SPEREASONS中文码值兜底
vo.setSpecause(StringUtils.isNotBlank(s.getSpereasons())
? s.getSpereasons() : s.getSpecause());
vo.setAbntime(localDateToDate(s.getAbntime()));
vo.setDecorg(s.getDecorg());
vo.setRemexcpres(s.getRemexcpres());
// 列入决定机关:优先用 intoDecorg中文码值兜底
vo.setDecorg(StringUtils.isNotBlank(s.getIntoDecorg())
? s.getIntoDecorg() : s.getDecorg());
// 移出原因:优先用 REMREASONS中文码值兜底
vo.setRemexcpres(StringUtils.isNotBlank(s.getRemreasons())
? s.getRemreasons() : s.getRemexcpres());
vo.setRemdate(localDateToDate(s.getRemdate()));
// 状态判定:有 remdate 即为 "已移出"
vo.setStatus(s.getRemdate() != null ? "OUT" : "IN");
@ -285,11 +291,16 @@ public class CreditArchiveServiceImpl implements CreditArchiveService {
return source.stream().map(s -> {
SeriousIllegalArchiveVO vo = new SeriousIllegalArchiveVO();
vo.setSerid(s.getIllegallistid());
// TSSerIllegalList 的列入原因字段名为 serillrea
vo.setSpecause(s.getSerillrea());
// 列入原因:优先用 LOSTCREDITEXPLAIN中文码值serillrea兜底
vo.setSpecause(StringUtils.isNotBlank(s.getLostcreditexplain())
? s.getLostcreditexplain() : s.getSerillrea());
vo.setAbntime(localDateToDate(s.getAbntime()));
vo.setDecorg(s.getDecorg());
vo.setRemexcpres(s.getRemexcpres());
// 列入决定机关:优先用 decorgCn中文码值兜底
vo.setDecorg(StringUtils.isNotBlank(s.getDecorgCn())
? s.getDecorgCn() : s.getDecorg());
// 移出原因:优先用 LOSTCREDITEXPLAINREM中文码值remexcpres兜底
vo.setRemexcpres(StringUtils.isNotBlank(s.getLostcreditexplainrem())
? s.getLostcreditexplainrem() : s.getRemexcpres());
vo.setRemdate(localDateToDate(s.getRemdate()));
vo.setStatus(s.getRemdate() != null ? "OUT" : "IN");
return vo;