Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
4f452d87
Commit
4f452d87
authored
Sep 21, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[bug] get all project sql er
parent
2664d707
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
ProjectMapper.java
...dao/src/main/java/pwc/taxtech/atms/dao/ProjectMapper.java
+10
-10
No files found.
atms-dao/src/main/java/pwc/taxtech/atms/dao/ProjectMapper.java
View file @
4f452d87
...
...
@@ -139,25 +139,25 @@ public interface ProjectMapper extends MyMapper {
"FROM "
+
" Project p "
+
" JOIN "
+
" Organization org ON p.O
rganization
ID = org.id "
+
" Organization org ON p.O
RGANIZATION_
ID = org.id "
+
" JOIN "
+
" PROJECT_SERVICE_TYPE
projectServiceType ON p.id = projectServiceType.Project
ID "
+
" PROJECT_SERVICE_TYPE
PROJECT_SERVICE_TYPE ON p.id = projectServiceType.PROJECT_
ID "
+
" JOIN "
+
" Organization organization ON p.O
rganization
ID = organization.id "
+
" Organization organization ON p.O
RGANIZATION_
ID = organization.id "
+
" JOIN "
+
" ServiceType serviceType ON projectServiceType.S
erviceType
ID = serviceType.id "
+
" ServiceType serviceType ON projectServiceType.S
ERVICE_TYPE_
ID = serviceType.id "
+
" JOIN "
+
" Industry industry ON p.I
ndustry
ID = industry.id "
+
" Industry industry ON p.I
NDUSTRY_
ID = industry.id "
+
" JOIN "
+
" TEMPLATE_GROUP templateGroup ON projectServiceType.T
emplateGroup
ID = templateGroup.id "
+
" TEMPLATE_GROUP templateGroup ON projectServiceType.T
EMPLATE_GROUP_
ID = templateGroup.id "
+
" JOIN "
+
" Region region ON p.R
egion
ID = region.id "
+
" Region region ON p.R
EGION_
ID = region.id "
+
" JOIN "
+
" ENTERPRISE_ACCOUNT_SET_ORG enterOrg ON p.E
nterpriseAccountSetID = enterOrg.EnterpriseAccountSet
ID "
+
" ENTERPRISE_ACCOUNT_SET_ORG enterOrg ON p.E
NTERPRISE_ACCOUNT_SET_ID = enterOrg.ENTERPRISE_ACCOUNT_SET_
ID "
+
" <where>"
+
" p.IS_ACTIVE=1 and serviceType.IS_ACTIVE=1 and p.ORGANIZATION_ID = enterOrg.ORGANIZATION_ID"
+
" <if test=\"orgI
D != null and orgID
!='' \">AND org.id=#{orgId}</if>"
+
" <if test=\"serverI
D != null and serverID
!='' \">AND p.serviceType=#{serverId}</if>"
+
" <if test=\"orgI
d != null and orgId
!='' \">AND org.id=#{orgId}</if>"
+
" <if test=\"serverI
d != null and serverId
!='' \">AND p.serviceType=#{serverId}</if>"
+
" <if test=\"projectYear != null\">AND p.Year=#{projectYear}</if>"
+
" </where>"
+
"</script>"
)
...
...
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