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
703f8852
Commit
703f8852
authored
Sep 10, 2020
by
yangshuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支持春城赛事
parent
90bf9e2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
CmptMapper.xml
.../com/dlbridge/jadp/plugins/cmpt/dao/mapper/CmptMapper.xml
+6
-1
No files found.
src/main/java/com/dlbridge/jadp/plugins/cmpt/dao/mapper/CmptMapper.xml
View file @
703f8852
...
@@ -154,7 +154,9 @@
...
@@ -154,7 +154,9 @@
and c.createUserId=#{param.userId} and a.cmpt_status = 2
and c.createUserId=#{param.userId} and a.cmpt_status = 2
</if>
</if>
<if
test=
"param.userId lt 0"
>
<if
test=
"param.userId lt 0"
>
and c.createUserId
<![CDATA[ <> ]]>
427744 and a.cmpt_status = 2
and c.createUserId
<![CDATA[ <> ]]>
427744
and c.createUserId
<![CDATA[ <> ]]>
2148892
and a.cmpt_status = 2
</if>
</if>
</sql>
</sql>
...
@@ -273,6 +275,7 @@
...
@@ -273,6 +275,7 @@
left join raceenroll.competition c on b.gcmptid=c.cmptId where cmpt_status=2 and del_flag=0
left join raceenroll.competition c on b.gcmptid=c.cmptId where cmpt_status=2 and del_flag=0
<if
test=
"0 > userId"
>
<if
test=
"0 > userId"
>
and c.createUserId
<![CDATA[ <> ]]>
427744
and c.createUserId
<![CDATA[ <> ]]>
427744
and c.createUserId
<![CDATA[ <> ]]>
2148892
</if>
</if>
<if
test=
"userId > 0"
>
<if
test=
"userId > 0"
>
and c.createUserId = #{userId}
and c.createUserId = #{userId}
...
@@ -284,6 +287,7 @@
...
@@ -284,6 +287,7 @@
where a.cmpt_status=2 and a.del_flag=0 and now() > c.opentime and c.deadline > now()
where a.cmpt_status=2 and a.del_flag=0 and now() > c.opentime and c.deadline > now()
<if
test=
"userId lt 0"
>
<if
test=
"userId lt 0"
>
and c.createUserId
<![CDATA[ <> ]]>
427744
and c.createUserId
<![CDATA[ <> ]]>
427744
and c.createUserId
<![CDATA[ <> ]]>
2148892
</if>
</if>
<if
test=
"userId > 0"
>
<if
test=
"userId > 0"
>
and c.createUserId = #{userId}
and c.createUserId = #{userId}
...
@@ -296,6 +300,7 @@
...
@@ -296,6 +300,7 @@
where a.cmpt_status=2 and a.del_flag=0 and now() > c.startTime and c.endTime > now()
where a.cmpt_status=2 and a.del_flag=0 and now() > c.startTime and c.endTime > now()
<if
test=
"userId lt 0"
>
<if
test=
"userId lt 0"
>
and c.createUserId
<![CDATA[ <> ]]>
427744
and c.createUserId
<![CDATA[ <> ]]>
427744
and c.createUserId
<![CDATA[ <> ]]>
2148892
</if>
</if>
<if
test=
"userId > 0"
>
<if
test=
"userId > 0"
>
and c.createUserId = #{userId}
and c.createUserId = #{userId}
...
...
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