工作票bug修复

This commit is contained in:
guoshengxiong 2025-10-17 18:46:38 +08:00
parent 62635b43fc
commit 66d99d0a9e

View File

@ -30,6 +30,9 @@
,ifnull(sum(if(t.status=3,1,0)),0) as pause
,ifnull(sum(if(t.status=4,1,0)),0) as done
from work_ticket t
where t.project_sn=#{projectSn}
where 1=1
<if test="projectSn != null and projectSn != ''">
and t.project_sn = #{projectSn}
</if>
</select>
</mapper>