信用档案经营异常、严重违法信息节点列入原因显示中文
This commit is contained in:
parent
0fb894aa9a
commit
73c1ecf4d7
|
|
@ -267,10 +267,16 @@ public class CreditArchiveServiceImpl implements CreditArchiveService {
|
||||||
return source.stream().map(s -> {
|
return source.stream().map(s -> {
|
||||||
AbnormalArchiveVO vo = new AbnormalArchiveVO();
|
AbnormalArchiveVO vo = new AbnormalArchiveVO();
|
||||||
vo.setAbnId(s.getAbnlistid());
|
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.setAbntime(localDateToDate(s.getAbntime()));
|
||||||
vo.setDecorg(s.getDecorg());
|
// 列入决定机关:优先用 intoDecorg(中文),码值兜底
|
||||||
vo.setRemexcpres(s.getRemexcpres());
|
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()));
|
vo.setRemdate(localDateToDate(s.getRemdate()));
|
||||||
// 状态判定:有 remdate 即为 "已移出"
|
// 状态判定:有 remdate 即为 "已移出"
|
||||||
vo.setStatus(s.getRemdate() != null ? "OUT" : "IN");
|
vo.setStatus(s.getRemdate() != null ? "OUT" : "IN");
|
||||||
|
|
@ -285,11 +291,16 @@ public class CreditArchiveServiceImpl implements CreditArchiveService {
|
||||||
return source.stream().map(s -> {
|
return source.stream().map(s -> {
|
||||||
SeriousIllegalArchiveVO vo = new SeriousIllegalArchiveVO();
|
SeriousIllegalArchiveVO vo = new SeriousIllegalArchiveVO();
|
||||||
vo.setSerid(s.getIllegallistid());
|
vo.setSerid(s.getIllegallistid());
|
||||||
// TSSerIllegalList 的列入原因字段名为 serillrea
|
// 列入原因:优先用 LOSTCREDITEXPLAIN(中文),码值(serillrea)兜底
|
||||||
vo.setSpecause(s.getSerillrea());
|
vo.setSpecause(StringUtils.isNotBlank(s.getLostcreditexplain())
|
||||||
|
? s.getLostcreditexplain() : s.getSerillrea());
|
||||||
vo.setAbntime(localDateToDate(s.getAbntime()));
|
vo.setAbntime(localDateToDate(s.getAbntime()));
|
||||||
vo.setDecorg(s.getDecorg());
|
// 列入决定机关:优先用 decorgCn(中文),码值兜底
|
||||||
vo.setRemexcpres(s.getRemexcpres());
|
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.setRemdate(localDateToDate(s.getRemdate()));
|
||||||
vo.setStatus(s.getRemdate() != null ? "OUT" : "IN");
|
vo.setStatus(s.getRemdate() != null ? "OUT" : "IN");
|
||||||
return vo;
|
return vo;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue