From 115c5ebd7b020eda6185b92b2eb84377a2a6ea7a Mon Sep 17 00:00:00 2001
From: liuxm <liuxm@fescotech.com>
Date: 星期一, 29 四月 2024 14:18:40 +0800
Subject: [PATCH] 角色查询修改
---
pms-parent/pms-global/src/main/resources/mapper/BaRoleMapper.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/pms-parent/pms-global/src/main/resources/mapper/BaRoleMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/BaRoleMapper.xml
index 8404420..8a99862 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/BaRoleMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/BaRoleMapper.xml
@@ -132,6 +132,12 @@
<if test="name != null and name != ''">
r.name like concat('%', #{name}, '%') and
</if>
+ <if test="disabled != null and disabled != ''">
+ r.disabled =#{disabled,jdbcType=BOOLEAN} and
+ </if>
+ <if test="dt != null and dt != ''">
+ DATE_FORMAT(r.dt, '%Y-%m-%d') = #{dt,jdbcType=TIMESTAMP} and
+ </if>
</trim>
</select>
--
Gitblit v1.8.0