Commit 976aba93 authored by hongguangwu's avatar hongguangwu

MVP1.7.12-商险截止日期

parent 04b5900f
......@@ -1478,7 +1478,7 @@
FROM t_insurance_detail d
where DELETE_FLAG = 0
and (d.BUY_HANDLE_STATUS in (1,2) or (d.BUY_HANDLE_STATUS = 3 and d.IS_EFFECT = 0
and d.POLICY_EFFECT <![CDATA[ <= ]]> DATE_ADD(NOW(),INTERVAL 1 DAY) and d.POLICY_END >= NOW()
and d.POLICY_EFFECT <![CDATA[ <= ]]> DATE_FORMAT(DATE_ADD(NOW(),INTERVAL 1 DAY),'%Y-%m-%d') and d.POLICY_END >= DATE_FORMAT(NOW(),'%Y-%m-%d')
))
<if test="idCardList != null and idCardList.size > 0">
......
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