| | |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="org.jeecg.modules.eam.mapper.EamSparePartRequisitionMapper"> |
| | | |
| | | <select id="getSparePartRequisitionDetailList" resultType="Map"> |
| | | SELECT |
| | | t2.id, |
| | | t2.part_code AS partCode, |
| | | t2.part_name as partName, |
| | | t2.part_model as partModel, |
| | | t2.part_specification as partSpecification, |
| | | t3.item_text as partCategory, |
| | | t1.requisition_num as quantity |
| | | FROM |
| | | eam_spare_part_requisition_detail t1 |
| | | LEFT JOIN eam_spare_parts t2 ON t1.part_id = t2.id |
| | | LEFT JOIN ( SELECT * FROM v_sys_dict WHERE dict_code = 'spare_part_category' ) t3 ON t3.item_value = t2.part_category |
| | | ${ew.customSqlSegment} |
| | | </select> |
| | | </mapper> |