From fdba1595d89d44ced189890c7bc7c918209d4c6d Mon Sep 17 00:00:00 2001 From: lixiangyu <lixiangyu@xalxzn.com> Date: 星期四, 21 八月 2025 18:00:32 +0800 Subject: [PATCH] feat(cms): 实现刀具入库单提交功能并优化 Excel导入逻辑 --- src/main/java/org/jeecg/modules/mes/mapper/xml/MesProductionWorkOrderMapper.xml | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/main/java/org/jeecg/modules/mes/mapper/xml/MesProductionWorkOrderMapper.xml b/src/main/java/org/jeecg/modules/mes/mapper/xml/MesProductionWorkOrderMapper.xml index 82f9149..7fc05d7 100644 --- a/src/main/java/org/jeecg/modules/mes/mapper/xml/MesProductionWorkOrderMapper.xml +++ b/src/main/java/org/jeecg/modules/mes/mapper/xml/MesProductionWorkOrderMapper.xml @@ -2,4 +2,14 @@ <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="org.jeecg.modules.mes.mapper.MesProductionWorkOrderMapper"> + <select id="queryPageList" resultType="org.jeecg.modules.mes.entity.MesProductionWorkOrder"> + SELECT + t1.*, + t2.factory_code factoryCode, + t3.shift_code shiftCode + FROM mes_production_work_order t1 + LEFT JOIN base_factory t2 ON t1.factory_id = t2.id + LEFT JOIN base_shift t3 ON t1.shift_id = t3.id + ${ew.customSqlSegment} + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3