Browse Source

部分修改

ZHOUTD 1 year ago
parent
commit
5886c58143
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/main/resources/mapper/base/User.xml

+ 8 - 0
src/main/resources/mapper/base/User.xml

@@ -11,6 +11,14 @@
 		</where>
 		</where>
 	</select>
 	</select>
 
 
+	<select id="getPassword" resultType="string" parameterType="string">
+		select password
+		from sys_user
+		where
+			id=#{id}
+	</select>
+
+
 	<select id="checkForName" resultType="int" parameterType="am.lodge.platform.model.User">
 	<select id="checkForName" resultType="int" parameterType="am.lodge.platform.model.User">
 		SELECT
 		SELECT
 		COUNT(0)
 		COUNT(0)