From 5d73eadd31ee11766818bbce0ff625a98a9ad9f2 Mon Sep 17 00:00:00 2001 From: houshuai <17802598606@163.com> Date: 星期四, 10 七月 2025 14:54:20 +0800 Subject: [PATCH] 生产管控模块 基本搭建3 --- src/main/java/org/jeecg/modules/mes/mapper/xml/MesMaterialLoadingMapper.xml | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/main/java/org/jeecg/modules/mes/mapper/xml/MesMaterialLoadingMapper.xml b/src/main/java/org/jeecg/modules/mes/mapper/xml/MesMaterialLoadingMapper.xml index 52eb013..d7018e6 100644 --- a/src/main/java/org/jeecg/modules/mes/mapper/xml/MesMaterialLoadingMapper.xml +++ b/src/main/java/org/jeecg/modules/mes/mapper/xml/MesMaterialLoadingMapper.xml @@ -1,5 +1,14 @@ <?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="org.jeecg.modules.mes.mapper.MesMaterialLoadingMapper"> - + <select id="queryUnloadingByLoadingId" resultType="org.jeecg.modules.mes.entity.MesMaterialUnloading"> + select * from mes_material_unloading where loading_id = #{loadingId} and del_flag = 0 + </select> + <select id="queryLoadingByWorkOrderId" resultType="org.jeecg.modules.mes.entity.MesMaterialLoading"> + select mml.* ,mpwo.work_order_code as workOrderCode + from mes_material_loading mml + left join mes_production_work_order mpwo on mml.work_order_id = mpwo.id + where mml.work_order_id = #{workOrderId} + and mml.del_flag = 0 + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3