Ver código fonte

考试安排

change 3 anos atrás
pai
commit
f1019044ce

+ 1 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/exam/domain/ExamApply.java

@@ -25,7 +25,7 @@ public class ExamApply implements Serializable {
 private static final long serialVersionUID=1L;
 
     /** $column.columnComment */
-    @TableId(value = "exam_apply_id")
+    @TableId(value = "apply_id")
     private Long applyId;
     /** 考试封面 */
     private String applyUrl;

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeMapper.xml

@@ -437,7 +437,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         1 = 1
         AND og.status=1
         and u.status=1
-        and og.refund_status=0
+        and og.refund_status in(0,3)
         and pay_status in (2,3)
         and g.business_id =#{businessId}
     </select>

+ 3 - 1
zhongzheng-system/src/main/resources/mapper/modules/inform/InformMapper.xml

@@ -111,7 +111,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             `order` o
                 LEFT JOIN order_goods og ON o.order_sn = og.order_sn
         WHERE
-            refund_status = 0
+            og.refund_status in (0,3)
+          and og.status =1
+          and og.pay_status in (2,3)
           AND o.user_id =#{userId}
           AND og.goods_id = #{goodsId}
     </select>