...
|
...
|
@@ -202,9 +202,15 @@ public class InBoxServiceImpl implements IInBoxService { |
|
|
}
|
|
|
|
|
|
List<InBoxAttr> attrList = inBoxAttrDao.selectInboxAttrList(uid, identifyInboxIdList);
|
|
|
if(CollectionUtils.isEmpty(attrList)) {
|
|
|
return voList;
|
|
|
}
|
|
|
Map<Integer, String> attrMap = attrList.stream().collect(Collectors.toMap(InBoxAttr::getInboxId, InBoxAttr::getJsonContent));
|
|
|
for(InBoxVO vo : voList) {
|
|
|
if(vo.getType().intValue() == 2 && vo.getBusinessType().intValue() == 2016) {
|
|
|
if(StringUtils.isEmpty(attrMap.get(vo.getId()))) {
|
|
|
continue;
|
|
|
}
|
|
|
JSONObject jo = JSON.parseObject(attrMap.get(vo.getId()));
|
|
|
int finalTime = jo.getIntValue("finalTime");
|
|
|
vo.setFinalTime(finalTime);
|
...
|
...
|
|