bug绑定多个

This commit is contained in:
2025-05-15 11:15:04 +08:00
parent 40c6a13cf4
commit 9ed6f173ee
10 changed files with 135 additions and 8 deletions

View File

@@ -358,7 +358,7 @@
from zt_story s
left join zt_storyreview v on s.id = v.story and s.version = v.version
left join zt_projectstory pstory on s.id = pstory.story and pstory.execution =0
left join zt_projectstory pstory on s.id = pstory.story and pstory.`type` = 'project'
left join zt_project pj on pstory.project = pj.id
left join zt_product pt on s.product = pt.id
left join zt_projectstory ps on s.id = ps.story