項目——經過自動回覆機器人學Mybatis(六)

一對多關係的配置 若是每次輸入某個指令,機器人回覆的都是同一內容那就太尷尬了 原先數據庫只有一張表Message,由於出現了一對多關係,現將其拆分紅command表和command_content表 command表{id,name,description} command_content表{id,content,command_id} CommandContent.xml:html <mappe
相關文章
相關標籤/搜索