Browse Source

教材管理-详情-出库记录,增加去处

dzx 1 year ago
parent
commit
6ad3cae19c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/resources/mapper/textbook/TextbookMapper.xml

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

@@ -129,13 +129,14 @@
         order by t1.sort_code
     </select>
     <select id="issueList" resultType="com.xjrsoft.module.textbook.vo.TextbookIssueRecordListVo">
-        SELECT t1.create_date AS issue_date, t2.name AS issue_user, t1.issue_number, t6.name AS issue_mode,t1.remark
+        SELECT t1.create_date AS issue_date, t2.name AS issue_user, t1.issue_number, t6.name AS issue_mode,t7.name as remark
         FROM textbook_issue_record t1
                  LEFT JOIN xjr_user t2 ON t1.create_user_id = t2.id
                  LEFT JOIN wf_textbook_claim_item t3 ON t1.data_item_id = t3.id
                  LEFT JOIN wf_textbook_recede_item t4 ON t3.textbook_id = t4.textbook_id
                  LEFT JOIN wf_textbook_recede t5 ON t5.id = t4.wf_textbook_recede_id
                  LEFT JOIN xjr_dictionary_detail t6 ON t6.code = t1.issue_mode AND t6.item_id = 1739821685805215745
+        left join xjr_user t7 on t1.issue_user_id = t7.id
         WHERE t1.delete_mark = 0
           AND t3.textbook_id = #{id}
         ORDER BY t1.sort_code;