parent
76978651d9
commit
403e88c4b8
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
<select id="addUserAccount" resultMap="user_account">
|
<select id="addUserAccount" resultMap="user_account">
|
||||||
INSERT INTO user_account(username, password, operators, status)
|
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
|
FROM DUAL
|
||||||
WHERE NOT EXISTS(
|
WHERE NOT EXISTS(
|
||||||
SELECT username
|
SELECT username
|
||||||
|
|
Loading…
Reference in New Issue