Commit 2ee0d4f8 authored by stone's avatar stone

[fix]修改合同信息查询条件

parent aee995d5
......@@ -13,11 +13,11 @@ var override_queryfields = [
},
{
name : 'lease_start_date_from',
queryexpression : "t1.inception_of_lease >= trunc(to_date(${@lease_start_date_from},'yyyy-mm-dd') )"
queryexpression : "t1.lease_start_date >= ${@lease_start_date_from}"
},
{
name : 'lease_start_date_to',
queryexpression : "trunc(t1.inception_of_lease) <=to_date(${@lease_start_date_to},'yyyy-mm-dd')"
queryexpression : "t1.lease_start_date <=${@lease_start_date_to}"
},
{
......@@ -108,11 +108,11 @@ var override_queryfields = [
},
{
name : 'lease_execution_date_from',
queryexpression : "t1.lease_execution_date >= trunc(to_date(${@lease_execution_date_from},'yyyy-mm-dd') )"
queryexpression : "to_char(t1.lease_execution_date,'yyyy-mm-dd') >= ${@lease_execution_date_from}"
},
{
name : 'lease_execution_date_to',
queryexpression : "trunc(t1.lease_execution_date) <=to_date(${@lease_execution_date_to},'yyyy-mm-dd')"
queryexpression : "to_char(t1.lease_execution_date,'yyyy-mm-dd') <=${@lease_execution_date_to}"
},{
name:'contract_status',
queryexpression:"t1.contract_status=${@contract_status}"
......
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