小程序首页景区列表,任务状态接口

This commit is contained in:
songmingsong
2024-12-06 16:15:13 +08:00
parent 961df0a151
commit 8cb58289df
21 changed files with 270 additions and 26 deletions

View File

@ -45,4 +45,14 @@ from task
from task
where id = #{id}
</select>
<select id="countByMemberIdStau" resultType="java.lang.Integer">
select count(1) from task
where member_id = #{userId} and status IN (0,2)
</select>
<select id="countByMemberIdStauFinish" resultType="java.lang.Integer">
select count(1)
from task
where member_id = #{userId}
and status = 1
</select>
</mapper>