sandman511
V2EX  ›  问与答

Java 如何关联出用户的名字

  •  
  •   sandman511 · Aug 26, 2024 · 758 views
    This topic created in 665 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   ·   5864 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 03:24 · PVG 11:24 · LAX 20:24 · JFK 23:24
    ♥ Do have faith in what you're doing.