Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gk
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
micro_app
gk
Commits
a4c7907a
Commit
a4c7907a
authored
Oct 11, 2025
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
赛事助手后台赛事列表SQL改写
parent
6ccfc922
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
CmptMapper.xml
.../com/dlbridge/jadp/plugins/cmpt/dao/mapper/CmptMapper.xml
+4
-2
No files found.
src/main/java/com/dlbridge/jadp/plugins/cmpt/dao/mapper/CmptMapper.xml
View file @
a4c7907a
...
...
@@ -239,7 +239,9 @@
c.province as province,
c.area as area,
c.location as location
from gk_cmpt a left join common.neucmpt b on a.cmpt_id=b.gtCmptId
from gk_cmpt a
left join common.neucmpt b on a.cmpt_id=b.gtCmptId
left join common.neuuser nu on nu.neuUserId =b.committeeNeuUserId
left join raceenroll.competition c on b.gcmptid=c.cmptid
where a.del_flag=0
<include
refid=
"committee-cmpt-where-sql"
/>
...
...
@@ -257,7 +259,7 @@
and now() >= c.startTime and c.endTime >= now()
</if>
<if
test=
"param.userId > 0"
>
and c.createUserId=#{param.userId}
and c.createUserId=#{param.userId}
OR (nu.gUserId = #{param.userId} AND nu.gUserId != c.createUserId)
</if>
<if
test=
"param.userId lt 0"
>
AND c.createUserId NOT IN (SELECT user_id from gksite.gk_app_info WHERE user_id>0)
...
...
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