change 4 yıl önce
ebeveyn
işleme
95fd5d598e

+ 6 - 0
zhongzheng-system/src/main/resources/mapper/modules/order/CouponMapper.xml

@@ -46,5 +46,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="courseId != null and courseId != ''" >
           AND t.course_id = #{courseId}
         </if>
+        <if test="couponType != null and couponType != ''" >
+            AND c.coupon_type = #{couponType}
+        </if>
+        <if test="userStatus != null and userStatus != ''" >
+            AND c.user_status = #{userStatus}
+        </if>
     </select>
 </mapper>