Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hlcm
leaf-hlcm
Commits
588c69ca
Commit
588c69ca
authored
Dec 31, 2019
by
stone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【fix】修改为模糊查询
parent
588de211
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
37 additions
and
16 deletions
+37
-16
con_contract_dun_for_query.lwm
...EB-INF/classes/cont/CON620/con_contract_dun_for_query.lwm
+2
-2
bp_modify_entrance_g_bp_result_queryfields.js
...ayoutconfig/bp_modify_entrance_g_bp_result_queryfields.js
+1
-1
con733_g_result_queryfields.js
...server-script/layoutconfig/con733_g_result_queryfields.js
+7
-4
con734_g_result_queryfields.js
...server-script/layoutconfig/con734_g_result_queryfields.js
+6
-3
con736_g_result_queryfields.js
...server-script/layoutconfig/con736_g_result_queryfields.js
+6
-3
csh_create_entrance_g_csh_req_1_queryfields.js
...youtconfig/csh_create_entrance_g_csh_req_1_queryfields.js
+5
-1
csh_create_entrance_g_csh_req_2_queryfields.js
...youtconfig/csh_create_entrance_g_csh_req_2_queryfields.js
+4
-0
project_modify_entrance_g_project_result_queryfields.js
...g/project_modify_entrance_g_project_result_queryfields.js
+1
-1
rental_query_entrance_g_contract_result_queryfields.js
...ig/rental_query_entrance_g_contract_result_queryfields.js
+5
-1
No files found.
src/main/webapp/WEB-INF/classes/cont/CON620/con_contract_dun_for_query.lwm
View file @
588c69ca
...
...
@@ -113,10 +113,10 @@
<bm:query-field
name=
"contract_number"
queryExpression=
"contract_number like upper('%'||${@contract_number}||'%')"
/>
<bm:query-field
name=
"bp_id_tenant"
queryExpression=
"t1.bp_id_tenant = ${@bp_id_tenant}"
/>
<bm:query-field
name=
"contract_name"
queryExpression=
"t1.contract_name
= ${@contract_name}
"
/>
<bm:query-field
name=
"contract_name"
queryExpression=
"t1.contract_name
like '%'||${@contract_name}||'%'
"
/>
<bm:query-field
name=
"project_number"
queryExpression=
"t1.project_number = ${@project_number}"
/>
<!--<bm:query-field name="bp_id_tenant_desc" queryExpression="t1.bp_id_tenant_desc like ${@bp_id_tenant_desc}"/>-->
<bm:query-field
name=
"bp_id_agent_desc"
queryExpression=
"t1.bp_id_agent_desc like
${@bp_id_agent_desc}
"
/>
<bm:query-field
name=
"bp_id_agent_desc"
queryExpression=
"t1.bp_id_agent_desc like
'%'||${@bp_id_agent_desc}||'%'
"
/>
<!-- <bm:query-field name="lease_start_date_from" queryExpression="t1.inception_of_lease >=to_date(${@lease_start_date_from},'yyyy-mm-dd')"/>
<bm:query-field name="lease_start_date_to" queryExpression="t1.inception_of_lease <=to_date(${@lease_start_date_to},'yyyy-mm-dd')"/>
-->
...
...
src/main/webapp/WEB-INF/server-script/layoutconfig/bp_modify_entrance_g_bp_result_queryfields.js
View file @
588c69ca
...
...
@@ -6,7 +6,7 @@ var override_queryfields = [
{
name
:
'bp_name'
,
queryexpression
:
"t1.bp_name like
${@bp_name}
"
queryexpression
:
"t1.bp_name like
'%'||${@bp_name}||'%'
"
},
{
name
:
'bp_type'
,
...
...
src/main/webapp/WEB-INF/server-script/layoutconfig/con733_g_result_queryfields.js
View file @
588c69ca
...
...
@@ -5,10 +5,10 @@ var override_queryfields = [
},
{
name
:
'bp_name'
,
queryexpression
:
"exists (select 1 from hls_bp_master hr where hr.bp_id=t1.bp_id_tenant and hr.bp_name like
${@bp_name}
)"
queryexpression
:
"exists (select 1 from hls_bp_master hr where hr.bp_id=t1.bp_id_tenant and hr.bp_name like
'%'||${@bp_name}||'%'
)"
},{
name
:
'bp_id_agent_level1_n'
,
queryexpression
:
"exists (select 1 from hls_bp_master hr where hr.bp_id=t1.bp_id_agent_level1 and hr.bp_name like
${@bp_id_agent_level1_n}
)"
queryexpression
:
"exists (select 1 from hls_bp_master hr where hr.bp_id=t1.bp_id_agent_level1 and hr.bp_name like
'%'||${@bp_id_agent_level1_n}||'%'
)"
},
{
name
:
'lease_start_date_from'
,
...
...
@@ -39,7 +39,7 @@ var override_queryfields = [
queryoperator
:
"="
},
{
name
:
'contract_number'
,
queryexpression
:
"t1.contract_number like
${@contract_number}
"
queryexpression
:
"t1.contract_number like
'%'||${@contract_number}||'%'
"
},
{
field
:
'lease_channel'
,
queryoperator
:
"="
...
...
@@ -61,6 +61,9 @@ var override_queryfields = [
},
{
field
:
'division'
,
queryoperator
:
"="
},
{
name
:
'contract_name'
,
queryexpression
:
"t1.contract_name like '%'||${@contract_name}||'%'"
}
];
...
...
src/main/webapp/WEB-INF/server-script/layoutconfig/con734_g_result_queryfields.js
View file @
588c69ca
...
...
@@ -5,7 +5,7 @@ var override_queryfields = [
},
{
name
:
'bp_name'
,
queryexpression
:
"exists (select 1 from hls_bp_master hr where hr.bp_id=t1.bp_id_tenant and hr.bp_name like
${@bp_name}
)"
queryexpression
:
"exists (select 1 from hls_bp_master hr where hr.bp_id=t1.bp_id_tenant and hr.bp_name like
'%'||${@bp_name}||'%'
)"
},
{
name
:
'lease_start_date_from'
,
...
...
@@ -43,8 +43,8 @@ var override_queryfields = [
field
:
'contract_id'
,
queryoperator
:
"="
},
{
name
:
'contract_n
ame
'
,
queryexpression
:
"t1.contract_number like
${@contract_number}
"
name
:
'contract_n
umber
'
,
queryexpression
:
"t1.contract_number like
'%'||${@contract_number}||'%'
"
},
{
field
:
'lease_channel'
,
queryoperator
:
"="
...
...
@@ -66,6 +66,9 @@ var override_queryfields = [
},
{
field
:
'division'
,
queryoperator
:
"="
},{
name
:
'change_created_by_n'
,
queryexpression
:
"t1.change_created_by_n like '%'||${@change_created_by_n}||'%'"
}
];
...
...
src/main/webapp/WEB-INF/server-script/layoutconfig/con736_g_result_queryfields.js
View file @
588c69ca
...
...
@@ -5,7 +5,7 @@ var override_queryfields = [
},
{
name
:
'bp_name'
,
queryexpression
:
"exists (select 1 from hls_bp_master hr where hr.bp_id=t1.bp_id_tenant and hr.bp_name like
${@bp_name}
)"
queryexpression
:
"exists (select 1 from hls_bp_master hr where hr.bp_id=t1.bp_id_tenant and hr.bp_name like
'%'||${@bp_name}||'%'
)"
},
{
name
:
'lease_start_date_from'
,
...
...
@@ -35,8 +35,8 @@ var override_queryfields = [
field
:
'contract_id'
,
queryoperator
:
"="
},
{
name
:
'contract_n
ame
'
,
queryexpression
:
"t1.contract_number like
${@contract_number}
"
name
:
'contract_n
umber
'
,
queryexpression
:
"t1.contract_number like
'%'||${@contract_number}||'%'
"
},
{
field
:
'lease_channel'
,
queryoperator
:
"="
...
...
@@ -58,6 +58,9 @@ var override_queryfields = [
},
{
field
:
'division'
,
queryoperator
:
"="
},{
name
:
'change_created_by_n'
,
queryexpression
:
"t1.change_created_by_n like '%'||${@change_created_by_n}||'%'"
}
];
...
...
src/main/webapp/WEB-INF/server-script/layoutconfig/csh_create_entrance_g_csh_req_1_queryfields.js
View file @
588c69ca
...
...
@@ -14,6 +14,10 @@ var override_queryfields = [
{
name
:
'req_date_to'
,
queryexpression
:
"trunc(T1.req_date)<=to_date(${@req_date_to},'yyyy-mm-dd')"
},
{
name
:
'payment_req_number'
,
queryexpression
:
"t1.payment_req_number like '%'||${@payment_req_number}||'%'"
}
];
var
add_datafilters
=
[
...
...
src/main/webapp/WEB-INF/server-script/layoutconfig/csh_create_entrance_g_csh_req_2_queryfields.js
View file @
588c69ca
...
...
@@ -14,6 +14,10 @@ var override_queryfields = [
{
name
:
'req_date_to'
,
queryexpression
:
"trunc(T1.req_date)<=to_date(${@req_date_to},'yyyy-mm-dd')"
},
{
name
:
'payment_req_number'
,
queryexpression
:
"t1.payment_req_number like '%'||${@payment_req_number}||'%'"
}
];
var
add_datafilters
=
[
...
...
src/main/webapp/WEB-INF/server-script/layoutconfig/project_modify_entrance_g_project_result_queryfields.js
View file @
588c69ca
...
...
@@ -21,7 +21,7 @@ var override_queryfields = [
},
{
name
:
'bp_name'
,
queryexpression
:
"exists (select 1 from prj_project_bp_v b where b.project_id=t1.project_id and b.bp_name like
${@bp_name}
)"
queryexpression
:
"exists (select 1 from prj_project_bp_v b where b.project_id=t1.project_id and b.bp_name like
'%'||${@bp_name}||'%'
)"
},
//{
// field : 'employee_id',
...
...
src/main/webapp/WEB-INF/server-script/layoutconfig/rental_query_entrance_g_contract_result_queryfields.js
View file @
588c69ca
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
:
'contract_number'
,
queryexpression
:
"t1.contract_number like '%'||${@contract_number}||'%'"
},
{
name
:
'due_date_from'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment