From 5d4112fa1bbd47dc6e7b9c0d239e34b020776924 Mon Sep 17 00:00:00 2001 From: hyingbo <1363390067@qq.com> Date: 星期五, 30 五月 2025 17:39:15 +0800 Subject: [PATCH] 添加文件上传下载功能 --- lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/DailyMaintenanceOrderMapper.xml | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/DailyMaintenanceOrderMapper.xml b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/DailyMaintenanceOrderMapper.xml index c12f8ec..928009c 100644 --- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/DailyMaintenanceOrderMapper.xml +++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/DailyMaintenanceOrderMapper.xml @@ -127,6 +127,21 @@ <if test="params.finishEndTime != null"> and t1.actual_end_time <= #{params.finishEndTime} </if> + <if test="params.workCenterIds != null"> + and t3.work_center_id in + <foreach collection="params.workCenterIds" open="(" separator="," close=")" item="workCenterId"> + #{workCenterId} + </foreach> + </if> + <if test="params.equipmentId != null"> + and t1.equipment_id = #{params.equipmentId} + </if> + <if test="params.statusEnums != null"> + and t1.status not in + <foreach collection="params.statusEnums" open="(" separator="," close=")" item="statusEnum"> + #{statusEnum} + </foreach> + </if> ORDER BY t1.create_time desc </select> @@ -220,6 +235,21 @@ <if test="params.finishEndTime != null"> and t1.actual_end_time <= #{params.finishEndTime} </if> + <if test="params.workCenterIds != null"> + and t3.work_center_id in + <foreach collection="params.workCenterIds" open="(" separator="," close=")" item="workCenterId"> + #{workCenterId} + </foreach> + </if> + <if test="params.equipmentId != null"> + and t1.equipment_id = #{params.equipmentId} + </if> + <if test="params.statusEnums != null"> + and t1.status not in + <foreach collection="params.statusEnums" open="(" separator="," close=")" item="statusEnum"> + #{statusEnum} + </foreach> + </if> ORDER BY t1.create_time desc </select> -- Gitblit v1.9.3