From d629434b0c626644dcbfbdef2d5f4006ed693a9a Mon Sep 17 00:00:00 2001 From: “linengliang” <vanSuperEnergy@163.com> Date: 星期四, 16 十一月 2023 18:52:54 +0800 Subject: [PATCH] 维修完成12小时自动验收 --- lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/RepairOrderMapper.xml | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/RepairOrderMapper.xml b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/RepairOrderMapper.xml index dd580f2..fd9b49c 100644 --- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/RepairOrderMapper.xml +++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/RepairOrderMapper.xml @@ -53,6 +53,12 @@ <if test="num != null and num != ''"> and t1.num like concat('%',#{num},'%') </if> + <if test="equipNums.size!=0"> + and t2.num in + <foreach collection="equipNums" open="(" separator="," close=")" item="num"> + #{num} + </foreach> + </if> <if test="equipmentNum != null and equipmentNum != ''"> and t2.num like concat('%',#{equipmentNum},'%') </if> @@ -62,6 +68,18 @@ <if test="status != null and status != ''"> and t1.status = #{status} </if> + <if test="equipmentCategoryId != null and equipmentCategoryId != ''"> + and t2.equipment_category_id = #{equipmentCategoryId} + </if> + <if test="factoryModelId != null and factoryModelId != ''"> + and t2.factory_model_id = #{factoryModelId} + </if> + <if test="specificEquipment != null and specificEquipment != ''"> + and t2.specific_equipment = #{specificEquipment} + </if> + <if test="teamId != null and teamId != ''"> + and t1.team_id = #{teamId} + </if> and t1.repair_order_type = #{repairOrderType} order by t1.create_time desc </select> -- Gitblit v1.9.3