优化工单导出

This commit is contained in:
zc
2026-04-16 13:45:13 +08:00
parent f88d4d8fe7
commit e1a9fba2ca
7 changed files with 192 additions and 19 deletions

View File

@@ -26,4 +26,19 @@
where wi.work_order_id = #{id}
</select>
<select id="selectExport" resultType="top.wms.admin.weighManage.model.resp.WorkOrderResp">
select
w.*,
m.material_name,
m.encoding,
m.photo_url,
m.unit_weight,
u.card_no,
u.username createUserString
from sys_work_order w
left join sys_material_info m on w.material_id = m.id
left join sys_user u on w.create_user = u.id
${ew.customSqlSegment}
</select>
</mapper>