Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
huaxin-rq
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
huaxin-rq
Commits
dcda21a8
Commit
dcda21a8
authored
Dec 26, 2025
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取最新任务接口修改
parent
608d8caa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
TTaskMapper.xml
...n-system/src/main/resources/mapper/system/TTaskMapper.xml
+4
-0
No files found.
huaxin-system/src/main/resources/mapper/system/TTaskMapper.xml
View file @
dcda21a8
...
...
@@ -155,12 +155,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
FROM
t_task task
LEFT JOIN sys_user us ON us.user_id = task.admin_id
LEFT JOIN t_task_relation_info relation ON relation.task_id = task.id AND relation.type = '2'
LEFT JOIN t_group_member_info gr ON gr.group_id = relation.relation_id
<where>
task.status = 0
<if
test=
"type != null"
>
AND task.type = #{ type }
</if>
<if
test=
"checkType != null"
>
AND task.check_type = #{ checkType }
</if>
<if
test=
"taskType != null and taskType != ''"
>
AND task.task_type = #{ taskType }
</if>
<if
test=
"userId != null"
>
AND gr.user_id = #{ userId }
</if>
</where>
GROUP BY task.id
ORDER BY create_time DESC
LIMIT 1
</select>
...
...
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