From c34fc83655b146b40802e1fce22db37b7367c83d Mon Sep 17 00:00:00 2001 From: Houjie <714924425@qq.com> Date: 星期一, 30 六月 2025 09:23:12 +0800 Subject: [PATCH] 企业微信登录 --- lxzn-module-mdc-common/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/lxzn-module-mdc-common/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml b/lxzn-module-mdc-common/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml index 66e6ef5..89873f7 100644 --- a/lxzn-module-mdc-common/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml +++ b/lxzn-module-mdc-common/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml @@ -108,6 +108,18 @@ <foreach collection="equipmentIds" index="index" item="id" open="(" separator="," close=")"> #{id} </foreach> + <if test="status !=null and status == 1"> + and t2.Oporation in ('1', '2') + </if> + <if test="status !=null and status == 2"> + and t2.Oporation = '3' + </if> + <if test="status !=null and status == 3"> + and t2.Oporation = '22' + </if> + <if test="status !=null and status == 4"> + and t2.Oporation not in ('1', '2', '3', '22') or t2.Oporation is null + </if> </select> <!--鏍规嵁閮ㄩ棬id鏌ヨ璁惧id闆嗗悎--> -- Gitblit v1.9.3