SnowFlakeId Generator

This commit is contained in:
MaxKey
2021-04-17 17:02:38 +08:00
parent c47e5f2009
commit b96db810f8
38 changed files with 369 additions and 45 deletions

View File

@@ -37,7 +37,7 @@ public interface AppsMapper extends IJpaBaseMapper<Apps> {
public int updateApp(Apps app);
@Update("UPDATE MXK_APPS SET ISEXTENDATTR=#{isExtendAttr}, EXTENDATTR=#{extendAttr} WHERE id = #{id}")
@Update("update mxk_apps set isextendattr=#{isExtendAttr}, extendattr=#{extendAttr} where id = #{id}")
public int updateExtendAttr(Apps app);

View File

@@ -60,7 +60,7 @@ public interface UserInfoMapper extends IJpaBaseMapper<UserInfo>{
public int updateProfile(UserInfo userInfo);
@Select("SELECT * FROM MXK_USERINFO WHERE EMAIL = #{value} OR MOBILE= #{value}")
@Select("select * from mxk_userinfo where email = #{value} or mobile= #{value}")
public UserInfo queryUserInfoByEmailMobile(String emailMobile);
}