he2802 3 anos atrás
pai
commit
ae115f3038

+ 1 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/course/service/impl/CourseSectionServiceImpl.java

@@ -199,7 +199,6 @@ public class CourseSectionServiceImpl extends ServiceImpl<CourseSectionMapper, C
         int size = sectionList.size();
         for (CourseSectionImport sectionImport : sectionList) {
 
-            Index++;
             CourseSectionAddBo bo = new CourseSectionAddBo();
             if(!Validator.isNotEmpty(sectionImport.getName())){
                errorLog+="第"+ (size - Index)+"条:"+"节标题空白。\r\n";
@@ -287,6 +286,7 @@ public class CourseSectionServiceImpl extends ServiceImpl<CourseSectionMapper, C
             }
             errorLog = insertByAddBoImport(bo,errorLog,(size - Index));
             i++;
+            Index++;
         }
         return errorLog;
     }

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/order/OrderGoodsMapper.xml

@@ -184,7 +184,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         WHERE
             o.user_id = #{userId}
           AND og.goods_id = #{goodsId}
-          AND og.pay_status > 1
+          AND og.pay_status > 1 AND og.refund_status != 2
     </select>
     <select id="getBuyGoodsReadyPay" parameterType="com.zhongzheng.modules.order.bo.OrderGoodsQueryBo" resultType="Long">
         SELECT