diff --git a/src/main/java/com/phy/ebuy/dao/mapping/Ebuymapper.xml b/src/main/java/com/phy/ebuy/dao/mapping/Ebuymapper.xml index 43c1474..561ddf7 100644 --- a/src/main/java/com/phy/ebuy/dao/mapping/Ebuymapper.xml +++ b/src/main/java/com/phy/ebuy/dao/mapping/Ebuymapper.xml @@ -4,8 +4,29 @@ + + + INSERT INTO ebuy_user + VALUES + ( + ( SELECT RIGHT ( RAND( ), 16 ) ), + #{userName}, + #{passWord}, + '', + '', + '', + #{mobile}, + '', + '00', + now( ), + '', + '00', + '0', + ( SELECT RIGHT ( RAND( ), 16 ) ) + ); + \ No newline at end of file