var begin_daily = from a in _postgreDbContext.tab1
                                      join b in _postgreDbContext.tab2 on a.id equals b.merchant_id into a_left
                                      from  left_a in a_left.DefaultIfEmpty()
                                      where left_a.date.ToString("yyyy-MM-dd") == begin_date
                                      select new {
                                        left_a.id,
                                        left_a.balance,
                                        left_a.service_balance,
                                        left_a.paid_money
                                      };

 

相关文章:

  • 2022-01-16
  • 2022-12-23
  • 2022-02-04
  • 2021-10-03
  • 2021-08-16
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-30
  • 2022-12-23
  • 2021-12-30
  • 2022-02-02
  • 2021-12-30
相关资源
相似解决方案