<insert id="insertAccount" parameterClass="java.util.Map">
insert into usersrcaccount
(
USER_ID,
SOURCETYPE,
ACCOUNT,
PASSWORD
)
values
(
#userId#,
#sourceType#,
#account#,
#password#
)
<selectKey resultClass="java.lang.Long" keyProperty="id" >
SELECT @@IDENTITY AS id
</selectKey>
</insert>