Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7eaf89e6
authored
Nov 24, 2023
by
刘鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 替换左联查 避免出现无用数据
1 parent
c3ec69f7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
project-order/src/main/java/com/dituhui/pea/order/dao/CapacityStatisticDao.java
project-order/src/main/java/com/dituhui/pea/order/dao/CapacityStatisticDao.java
View file @
7eaf89e
...
@@ -47,7 +47,7 @@ public interface CapacityStatisticDao extends JpaRepository<CapacityTeamStatEnti
...
@@ -47,7 +47,7 @@ public interface CapacityStatisticDao extends JpaRepository<CapacityTeamStatEnti
" INNER JOIN org_team_engineer ote ON ote.team_id = ot.team_id AND ot.status = 1 AND ote.status =1\n"
+
" INNER JOIN org_team_engineer ote ON ote.team_id = ot.team_id AND ot.status = 1 AND ote.status =1\n"
+
" INNER JOIN capacity_engineer_stat a ON a.engineer_code = ote.engineer_code \n"
+
" INNER JOIN capacity_engineer_stat a ON a.engineer_code = ote.engineer_code \n"
+
" INNER JOIN v_engineer_skill v ON a.engineer_code = v.engineer_code\n"
+
" INNER JOIN v_engineer_skill v ON a.engineer_code = v.engineer_code\n"
+
"
LEFT
JOIN engineer_info z ON a.engineer_code = z.engineer_code AND z.bean_status = 1 \n"
+
"
INNER
JOIN engineer_info z ON a.engineer_code = z.engineer_code AND z.bean_status = 1 \n"
+
" WHERE ot.branch_id = :branchId AND a.workday= :date \n"
+
" WHERE ot.branch_id = :branchId AND a.workday= :date \n"
+
" GROUP BY a.workday, v.layer_id, v.layer "
,
nativeQuery
=
true
)
" GROUP BY a.workday, v.layer_id, v.layer "
,
nativeQuery
=
true
)
List
<
Object
[]>
sumBranchCapacity
(
String
date
,
String
branchId
);
List
<
Object
[]>
sumBranchCapacity
(
String
date
,
String
branchId
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment