From e748d7c052c9b06f2a2ffe5dbc1cb21babfdbdb4 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 05 七月 2024 10:09:07 +0800
Subject: [PATCH] 添加右键菜单相关语言,对应界面添加客户名称字段,配置标签打印按钮和打印类型下拉框

---
 north-glass-erp/src/main/resources/mapper/userInfo/UserRoleMapper.xml |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/north-glass-erp/src/main/resources/mapper/userInfo/UserRoleMapper.xml b/north-glass-erp/src/main/resources/mapper/userInfo/UserRoleMapper.xml
new file mode 100644
index 0000000..0403642
--- /dev/null
+++ b/north-glass-erp/src/main/resources/mapper/userInfo/UserRoleMapper.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.example.erp.mapper.userInfo.UserRoleMapper">
+    <select id="getUserIsAdmin">
+        SELECT count(*)
+        FROM user_role
+        where
+            user_id = #{id}
+        and
+            role_id = 1
+    </select>
+</mapper>
\ No newline at end of file

--
Gitblit v1.8.0