From bf23d66c841f7bc7de098a93b9a61fffe04d9cfb Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期三, 28 二月 2024 18:41:13 +0800
Subject: [PATCH] 提交右键菜单以及拖拉选中功能
---
north-glass-erp/src/main/resources/mapper/userInfo/User.xml | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/north-glass-erp/src/main/resources/mapper/userInfo/User.xml b/north-glass-erp/src/main/resources/mapper/userInfo/User.xml
new file mode 100644
index 0000000..2b37493
--- /dev/null
+++ b/north-glass-erp/src/main/resources/mapper/userInfo/User.xml
@@ -0,0 +1,30 @@
+<?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.UserMapper">
+ <select id="findAll">
+ SELECT *
+ FROM erp_user_info.user
+ </select>
+
+ <select id="findOne" >
+ SELECT *
+ FROM erp_user_info.user
+ where id=#{id}
+ </select>
+
+ <select id="findOneLoginName" >
+ SELECT *
+ FROM erp_user_info.user
+ where login_name=#{LoginName}
+ </select>
+
+ <insert id="register" useGeneratedKeys="true" keyProperty="id">
+ insert erp_user_info.user
+ (password,user_name)
+ values (
+ #{passWord} ,#{userName}
+ )
+ </insert>
+</mapper>
\ No newline at end of file
--
Gitblit v1.8.0