Commit 1797bc81 authored by stone's avatar stone

【fix】模糊查询

parent 63085150
......@@ -307,7 +307,7 @@
<!--<bm:query-field name="pay_contract_from" datatype="java.lang.String" queryExpression="t1.contract_number&gt;=${@pay_contract_from}"/>-->
<!--<bm:query-field name="pay_contract_to" datatype="java.lang.String" queryExpression="t1.contract_number&lt;=${@pay_contract_to}"/>-->
<bm:query-field name="contract_number"
queryExpression="t1.contract_number like ${@contract_number}"/>
queryExpression="t1.contract_number like &apos;%&apos;||${@contract_number}||&apos;%&apos;"/>
<bm:query-field name="due_date_from"
queryExpression="t1.due_date &gt;= ${@due_date_from}"/>
<bm:query-field name="due_date_to"
......
var override_queryfields = [
{
name : 'bp_name',
queryexpression : "t1.bp_id_tenant_n like ${@bp_name}"
queryexpression : "t1.bp_id_tenant_n like '%'||${@bp_name}||'%'"
},
{
name : 'city_n',
......@@ -28,8 +28,6 @@ var override_queryfields = [
name : 'contract_creation_date_to',
queryexpression : "trunc(t1.contract_creation_date) <=to_date(${@contract_creation_date_to},'yyyy-mm-dd')"
},
// ��ͬȡ�����ڴӡ���ͬȡ�����ڵ�
{
name : 'closed_date_from',
queryexpression : "t1.closed_date >= trunc(to_date(${@closed_date_from},'yyyy-mm-dd') )"
......@@ -48,13 +46,17 @@ var override_queryfields = [
name : 'project_number',
queryexpression : "t1.project_number like ${@project_number}"
},
{
name : 'agent_extra_nam',
queryexpression : "t1.agent_extra_nam like '%'||${@agent_extra_nam}||'%'"
},
{
field : 'contract_id',
queryoperator : "="
},
{
field : 'contract_number',
queryoperator : "like"
name : 'contract_number',
queryexpression : "t1.contract_number like '%'||${@contract_number}||'%'"
},
{
name : 'employee_name_of_manager',
......
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