From eeebc22772cbf7dc03ed4bc6f734e6de9f5c3e75 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期三, 06 八月 2025 10:55:56 +0800 Subject: [PATCH] art: 订单BOM、物料工序 后端代码修改、优化 --- src/main/java/org/jeecg/modules/mes/mapper/xml/MesProductionOrderMapper.xml | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/main/java/org/jeecg/modules/mes/mapper/xml/MesProductionOrderMapper.xml b/src/main/java/org/jeecg/modules/mes/mapper/xml/MesProductionOrderMapper.xml index c026a36..c7ef219 100644 --- a/src/main/java/org/jeecg/modules/mes/mapper/xml/MesProductionOrderMapper.xml +++ b/src/main/java/org/jeecg/modules/mes/mapper/xml/MesProductionOrderMapper.xml @@ -2,4 +2,11 @@ <!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.MesProductionOrderMapper"> + <select id="getLastSyncCreateDate" resultType="java.lang.String"> + select MAX(order_create_date) from mes_production_order + </select> + + <select id="getLastSyncUpdateDate" resultType="java.lang.String"> + select MAX(order_update_date) from mes_production_order + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3