From c3d68f210192e2ec5bd06e4d21ede0bd8305fd63 Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期三, 19 六月 2024 17:31:03 +0800
Subject: [PATCH] change table name
---
pms-parent/pms-global/src/main/resources/mapper/BaRoleMapper.xml | 11 +++++++++--
1 files changed, 9 insertions(+), 2 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 d3fb7b3..59557e2 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/BaRoleMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/BaRoleMapper.xml
@@ -117,10 +117,10 @@
where id = #{id}
</update>
- <delete id="deleteLogicById" parameterType="java.lang.Long">
+ <update id="deleteLogicById" parameterType="java.lang.Long">
update ba_role set deleted = 1
where id = #{id}
- </delete>
+ </update>
<select id="selectSomeCount" resultType="java.lang.Long">
select
@@ -167,4 +167,11 @@
</if>
</trim>
</select>
+ <select id="selectAll" resultType="com.dy.pmsGlobal.pojoBa.BaRole">
+ select
+ <include refid="Base_Column_List" />
+ from ba_role
+ where deleted != 1 and disabled !=1
+ </select>
+
</mapper>
\ No newline at end of file
--
Gitblit v1.8.0