fix(domain): 修复项目任务执行状态判断逻辑

master
zhaokai 2026-03-18 16:24:19 +08:00
parent 27a5c4863c
commit ffe3aa4804
1 changed files with 2 additions and 1 deletions

View File

@ -36,11 +36,12 @@
from domain_department dd
left join department d on dd.master_department_id = d.id
left join user u on dd.master_user_id = u.id
left join domain_group dg on dd.domain_type = dg.domain_type
left join domain_group dg on dd.domain_type = dg.domain_type and dg.delete_enum='FALSE'
where dd.delete_enum = 'FALSE'
<if test="corpinfoId != null ">
and dg.corpinfo_id =#{corpinfoId}
</if>
group by dd.id
order by dd.create_time desc
</select>
</mapper>