apps创建唯一性调整
This commit is contained in:
1 parent
221b7c4f96
commit
410d777c0b
3 files changed
+23
-1
No files matched your search
@@ -15,6 +15,12 @@ import com.ruoyi.system.domain.AppsPlus;
|
||||
*/
|
||||
public interface AppsMapper extends BaseMapper<AppsPlus>
|
||||
{
|
||||
/** 锁定所属用户,串行化同一用户的应用创建。 */
|
||||
Long lockUserById(@Param("userId") Long userId);
|
||||
|
||||
/** 查询用户当前未删除的应用数量。 */
|
||||
int countActiveAppsByUserId(@Param("userId") Long userId);
|
||||
|
||||
int updatePublicKey(@Param("id") Long id, @Param("publicKey") String publicKey,
|
||||
@Param("updatedAt") java.util.Date updatedAt);
|
||||
|
||||
|
||||
Reference in new issue
Block a user