|
@@ -14,7 +14,7 @@
|
|
|
LEFT JOIN base_class c2 ON c1.class_id = c2.id
|
|
|
WHERE c1.textbook_id = t1.id) AS use_class,
|
|
|
t6.name AS use_grade,t1.version,
|
|
|
- t1.use_type,t1.publishing_date,t1.is_secd,t1.category,t1.plan_batch,t1.work_total_count,t1.textbook_category
|
|
|
+ t1.use_type,t1.publishing_date,t1.is_secd,t1.category,t1.plan_batch,t1.work_total_count,t8.name as textbook_category
|
|
|
FROM textbook t1
|
|
|
LEFT JOIN subject_group t2 ON t1.subject_group_id = t2.id
|
|
|
LEFT JOIN base_semester t3 ON t1.base_semester_id = t3.id
|
|
@@ -22,6 +22,7 @@
|
|
|
LEFT JOIN xjr_dictionary_detail t5 ON t1.textbook_type = t5.code AND t5.item_id = 1739209191193636865
|
|
|
LEFT JOIN base_grade t6 ON t1.grade_id = t6.id
|
|
|
LEFT JOIN xjr_dictionary_detail t7 ON t1.is_textbook_plan = t7.code AND t7.item_id = 1737360269850038273
|
|
|
+ LEFT JOIN xjr_dictionary_detail t8 ON t1.textbook_category = t8.code
|
|
|
WHERE t1.delete_mark = 0
|
|
|
<if test="dto.textbookType != null and dto.textbookType != ''">
|
|
|
and t1.textbook_type = #{dto.textbookType}
|