Commit 2ad3fc97 by 徐康

修复问题

parent 0cd94794
...@@ -1617,7 +1617,7 @@ public class MCCafeOrderServiceImpl implements MCCafeOrderService { ...@@ -1617,7 +1617,7 @@ public class MCCafeOrderServiceImpl implements MCCafeOrderService {
if(cardList.get(i).getCard_id().equals(extInfo.getCardId())) { if(cardList.get(i).getCard_id().equals(extInfo.getCardId())) {
cardCodeStr += cardList.get(i).getCard_code()+"/"; cardCodeStr += cardList.get(i).getCard_code()+"/";
if(CollectionUtils.isEmpty(cardMap.get(extInfo.getCardCode()))) { if(CollectionUtils.isEmpty(cardMap.get(extInfo.getCardCode()))) {
cardMap.put(extInfo.getCardCode(), Arrays.asList(cardList.get(i))); cardMap.put(extInfo.getCardCode(), new ArrayList<>(Arrays.asList(cardList.get(i))));
} else { } else {
cardMap.get(extInfo.getCardCode()).add(cardList.get(i)); cardMap.get(extInfo.getCardCode()).add(cardList.get(i));
} }
......
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