c937ee54 张雷

项目禅道BUG修改

1 个父辈 bca406ee
...@@ -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>
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!