From a8ddac646d5129e9818ea82f404d0c0a8d2bc239 Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期四, 09 十一月 2023 10:39:25 +0800 Subject: [PATCH] 设备参数阈值管理接口 --- lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EquipmentMaintenancePlanMapper.xml | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EquipmentMaintenancePlanMapper.xml b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EquipmentMaintenancePlanMapper.xml index a3d86a5..61b1f95 100644 --- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EquipmentMaintenancePlanMapper.xml +++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EquipmentMaintenancePlanMapper.xml @@ -1,5 +1,16 @@ <?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.eam.mapper.EquipmentMaintenancePlanMapper"> + <select id="getCycle" resultType="org.jeecg.modules.eam.entity.MaintenanceStandardDetail"> + select + t1.id id, + t1.maintenance_project_id maintenanceProjectId, + t2.id maintenanceCycleId + from mom_eam_maintenance_standard_detail t1 + left join mom_eam_maintenance_cycle t2 on t2.id = t1.maintenance_cycle_id + where t1.maintenance_standard_id = #{mainId} + and t2.maintenance_type = #{type} + and t1.del_flag = 0 + </select> </mapper> -- Gitblit v1.9.3