工作票bug修复
This commit is contained in:
parent
03a64da51a
commit
32913ad718
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user