2023-08-15 20:48:09 +08:00
|
|
|
package com.engine.salary.wrapper;
|
|
|
|
|
|
|
|
|
|
import com.engine.common.util.ServiceUtil;
|
|
|
|
|
import com.engine.core.impl.Service;
|
|
|
|
|
import com.engine.salary.entity.salarysob.dto.SalarySobTaxReportRuleDTO;
|
|
|
|
|
import com.engine.salary.entity.salarysob.param.SalarySobTaxReportRuleSaveParam;
|
|
|
|
|
import com.engine.salary.service.SalarySobTaxReportRuleService;
|
|
|
|
|
import com.engine.salary.service.impl.SalarySobTaxReportRuleServiceImpl;
|
|
|
|
|
import weaver.hrm.User;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
2023-08-23 16:49:45 +08:00
|
|
|
* 薪资账套的个税申报表规则
|
|
|
|
|
* <p>Copyright: Copyright (c) 2023</p>
|
|
|
|
|
* <p>Company: 泛微软件</p>
|
|
|
|
|
*
|
|
|
|
|
* @author qiantao
|
|
|
|
|
* @version 1.0
|
|
|
|
|
**/
|
2023-08-15 20:48:09 +08:00
|
|
|
public class SalarySobTaxReportRuleWrapper extends Service {
|
|
|
|
|
|
|
|
|
|
private SalarySobTaxReportRuleService getSalarySobTaxReportRuleService(User user) {
|
|
|
|
|
return ServiceUtil.getService(SalarySobTaxReportRuleServiceImpl.class, user);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 薪资账套的个税申报表规则
|
|
|
|
|
*
|
|
|
|
|
* @param salarySobId
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public List<SalarySobTaxReportRuleDTO> getForm(Long salarySobId) {
|
|
|
|
|
return getSalarySobTaxReportRuleService(user).getSalarySobTaxReportRuleDTO(salarySobId);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 保存薪资账套的个税申报表规则
|
|
|
|
|
*
|
|
|
|
|
* @param saveParam
|
|
|
|
|
*/
|
|
|
|
|
public void save(SalarySobTaxReportRuleSaveParam saveParam) {
|
|
|
|
|
getSalarySobTaxReportRuleService(user).saveByParam(saveParam);
|
|
|
|
|
}
|
|
|
|
|
}
|