Showing
1 changed file
with
4 additions
and
2 deletions
@@ -192,7 +192,8 @@ public class InBoxServiceImpl implements IInBoxService { | @@ -192,7 +192,8 @@ public class InBoxServiceImpl implements IInBoxService { | ||
192 | InBoxVO vo = new InBoxVO(); | 192 | InBoxVO vo = new InBoxVO(); |
193 | BeanUtils.copyProperties(item, vo); | 193 | BeanUtils.copyProperties(item, vo); |
194 | voList.add(vo); | 194 | voList.add(vo); |
195 | - if(item.getType().intValue() == 2 && item.getBusinessType().intValue() == 2016) {//物权转移站内信,需特殊处理 | 195 | + if(item.getType().intValue() == InboxBusinessTypeEnum.NOTICE_BUYER_WHEN_OWNER_CONFIRM.getType().intValue() |
196 | + && item.getBusinessType().intValue() == InboxBusinessTypeEnum.NOTICE_BUYER_WHEN_OWNER_CONFIRM.getBusinessType().intValue()) {//物权转移站内信,需特殊处理 | ||
196 | identifyInboxIdList.add(item.getId()); | 197 | identifyInboxIdList.add(item.getId()); |
197 | } | 198 | } |
198 | } | 199 | } |
@@ -207,7 +208,8 @@ public class InBoxServiceImpl implements IInBoxService { | @@ -207,7 +208,8 @@ public class InBoxServiceImpl implements IInBoxService { | ||
207 | } | 208 | } |
208 | Map<Integer, String> attrMap = attrList.stream().collect(Collectors.toMap(InBoxAttr::getInboxId, InBoxAttr::getJsonContent)); | 209 | Map<Integer, String> attrMap = attrList.stream().collect(Collectors.toMap(InBoxAttr::getInboxId, InBoxAttr::getJsonContent)); |
209 | for(InBoxVO vo : voList) { | 210 | for(InBoxVO vo : voList) { |
210 | - if(vo.getType().intValue() == 2 && vo.getBusinessType().intValue() == 2016) { | 211 | + if(vo.getType().intValue() == InboxBusinessTypeEnum.NOTICE_BUYER_WHEN_OWNER_CONFIRM.getType().intValue() |
212 | + && vo.getBusinessType().intValue() == InboxBusinessTypeEnum.NOTICE_BUYER_WHEN_OWNER_CONFIRM.getBusinessType().intValue()) { | ||
211 | if(StringUtils.isEmpty(attrMap.get(vo.getId()))) { | 213 | if(StringUtils.isEmpty(attrMap.get(vo.getId()))) { |
212 | continue; | 214 | continue; |
213 | } | 215 | } |
-
Please register or login to post a comment