项目禅道BUG修改
正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
... | @@ -227,7 +227,9 @@ | ... | @@ -227,7 +227,9 @@ |
227 | FROM ${dataViewName2119} v | 227 | FROM ${dataViewName2119} v |
228 | WHERE v.depart_id = #{departId} AND v.time >= #{startDate} AND v.time <= #{endDate} ) v2 on v2.depart_id = d.id | 228 | WHERE v.depart_id = #{departId} AND v.time >= #{startDate} AND v.time <= #{endDate} ) v2 on v2.depart_id = d.id |
229 | LEFT JOIN sys_factory_info f on f.depart_id = d.id | 229 | LEFT JOIN sys_factory_info f on f.depart_id = d.id |
230 | LEFT JOIN report_target_config t on t.depart_id = d.id | 230 | LEFT JOIN ( SELECT * FROM report_target_config |
231 | WHERE target_year = LEFT ( #{dataTime}, 4 ) AND depart_id = #{departId} LIMIT 1 | ||
232 | ) t on t.depart_id = d.id | ||
231 | WHERE | 233 | WHERE |
232 | d.id = #{departId} | 234 | d.id = #{departId} |
233 | </select> | 235 | </select> | ... | ... |
-
请 注册 或 登录 后发表评论