92 lines
2.2 KiB
Java
92 lines
2.2 KiB
Java
package com.engine.salary.service;
|
|
|
|
import com.engine.salary.entity.taxapiflow.dto.TaxDeclarationApiFlowWarnReceiverFormDTO;
|
|
import com.engine.salary.entity.taxapiflow.dto.TaxDeclarationApiFlowWarnReceiverListDTO;
|
|
import com.engine.salary.entity.taxapiflow.param.CreateMessageRuleParam;
|
|
import com.engine.salary.entity.taxapiflow.param.TaxDeclarationApiFlowWarnConfigSaveParam;
|
|
import com.engine.salary.entity.taxapiflow.param.TaxDeclarationApiFlowWarnReceiverSaveParam;
|
|
import com.engine.salary.entity.taxapiflow.po.TaxDeclarationApiFlowWarnConfigPO;
|
|
import com.engine.salary.service.impl.TaxDeclarationApiBillingServiceImpl;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 流量不足提醒
|
|
* <p>Copyright: Copyright (c) 2023</p>
|
|
* <p>Company: 泛微软件</p>
|
|
*
|
|
* @author qiantao
|
|
* @version 1.0
|
|
**/
|
|
public interface TaxDeclarationApiFlowWarnService {
|
|
|
|
/**
|
|
* 获取流量不足提醒设置
|
|
*
|
|
* @param currentTenantKey
|
|
* @return
|
|
*/
|
|
TaxDeclarationApiFlowWarnConfigPO getWarnConfig(String currentTenantKey);
|
|
|
|
/**
|
|
* 获取流量不足提醒对象列表
|
|
*
|
|
* @param warnConfigId
|
|
* @return
|
|
*/
|
|
List<TaxDeclarationApiFlowWarnReceiverListDTO> getWarnReceiverList(Long warnConfigId);
|
|
|
|
/**
|
|
* 删除流量不足提醒对象
|
|
*
|
|
* @param id
|
|
*/
|
|
void deleteReceiver(Long id);
|
|
|
|
/**
|
|
* 获取提醒对象
|
|
*
|
|
* @param id
|
|
* @return
|
|
*/
|
|
TaxDeclarationApiFlowWarnReceiverFormDTO getWarnReceiverFormById(Long id);
|
|
|
|
/**
|
|
* 保存或编辑提醒对象
|
|
*
|
|
* @param param
|
|
*/
|
|
void saveWarnReceiver(TaxDeclarationApiFlowWarnReceiverSaveParam param);
|
|
|
|
/**
|
|
* 创建提醒规则
|
|
*
|
|
* @param param
|
|
*/
|
|
void createMessageRule(CreateMessageRuleParam param);
|
|
|
|
/**
|
|
* 保存流量不足提醒配置
|
|
*
|
|
* @param param
|
|
* @return
|
|
*/
|
|
String saveWarnConfig(TaxDeclarationApiFlowWarnConfigSaveParam param);
|
|
|
|
/**
|
|
* 获取推送规则的业务ID
|
|
*
|
|
* @param currentTenantKey
|
|
* @return
|
|
*/
|
|
Long getRuleBusinessId(String currentTenantKey);
|
|
|
|
/**
|
|
* 发送提醒
|
|
*
|
|
* @param updateWrapper
|
|
*/
|
|
void sendFlowWarnMessage(TaxDeclarationApiBillingServiceImpl.ApiFlowUpdateWrapper updateWrapper);
|
|
|
|
}
|