更新
This commit is contained in:
parent
327d8794a0
commit
ef684c0e9f
@ -8,4 +8,25 @@
|
|||||||
or (mobile = #{userName} and pass_word = #{passWord})
|
or (mobile = #{userName} and pass_word = #{passWord})
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<!--注册提交-->
|
||||||
|
<insert id="registerSub" parameterType="map">
|
||||||
|
INSERT INTO ebuy_user
|
||||||
|
VALUES
|
||||||
|
(
|
||||||
|
( SELECT RIGHT ( RAND( ), 16 ) ),
|
||||||
|
#{userName},
|
||||||
|
#{passWord},
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
#{mobile},
|
||||||
|
'',
|
||||||
|
'00',
|
||||||
|
now( ),
|
||||||
|
'',
|
||||||
|
'00',
|
||||||
|
'0',
|
||||||
|
( SELECT RIGHT ( RAND( ), 16 ) )
|
||||||
|
);
|
||||||
|
</insert>
|
||||||
</mapper>
|
</mapper>
|
Loading…
Reference in New Issue
Block a user