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
29b4d2ea
Commit
29b4d2ea
authored
Dec 12, 2023
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报价信息历史数据显示完善
parent
bd7a6587
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
prj_project_history_display.lwm
...B-INF/classes/prj/PRJ501N/prj_project_history_display.lwm
+4
-0
No files found.
src/main/webapp/WEB-INF/classes/prj/PRJ501N/prj_project_history_display.lwm
View file @
29b4d2ea
...
@@ -15,6 +15,7 @@ select *
...
@@ -15,6 +15,7 @@ select *
where t.Id_Card_No =
where t.Id_Card_No =
(select hbm.id_card_no from hls_bp_master hbm where hbm.bp_id = ${@bp_id})
(select hbm.id_card_no from hls_bp_master hbm where hbm.bp_id = ${@bp_id})
and t.unit_id in (select vv.unit_id from exp_emp_assign_e_v vv where vv.user_id = ${/session/@user_id})
and t.unit_id in (select vv.unit_id from exp_emp_assign_e_v vv where vv.user_id = ${/session/@user_id})
and t.Id_Card_No is not null
and exists(
and exists(
select vv.unit_id from exp_emp_assign_e_v vv where vv.user_id = ${/session/@user_id} and vv.POSITION_TYPE = 'SALES'
select vv.unit_id from exp_emp_assign_e_v vv where vv.user_id = ${/session/@user_id} and vv.POSITION_TYPE = 'SALES'
)
)
...
@@ -24,6 +25,7 @@ select *
...
@@ -24,6 +25,7 @@ select *
from con_contract_history_lv t
from con_contract_history_lv t
where t.Id_Card_No =
where t.Id_Card_No =
(select hbm.id_card_no from hls_bp_master hbm where hbm.bp_id = ${@bp_id})
(select hbm.id_card_no from hls_bp_master hbm where hbm.bp_id = ${@bp_id})
and t.Id_Card_No is not null
and not exists(
and not exists(
select vv.unit_id from exp_emp_assign_e_v vv where vv.user_id = ${/session/@user_id} and vv.POSITION_TYPE = 'SALES'
select vv.unit_id from exp_emp_assign_e_v vv where vv.user_id = ${/session/@user_id} and vv.POSITION_TYPE = 'SALES'
)
)
...
@@ -35,6 +37,7 @@ select *
...
@@ -35,6 +37,7 @@ select *
from hls_bp_master hbm
from hls_bp_master hbm
where hbm.bp_id = ${@bp_id})
where hbm.bp_id = ${@bp_id})
and t.unit_id in (select vv.unit_id from exp_emp_assign_e_v vv where vv.user_id = ${/session/@user_id})
and t.unit_id in (select vv.unit_id from exp_emp_assign_e_v vv where vv.user_id = ${/session/@user_id})
and t.Id_Card_No is not null
and exists(
and exists(
select vv.unit_id from exp_emp_assign_e_v vv where vv.user_id = ${/session/@user_id} and vv.POSITION_TYPE = 'SALES'
select vv.unit_id from exp_emp_assign_e_v vv where vv.user_id = ${/session/@user_id} and vv.POSITION_TYPE = 'SALES'
)
)
...
@@ -45,6 +48,7 @@ select *
...
@@ -45,6 +48,7 @@ select *
where t.social_code = (select hbm.social_code
where t.social_code = (select hbm.social_code
from hls_bp_master hbm
from hls_bp_master hbm
where hbm.bp_id = ${@bp_id})
where hbm.bp_id = ${@bp_id})
and t.Id_Card_No is not null
and not exists(
and not exists(
select vv.unit_id from exp_emp_assign_e_v vv where vv.user_id = ${/session/@user_id} and vv.POSITION_TYPE = 'SALES'
select vv.unit_id from exp_emp_assign_e_v vv where vv.user_id = ${/session/@user_id} and vv.POSITION_TYPE = 'SALES'
)
)
...
...
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