Pārlūkot izejas kodu

修复selectTaskWithProgress查询bug,获取启用的任务

wangzhijun 4 dienas atpakaļ
vecāks
revīzija
62b89ef111

+ 1 - 1
nightFragrance-massage/src/main/resources/mapper/point/PointActivityMapper.xml

@@ -89,7 +89,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         JOIN point_activity_task t ON a.id = t.activity_id
         LEFT JOIN point_user_activity_task_completion c ON t.id = c.task_id AND c.open_id = #{dto.openId}
         <where>
-            AND t.is_deleted = 0 AND t.status = 1
+            AND t.is_deleted = 0 AND t.status = 0
             <if test="dto.type != null">
                  AND a.activity_type = #{dto.type}
             </if>