From 70225b084dc19db41a9f210bb3e64c27ed25d25c Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期一, 29 九月 2025 17:09:08 +0800
Subject: [PATCH] app任务

---
 ruoyi-system/src/main/resources/mapper/system/TMissionMapper.xml |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/TMissionMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TMissionMapper.xml
index 58f3223..5921528 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TMissionMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TMissionMapper.xml
@@ -39,5 +39,15 @@
           address_score, time_score, person_count_score, equipment_score, attempt_score,finish_time, create_time,
           update_time, create_by, update_by, disabled
     </sql>
+    <select id="pageNowList" resultType="com.ruoyi.system.model.TMission">
+        select t2.* from t_mission_user t1 left join t_mission t2 on t1.mission_id =t2.id
+        where t1.status =0 and t1.app_user_id = #{userId} and t2.status = 2
+        order by t2.create_time desc
+    </select>
+    <select id="pageHistoryList" resultType="com.ruoyi.system.model.TMission">
+        select t2.* from t_mission_user t1 left join t_mission t2 on t1.mission_id =t2.id
+        where t1.status =1 and t1.app_user_id = #{userId}
+        order by t2.create_time desc
+    </select>
 
 </mapper>

--
Gitblit v1.7.1