c937ee54 张雷

项目禅道BUG修改

1 个父辈 bca406ee
......@@ -227,7 +227,9 @@
FROM ${dataViewName2119} v
WHERE v.depart_id = #{departId} AND v.time >= #{startDate} AND v.time <= #{endDate} ) v2 on v2.depart_id = d.id
LEFT JOIN sys_factory_info f on f.depart_id = d.id
LEFT JOIN report_target_config t on t.depart_id = d.id
LEFT JOIN ( SELECT * FROM report_target_config
WHERE target_year = LEFT ( #{dataTime}, 4 ) AND depart_id = #{departId} LIMIT 1
) t on t.depart_id = d.id
WHERE
d.id = #{departId}
</select>
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!