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>
 	</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
 		COUNT(0)