浏览代码

Merge branch 'zx_saas_goods' of http://git.dayaedu.com/yonge/mec into zx_saas_goods

刘俊驰 1 年之前
父节点
当前提交
fd803ff359

+ 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 = "";