From 8c945d42c6610abd9ef17bc153114024175bec2a Mon Sep 17 00:00:00 2001 From: houshuai <17802598606@163.com> Date: 星期四, 03 七月 2025 19:43:12 +0800 Subject: [PATCH] 线边库和订单 基本搭建 --- src/main/java/org/jeecg/modules/qms/mapper/xml/InspectionItemMapper.xml | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/src/main/java/org/jeecg/modules/qms/mapper/xml/InspectionItemMapper.xml b/src/main/java/org/jeecg/modules/qms/mapper/xml/InspectionItemMapper.xml index 3d0f356..bf9049b 100644 --- a/src/main/java/org/jeecg/modules/qms/mapper/xml/InspectionItemMapper.xml +++ b/src/main/java/org/jeecg/modules/qms/mapper/xml/InspectionItemMapper.xml @@ -2,4 +2,24 @@ <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="org.jeecg.modules.qms.mapper.InspectionItemMapper"> + + <select id="queryList" resultType="map" parameterType="String"> + SELECT + t1.id, + t1.item_code itemCode, + t1.item_name itemName, + t1.item_category itemCategory, + t1.qualitative_or_quantitative qualitativeOrQuantitative, + t1.inspection_tools inspectionTools, + t1.item_status itemStatus, + t1.create_time createTime, + t2.item_text itemCategoryName, + t3.item_text qualitativeOrQuantitativeName, + t1.remark + FROM + qms_inspection_item t1 + LEFT JOIN ( SELECT * FROM v_sys_dict WHERE dict_code = 'item_category' ) t2 ON t2.item_value = t1.item_category + left join ( SELECT * FROM v_sys_dict WHERE dict_code = 'qualitative_or_quantitative' ) t3 on t3.item_value = t1.qualitative_or_quantitative + ${ew.customSqlSegment} + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3