lanan-system/dl-module-repair/src/main/resources/mapper/tickets/DlRepairTitemMapper.xml

40 lines
1.3 KiB
XML
Raw Normal View History

2024-09-13 18:25:51 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="cn.iocoder.yudao.module.tickets.mapper.DlRepairTitemMapper">
2024-09-21 20:43:21 +08:00
<select id="getTItemPage" resultType="cn.iocoder.yudao.module.tickets.vo.DlRepairTitemRespVO">
SELECT drti.id,
drti.ticket_id,
drti.item_name,
drti.item_count,
drti.item_unit,
drti.item_price,
drti.item_discount,
drti.item_money,
drti.repair_id,
drti.repair_name,
drti.sale_id,
drti.sale_name,
drti.item_type,
drti.project_id,
drti.part_id,
drti.other_id,
drti.item_type_id,
drti.item_status,
drti.remark,
drti.tenant_id,
drti.deleted,
drti.creator,
drti.create_time,
drti.updater,
drti.update_time,
drt.car_no,
drt.user_name,
drt.user_mobile,
drt.ticket_no
FROM dl_repair_titem drti
LEFT JOIN dl_repair_tickets drt ON drti.ticket_id = drt.id
</select>
2024-09-13 18:25:51 +08:00
</mapper>