达梦适配修改

This commit is contained in:
王奎兴
2025-12-05 10:47:46 +08:00
parent 5005f4291f
commit 32f12bb138
49 changed files with 254 additions and 209 deletions
@@ -10,7 +10,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
a.user_id,
a.role_id
FROM
`user_role` a
user_role a
</sql>
<select id="userRoleMenuList" resultType="com.mhd.common.core.domain.po.UserRoleMenuPO">
SELECT
@@ -40,7 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="deleteByUserId" parameterType="java.lang.Long" >
DELETE
FROM
`user_role` a
user_role a
WHERE
a.del_flag = 1
and a.user_id = #{userId}
@@ -73,7 +73,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="getUserIdByRoleCode" resultType="java.lang.Long">
select
u.user_id
from user u
from "USER" u
left join user_role ur on u.user_id = ur.user_id and ur.del_flag = 1
left join role r on r.role_id = ur.role_id and r.del_flag = 1
<where>