大数据与最优化研究所 5 місяців тому
батько
коміт
5e45a76c73

+ 1 - 1
src/main/resources/mapper/textbook/TextbookMapper.xml

@@ -124,7 +124,7 @@
         SELECT t1.create_date AS warehouse_date, t2.name AS warehouse_user, t1.warehouse_number, t3.name as source
         FROM textbook_warehouse_record t1
                  LEFT JOIN xjr_user t2 ON t1.create_user_id = t2.id
-                 LEFT JOIN xjr_dictionary_detail t3 ON t1.source = t2.code and item_id = 1739821114335490050
+                 LEFT JOIN xjr_dictionary_detail t3 ON t1.source = t3.code and item_id = 1739821114335490050
         WHERE t1.delete_mark = 0
           AND t1.textbook_id = #{id}
         order by t1.sort_code