|
@@ -107,7 +107,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN school s ON s.id = g.school_id
|
|
|
LEFT JOIN major m ON g.major_id = m.id
|
|
|
WHERE 1=1
|
|
|
- AND og.pay_status in (2,3)
|
|
|
+
|
|
|
<if test="educationTypeId != null and educationTypeId != ''">
|
|
|
AND g.education_type_id = #{educationTypeId}
|
|
|
</if>
|
|
@@ -152,6 +152,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</if>
|
|
|
<if test="userId != null">
|
|
|
AND u.user_id = #{userId}
|
|
|
+ AND og.pay_status in (2,3)
|
|
|
</if>
|
|
|
ORDER BY o.order_id DESC
|
|
|
</select>
|