【发布时间】:2022-01-25 18:19:36
【问题描述】:
在此图中,其余表链接到 datainfo 表。我需要从 datainfo 表中检索整个表数据。 In this picture I have shown the tables themselves
-
这个链接帮了我谢谢,但是我如何确定同一天的总金额?
在此图中,其余表链接到 datainfo 表。我需要从 datainfo 表中检索整个表数据。 In this picture I have shown the tables themselves
使用 laravel eloquent join 子句, https://laravel.com/docs/8.x/queries#joins 当天总金额 您可以根据日期使用 eloquent sum 和 group by 方法