|
@@ -68,9 +68,12 @@
|
|
|
WHERE t1.delete_mark = 0 AND t1.textbook_id = #{id} order by t1.sort_code
|
|
WHERE t1.delete_mark = 0 AND t1.textbook_id = #{id} order by t1.sort_code
|
|
|
</select>
|
|
</select>
|
|
|
<select id="issueList" resultType="com.xjrsoft.module.textbook.vo.TextbookIssueRecordListVo">
|
|
<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 FROM textbook_issue_record t1
|
|
|
|
|
|
|
+ SELECT t1.create_date AS issue_date,t2.name AS issue_user,t1.issue_number,t6.name AS issue_mode,t1.remark FROM textbook_issue_record t1
|
|
|
LEFT JOIN xjr_user t2 ON t1.create_user_id = t2.id
|
|
LEFT JOIN xjr_user t2 ON t1.create_user_id = t2.id
|
|
|
LEFT JOIN wf_textbook_claim_item t3 ON t1.wf_textbook_claim_item_id = t3.id
|
|
LEFT JOIN wf_textbook_claim_item t3 ON t1.wf_textbook_claim_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
|
|
|
WHERE t1.delete_mark = 0 AND t3.textbook_id = #{id} ORDER BY t1.sort_code;
|
|
WHERE t1.delete_mark = 0 AND t3.textbook_id = #{id} ORDER BY t1.sort_code;
|
|
|
</select>
|
|
</select>
|
|
|
<select id="claimList" resultType="com.xjrsoft.module.textbook.vo.WfTextbookClaimListVo">
|
|
<select id="claimList" resultType="com.xjrsoft.module.textbook.vo.WfTextbookClaimListVo">
|