Commit 0a1a32c6 authored by 鹿朋's avatar 鹿朋

修改获取状态判断

parent 0cb56211
...@@ -549,7 +549,7 @@ public class MoOrderServiceImpl implements OrderService{ ...@@ -549,7 +549,7 @@ public class MoOrderServiceImpl implements OrderService{
callbackRecordVoModel.setTermNo(callbackRecord.getTermNo()); callbackRecordVoModel.setTermNo(callbackRecord.getTermNo());
Tuple<String, String> stringStringTuple = OrderUtil.KaNoticeTypeNameConvertChnName(callbackRecord.getNoticeType()); Tuple<String, String> stringStringTuple = OrderUtil.KaNoticeTypeNameConvertChnName(callbackRecord.getNoticeType());
callbackRecordVoModel.setNoticeType(stringStringTuple != null ? stringStringTuple.getValue() : callbackRecord.getNoticeType().name()); callbackRecordVoModel.setNoticeType(!"未知状态".equals(stringStringTuple.getValue()) ? stringStringTuple.getValue() : callbackRecord.getNoticeType().name());
callbackRecordVoModel.setCallbackStatus(callbackRecord.getCallbackStatus()); callbackRecordVoModel.setCallbackStatus(callbackRecord.getCallbackStatus());
callbackRecordVoModel.setChannelId(callbackRecord.getChannelId()); callbackRecordVoModel.setChannelId(callbackRecord.getChannelId());
...@@ -570,7 +570,7 @@ public class MoOrderServiceImpl implements OrderService{ ...@@ -570,7 +570,7 @@ public class MoOrderServiceImpl implements OrderService{
callbackFailRecordVoModel.setTermNo(callbackFailRecord.getTermNo()); callbackFailRecordVoModel.setTermNo(callbackFailRecord.getTermNo());
Tuple<String, String> stringStringTuple = OrderUtil.KaNoticeTypeNameConvertChnName(callbackFailRecord.getNoticeType()); Tuple<String, String> stringStringTuple = OrderUtil.KaNoticeTypeNameConvertChnName(callbackFailRecord.getNoticeType());
callbackFailRecordVoModel.setNoticeType(stringStringTuple != null ? stringStringTuple.getValue() : callbackFailRecord.getNoticeType().name()); callbackFailRecordVoModel.setNoticeType(!"未知状态".equals(stringStringTuple.getValue()) ? stringStringTuple.getValue() : callbackFailRecord.getNoticeType().name());
callbackFailRecordVoModel.setCallbackStatus(callbackFailRecord.getCallbackStatus()); callbackFailRecordVoModel.setCallbackStatus(callbackFailRecord.getCallbackStatus());
callbackFailRecordVoModel.setChannelId(callbackFailRecord.getChannelId()); callbackFailRecordVoModel.setChannelId(callbackFailRecord.getChannelId());
......
...@@ -563,7 +563,7 @@ public class OrderServiceImpl implements OrderService { ...@@ -563,7 +563,7 @@ public class OrderServiceImpl implements OrderService {
callbackRecordVoModel.setTermNo(callbackRecord.getTermNo()); callbackRecordVoModel.setTermNo(callbackRecord.getTermNo());
Tuple<String, String> stringStringTuple = OrderUtil.KaNoticeTypeNameConvertChnName(callbackRecord.getNoticeType()); Tuple<String, String> stringStringTuple = OrderUtil.KaNoticeTypeNameConvertChnName(callbackRecord.getNoticeType());
callbackRecordVoModel.setNoticeType(stringStringTuple != null ? stringStringTuple.getValue() : callbackRecord.getNoticeType().name()); callbackRecordVoModel.setNoticeType(!"未知状态".equals(stringStringTuple.getValue()) ? stringStringTuple.getValue() : callbackRecord.getNoticeType().name());
callbackRecordVoModel.setCallbackStatus(callbackRecord.getCallbackStatus()); callbackRecordVoModel.setCallbackStatus(callbackRecord.getCallbackStatus());
callbackRecordVoModel.setChannelId(callbackRecord.getChannelId()); callbackRecordVoModel.setChannelId(callbackRecord.getChannelId());
...@@ -584,7 +584,7 @@ public class OrderServiceImpl implements OrderService { ...@@ -584,7 +584,7 @@ public class OrderServiceImpl implements OrderService {
callbackFailRecordVoModel.setTermNo(callbackFailRecord.getTermNo()); callbackFailRecordVoModel.setTermNo(callbackFailRecord.getTermNo());
Tuple<String, String> stringStringTuple = OrderUtil.KaNoticeTypeNameConvertChnName(callbackFailRecord.getNoticeType()); Tuple<String, String> stringStringTuple = OrderUtil.KaNoticeTypeNameConvertChnName(callbackFailRecord.getNoticeType());
callbackFailRecordVoModel.setNoticeType(stringStringTuple != null ? stringStringTuple.getValue() : callbackFailRecord.getNoticeType().name()); callbackFailRecordVoModel.setNoticeType(!"未知状态".equals(stringStringTuple.getValue()) ? stringStringTuple.getValue() : callbackFailRecord.getNoticeType().name());
callbackFailRecordVoModel.setCallbackStatus(callbackFailRecord.getCallbackStatus()); callbackFailRecordVoModel.setCallbackStatus(callbackFailRecord.getCallbackStatus());
callbackFailRecordVoModel.setChannelId(callbackFailRecord.getChannelId()); callbackFailRecordVoModel.setChannelId(callbackFailRecord.getChannelId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment