| | |
| | | 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> |