yangwa
V2EX  ›  问与答

问一下各位大佬,问一下表结构设计,发票通过 ocr 识别后如何存储

  •  
  •   yangwa · Apr 8, 2022 · 2118 views
    This topic created in 1545 days ago, the information mentioned may be changed or developed.

    各种发票字段都不一样,像火车票字段和增值税发票相差很大,是每种发票都建一个表吗?

    3 replies    2022-04-08 17:51:27 +08:00
    herich
        1
    herich  
       Apr 8, 2022
    存 json
    yangwa
        2
    yangwa  
    OP
       Apr 8, 2022
    @herich 用的 oracle11g,好像没有 json 支持,需要查询怎么实现
    ldyisbest
        3
    ldyisbest  
       Apr 8, 2022
    不需要查询发票里面的内容的话就搞一列,存 json 字符串
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5496 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 01:31 · PVG 09:31 · LAX 18:31 · JFK 21:31
    ♥ Do have faith in what you're doing.