|
@@ -53,6 +53,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN course_project_type cpt ON g.project_id = cpt.id
|
|
|
LEFT JOIN course_business cb ON g.business_id = cb.id
|
|
|
WHERE
|
|
|
- og.order_sn = #{orderSn}
|
|
|
+ 1 = 1
|
|
|
+ <if test="orderSn != null and orderSn != ''">
|
|
|
+ AND og.order_sn = #{orderSn}
|
|
|
+ </if>
|
|
|
+
|
|
|
</select>
|
|
|
</mapper>
|