Commit d2a1782a by 徐高华

朋友圈

parent bbb67f66
......@@ -239,16 +239,16 @@
select <include refid="Base_Column_List"/> from tab_haoban_qw_moment_plan where wx_enterprise_id=#{wxEnterpriseId} and enterprise_id = #{enterpriseId}
<if test="statusFlag ==0">
and ( status_flag = 1 and begin_date <![CDATA[ > ]]> DATE_FORMAT(NOW(),'%Y-%m-%d') )
and ( status_flag = 1 and begin_date <![CDATA[ > ]]> NOW() )
</if>
<if test="statusFlag ==1">
and ( status_flag = 1 and end_date <![CDATA[ >= ]]> DATE_FORMAT(NOW(),'%Y-%m-%d') and begin_date <![CDATA[ <= ]]> now() )
and ( status_flag = 1 and end_date <![CDATA[ >= ]]> NOW() and begin_date <![CDATA[ <= ]]> now() )
</if>
<if test="statusFlag ==2">
and ( status_flag = 2 )
</if>
<if test="statusFlag ==3">
and ( status_flag = 1 and end_date <![CDATA[ < ]]> DATE_FORMAT(NOW(),'%Y-%m-%d') )
and ( status_flag = 1 and end_date <![CDATA[ < ]]> NOW() )
</if>
<if test="null != startTime" >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment