添加计划类型和允许报名时间约束

This commit is contained in:
wans 2021-05-05 15:17:44 +08:00
parent 10cd9b6ec2
commit db8c8f33ee

View File

@ -292,8 +292,15 @@
<if test="orgId != null">
AND t1.org_id = #{orgId}
</if>
<if test="repotType != null and repotType != ''">
AND t1.report_type = #{repotType}
<if test="reportType != null and reportType != ''">
AND t1.report_type = #{reportType}
</if>
<if test="signNowDate != null and signNowDate != ''">
AND t1.sign_up_start_time <![CDATA[ <= ]]> #{signNowDate}
AND t1.sign_up_end_time <![CDATA[ >= ]]> #{signNowDate}
</if>
<if test="planType != null and planType != ''">
AND t1.plan_type = #{planType}
</if>
<if test="keywords != null and keywords != ''">
AND (