sandman511
V2EX  ›  问与答

Java 如何关联出用户的名字

  •  
  •   sandman511 · Aug 26, 2024 · 721 views
    This topic created in 642 days ago, the information mentioned may be changed or developed.
    业务表中存了多项关联数据的 id 展示列表的时候需要展示关联数据的中文标题,操作人的中文名等等
    应该在 sql 中 left join
    还是根据列表中的各项 id 组成各项 ids,去批量查 在 for 循环赋值?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2893 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 08:41 · PVG 16:41 · LAX 01:41 · JFK 04:41
    ♥ Do have faith in what you're doing.