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
1797bc81
Commit
1797bc81
authored
Jan 01, 2020
by
stone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【fix】模糊查询
parent
63085150
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
csh_payment_req_selected.lwm
...p/WEB-INF/classes/csh/CSH501/csh_payment_req_selected.lwm
+1
-1
contract_query_entrance_g_contract_result_queryfields.js
.../contract_query_entrance_g_contract_result_queryfields.js
+7
-5
No files found.
src/main/webapp/WEB-INF/classes/csh/CSH501/csh_payment_req_selected.lwm
View file @
1797bc81
...
...
@@ -307,7 +307,7 @@
<!--<bm:query-field name="pay_contract_from" datatype="java.lang.String" queryExpression="t1.contract_number>=${@pay_contract_from}"/>-->
<!--<bm:query-field name="pay_contract_to" datatype="java.lang.String" queryExpression="t1.contract_number<=${@pay_contract_to}"/>-->
<bm:query-field
name=
"contract_number"
queryExpression=
"t1.contract_number like
${@contract_number}
"
/>
queryExpression=
"t1.contract_number like
'%'||${@contract_number}||'%'
"
/>
<bm:query-field
name=
"due_date_from"
queryExpression=
"t1.due_date >= ${@due_date_from}"
/>
<bm:query-field
name=
"due_date_to"
...
...
src/main/webapp/WEB-INF/server-script/layoutconfig/contract_query_entrance_g_contract_result_queryfields.js
View file @
1797bc81
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'
,
query
operator
:
"like
"
name
:
'contract_number'
,
query
expression
:
"t1.contract_number like '%'||${@contract_number}||'%'
"
},
{
name
:
'employee_name_of_manager'
,
...
...
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