puzhibing
4 天以前 a0e03b646f2c444b0f09687d24e9995112b99017
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.ruoyi.other.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.other.api.domain.TBalanceWarningRecord;
 
/**
 * <p>
 * 公司余额预警短信提醒记录 服务类
 * </p>
 *
 * @author mxcd
 * @since 2026-10-10
 */
public interface TBalanceWarningRecordService extends IService<TBalanceWarningRecord> {
 
    /**
     * 今日是否已提醒过(按天去重:公司 + 预警范围 + 子账户标识 + 当天日期)
     *
     * @param companyId     公司ID
     * @param warnScope     预警范围(1=公司账户,2=VIN码,3=刷卡卡,4=白名单用户)
     * @param subIdentifier 子账户标识(公司级传空串)
     * @return 今日已提醒返回 true
     */
    boolean isNotifiedToday(Integer companyId, Integer warnScope, String subIdentifier);
 
}