|
@@ -121,9 +121,10 @@
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="warehouseList" resultType="com.xjrsoft.module.textbook.vo.TextbookWarehouseRecordListVo">
|
|
<select id="warehouseList" resultType="com.xjrsoft.module.textbook.vo.TextbookWarehouseRecordListVo">
|
|
- SELECT t1.create_date AS warehouse_date, t2.name AS warehouse_user, t1.warehouse_number, t1.source
|
|
|
|
|
|
+ SELECT t1.create_date AS warehouse_date, t2.name AS warehouse_user, t1.warehouse_number, t3.name as source
|
|
FROM textbook_warehouse_record t1
|
|
FROM textbook_warehouse_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 xjr_dictionary_detail t3 ON t1.source = t2.code and item_id = 1739821114335490050
|
|
WHERE t1.delete_mark = 0
|
|
WHERE t1.delete_mark = 0
|
|
AND t1.textbook_id = #{id}
|
|
AND t1.textbook_id = #{id}
|
|
order by t1.sort_code
|
|
order by t1.sort_code
|