REM:
1. 修改用户认证的SQL语句
This commit is contained in:
chenlinghy 2020-08-05 14:49:35 +08:00
parent 76978651d9
commit 403e88c4b8
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
<select id="addUserAccount" resultMap="user_account">
INSERT INTO user_account(username, password, operators, status)
SELECT #{username}, #{password}, #{operators}, ${@com.dispose.common.ObjectStatus@NORMAL.getCode()}
SELECT #{username}, #{password}, #{operators}, ${@com.dispose.common.ObjectStatus@NORMAL.getValue()}
FROM DUAL
WHERE NOT EXISTS(
SELECT username