Quellcode durchsuchen

!7 fix: system为高版本mysql关键字
Merge pull request !7 from Kuroneko/N/A

孔明 vor 2 Jahren
Ursprung
Commit
7965a60744

+ 1 - 1
sp-server/src/main/java/com/pj/project4sp/admin4login/SpAdminLoginMapper.xml

@@ -5,7 +5,7 @@
 	<!-- 增 -->
 	<insert id="add">
 		insert into 
-		sp_admin_login (id, acc_id, acc_token, login_ip, address, device, system, create_time) 
+		sp_admin_login (id, acc_id, acc_token, login_ip, address, device, `system`, create_time) 
 		values (0, #{accId}, #{accToken}, #{loginIp}, #{address}, #{device}, #{system}, now()) 
 	</insert>