This commit is contained in:
van
2026-05-09 23:27:52 +08:00
parent 30ff4077fe
commit 7582d22d2a
6 changed files with 183 additions and 86 deletions

View File

@@ -1,6 +1,7 @@
package com.ruoyi.jarvis.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.jarvis.domain.TgScalperPhone;
/**
@@ -12,8 +13,8 @@ public interface TgScalperPhoneMapper
List<TgScalperPhone> selectTgScalperPhoneList(TgScalperPhone q);
/** 按手机号查(不限状态,供唯一性校验 */
TgScalperPhone selectTgScalperPhoneByPhone(String phone);
/** 某号码是否已被其它行占用JSON 数组含该号 */
Long selectIdHavingPhone(@Param("excludeId") Long excludeId, @Param("cellPhone") String cellPhone);
/** 启用状态下按手机号查(开/慢走前置) */
TgScalperPhone selectEnabledByPhone(String phone);