浏览代码

管乐迷商城改造

zouxuan 1 年之前
父节点
当前提交
18fb755d67

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/StudentPaymentOrderDetailServiceImpl.java

@@ -298,7 +298,7 @@ public class StudentPaymentOrderDetailServiceImpl extends BaseServiceImpl<Long,
     public List<Goods> findApplyOrderGoods(Long orderId) {
         List<StudentPaymentOrderDetail> applyOrderGoods = studentPaymentOrderDetailDao.findApplyOrderGoods(orderId);
 
-        if (applyOrderGoods == null || applyOrderGoods.size() == 0) {
+        if (CollectionUtils.isEmpty(applyOrderGoods)) {
             return null;
         }
         String goodsIdsStr = "";