Commit bf18f815 authored by zw's avatar zw

bug

parent 05b0bdc4
......@@ -888,7 +888,7 @@ class OReportModel extends Model
FROM
`o_report` `a`
LEFT JOIN `o_order` `b` ON `b`.`f_id` = `a`.`id`
LEFT JOIN `o_march_in` `c` ON `c`.`report_id` = `b`.`id`
LEFT JOIN `o_march_in` `c` ON `c`.`report_id` = `a`.`id`
LEFT JOIN `g_houses` `d` ON `d`.`id` = `b`.`house_id`
WHERE
`a`.`user_id` = $user_id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment