Commit fcbcd7f1 authored by congzhao's avatar congzhao

[建机]电子合同发起电子签约提醒修改

parent cb54a2f1
......@@ -4,11 +4,11 @@
<bm:operation name="query">
<bm:query-sql><![CDATA[
select (case
when to_date(${@lease_start_date}, 'yyyy-MM-dd') <
trunc(sysdate) then
'N'
else
when trunc(sysdate) <= to_date(${@lease_start_date}, 'yyyy-MM-dd') + 2 and trunc(sysdate) >= to_date(${@lease_start_date}, 'yyyy-MM-dd')
then
'Y'
else
'N'
end) lease_flag
from dual
]]></bm:query-sql>
......
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