Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sv-springboot
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bsoft
sv-springboot
Commits
4eedab5e
Commit
4eedab5e
authored
Jul 23, 2020
by
Suvalue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
汇总全员数据展示
parent
08b48f32
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bsoft-api/src/main/resources/mapper/SerProjMapper.xml
+2
-2
No files found.
bsoft-api/src/main/resources/mapper/SerProjMapper.xml
View file @
4eedab5e
...
@@ -97,13 +97,13 @@
...
@@ -97,13 +97,13 @@
from val_proj_value v
from val_proj_value v
join dic_bgt_proj p on p.ID =v.PROJ_ID and p.STATE = 1
join dic_bgt_proj p on p.ID =v.PROJ_ID and p.STATE = 1
where 1=1
where 1=1
and EXISTS(select o2.ORG_CODE as DEPT_CODE
and
(
EXISTS(select o2.ORG_CODE as DEPT_CODE
from sys_user_sbj_rs rs2
from sys_user_sbj_rs rs2
join sys_subject o2 on o2.id = rs2.ORG_ID and rs2.STATE = 1
join sys_subject o2 on o2.id = rs2.ORG_ID and rs2.STATE = 1
where o2.STATE = 1
where o2.STATE = 1
and rs2.USER_ID = #{userId,jdbcType=DECIMAL}
and rs2.USER_ID = #{userId,jdbcType=DECIMAL}
and o2.ORG_CODE = v.DEPT_CODE
and o2.ORG_CODE = v.DEPT_CODE
)
)
or v.DEPT_CODE = '全院')
<if
test=
"date!=null"
>
<if
test=
"date!=null"
>
and v.`DATE`= LEFT(#{date,jdbcType=DECIMAL},4)
and v.`DATE`= LEFT(#{date,jdbcType=DECIMAL},4)
</if>
</if>
...
...
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