Browse Source

管乐迷商城改造

zouxuan 1 year ago
parent
commit
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) {
     public List<Goods> findApplyOrderGoods(Long orderId) {
         List<StudentPaymentOrderDetail> applyOrderGoods = studentPaymentOrderDetailDao.findApplyOrderGoods(orderId);
         List<StudentPaymentOrderDetail> applyOrderGoods = studentPaymentOrderDetailDao.findApplyOrderGoods(orderId);
 
 
-        if (applyOrderGoods == null || applyOrderGoods.size() == 0) {
+        if (CollectionUtils.isEmpty(applyOrderGoods)) {
             return null;
             return null;
         }
         }
         String goodsIdsStr = "";
         String goodsIdsStr = "";