45 lines
968 B
Java
45 lines
968 B
Java
|
|
package com.engine.salary.service;
|
||
|
|
|
||
|
|
import com.engine.salary.entity.taxapiflow.param.TaxDeclarationBillingConfigSaveParam;
|
||
|
|
import com.engine.salary.entity.taxdeclaration.po.TaxDeclarationApiConfigPO;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 个税申报api配置service
|
||
|
|
*
|
||
|
|
* @author chengliming
|
||
|
|
* @date 2022-11-09 10:09:22
|
||
|
|
*/
|
||
|
|
public interface TaxDeclarationApiConfigService {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 根据服务厂商获取配置
|
||
|
|
*
|
||
|
|
* @param needExist 是否要检验存在
|
||
|
|
* @return
|
||
|
|
*/
|
||
|
|
TaxDeclarationApiConfigPO getConfig( boolean needExist);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 保存
|
||
|
|
*
|
||
|
|
* @param config
|
||
|
|
*/
|
||
|
|
void insert(TaxDeclarationApiConfigPO config);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 更新
|
||
|
|
*
|
||
|
|
* @param config
|
||
|
|
*/
|
||
|
|
void update(TaxDeclarationApiConfigPO config);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 修改开关状态
|
||
|
|
*
|
||
|
|
* @param saveParam
|
||
|
|
*/
|
||
|
|
void enableConfig(TaxDeclarationBillingConfigSaveParam saveParam);
|
||
|
|
|
||
|
|
void saveConfig(TaxDeclarationBillingConfigSaveParam saveParam);
|
||
|
|
}
|