This commit is contained in:
钱涛 2023-08-24 11:36:17 +08:00
parent 2f2727c4b9
commit 45e69cd6c8
53 changed files with 276 additions and 170 deletions

View File

@ -1,3 +1,6 @@
alter table hrsa_tax_agent_tax_return add city_name varchar2(400);
/
update hrsa_salary_sob_default_item set delete_type=1 where sys_salary_item_id = 700769462612156416;
/

View File

@ -1,3 +1,6 @@
alter table hrsa_tax_agent_tax_return add city_name varchar2(400);
/
update hrsa_salary_sob_default_item set delete_type=1 where sys_salary_item_id = 700769462612156416;
/

View File

@ -1,3 +1,6 @@
alter table hrsa_tax_agent_tax_return add city_name varchar2(400);
/
update hrsa_salary_sob_default_item set delete_type=1 where sys_salary_item_id = 700769462612156416;
/

View File

@ -1 +1,4 @@
alter table hrsa_tax_agent_tax_return add city_name varchar(400)
;
update hrsa_salary_sob_default_item set delete_type=1 where sys_salary_item_id = 700769462612156416;

View File

@ -1,2 +1,5 @@
alter table hrsa_tax_agent_tax_return add city_name varchar2(400)
/
update hrsa_salary_sob_default_item set delete_type=1 where sys_salary_item_id = 700769462612156416
/

View File

@ -1 +1,5 @@
update hrsa_salary_sob_default_item set delete_type=1 where sys_salary_item_id = 700769462612156416;
alter table hrsa_tax_agent_tax_return add city_name varchar(400);
/
update hrsa_salary_sob_default_item set delete_type=1 where sys_salary_item_id = 700769462612156416;
/

View File

@ -1,2 +1,5 @@
alter table hrsa_tax_agent_tax_return add city_name nvarchar(400)
GO
update hrsa_salary_sob_default_item set delete_type=1 where sys_salary_item_id = 700769462612156416
GO

View File

@ -1,3 +1,6 @@
alter table hrsa_tax_agent_tax_return add city_name varchar2(400);
/
update hrsa_salary_sob_default_item set delete_type=1 where sys_salary_item_id = 700769462612156416;
/

View File

@ -4,10 +4,12 @@ import javax.ws.rs.Path;
/**
* 智能算薪-计费
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-11-15 16:05:40
*/
* @author qiantao
* @version 1.0
**/
@Path("/bs/hrmsalary/taxdeclaration/apiflow")
public class TaxDeclarationApiFlowController extends com.engine.salary.web.TaxDeclarationApiFlowController{

View File

@ -1,17 +1,18 @@
package com.engine.salary.common;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 人员选项
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date: 2022-09-06 16:57:23
*/
* @author qiantao
* @version 1.0
**/
@Data
@AllArgsConstructor
@NoArgsConstructor

View File

@ -2,9 +2,11 @@ package com.engine.salary.constant;
/**
* 神州云合api常量
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-10-18 11:05 AM
* @author qiantao
* @version 1.0
**/
public class SzyhApiConstant {

View File

@ -8,9 +8,11 @@ import java.util.List;
/**
* 人员专项附加扣除信息查询结果
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-10-27 10:00 AM
* @author qiantao
* @version 1.0
**/
@Data
public class QuerySpecialAmountFeedbackResponse extends BaseResponse {

View File

@ -5,9 +5,11 @@ import lombok.Data;
/**
* 人员专项附加扣除信息查询结果
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-10-27 10:00 AM
* @author qiantao
* @version 1.0
**/
@Data
public class QuerySpecialAmountResponse extends BaseResponse {

View File

@ -18,28 +18,32 @@ import java.util.UUID;
/**
* 报税信息BO
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date: 2022-09-02 11:06:41
*/
* @author qiantao
* @version 1.0
**/
public class TaxAgentTaxReturnBO {
public static TaxAgentTaxReturnMainFormDTO convertPo2FormDto(TaxAgentTaxReturnPO taxReturnPO) {
return new TaxAgentTaxReturnMainFormDTO()
.setId(taxReturnPO.getId())
.setPasswordType(TaxAgentTaxReturnPasswordTypeEnum.parseByValue(taxReturnPO.getPasswordType()))
.setCity(taxReturnPO.getCity())
.setProvince(taxReturnPO.getProvince())
.setNation(taxReturnPO.getNation())
.setAreaCode(taxReturnPO.getAreaCode())
.setTaxCode(taxReturnPO.getTaxCode())
.setAccount(taxReturnPO.getRealAccount())
.setNetPassword(TaxAgentTaxReturnPasswordTypeEnum.TAX_NET_PASSWORD.getValue().equals(taxReturnPO.getPasswordType()) ? taxReturnPO.getPwd() : null)
.setRealNamePassword(TaxAgentTaxReturnPasswordTypeEnum.REAL_NAME_PASSWORD.getValue().equals(taxReturnPO.getPasswordType()) ? taxReturnPO.getPwd() : null)
.setTaxRegistrationNumber(taxReturnPO.getTaxRegistrationNumber())
.setDepartmentCode(taxReturnPO.getDepartmentCode())
.setCheckStatus(TaxAgentTaxReturnStatusEnum.parseByValue(taxReturnPO.getCheckStatus()))
.setFailReason(taxReturnPO.getFailReason());
TaxAgentTaxReturnMainFormDTO dto = new TaxAgentTaxReturnMainFormDTO();
dto.setId(taxReturnPO.getId());
dto.setPasswordType(TaxAgentTaxReturnPasswordTypeEnum.parseByValue(taxReturnPO.getPasswordType()));
dto.setCity(taxReturnPO.getCity());
dto.setCityName(taxReturnPO.getCityName());
dto.setProvince(taxReturnPO.getProvince());
dto.setNation(taxReturnPO.getNation());
dto.setAreaCode(taxReturnPO.getAreaCode());
dto.setTaxCode(taxReturnPO.getTaxCode());
dto.setAccount(taxReturnPO.getRealAccount());
dto.setNetPassword(TaxAgentTaxReturnPasswordTypeEnum.TAX_NET_PASSWORD.getValue().equals(taxReturnPO.getPasswordType()) ? taxReturnPO.getPwd() : null);
dto.setRealNamePassword(TaxAgentTaxReturnPasswordTypeEnum.REAL_NAME_PASSWORD.getValue().equals(taxReturnPO.getPasswordType()) ? taxReturnPO.getPwd() : null);
dto.setTaxRegistrationNumber(taxReturnPO.getTaxRegistrationNumber());
dto.setDepartmentCode(taxReturnPO.getDepartmentCode());
dto.setCheckStatus(TaxAgentTaxReturnStatusEnum.parseByValue(taxReturnPO.getCheckStatus()));
dto.setFailReason(taxReturnPO.getFailReason());
return dto;
}
public static TaxAgentTaxReturnPO convertParam2Po4Insert(TaxDeclarationApiConfigPO apiConfig, TaxAgentTaxReturnSaveParam saveParam) throws Exception {
@ -49,6 +53,7 @@ public class TaxAgentTaxReturnBO {
.taxCode(saveParam.getTaxCode())
.nation(saveParam.getNation())
.city(saveParam.getCity())
.cityName(saveParam.getCityName())
.province(saveParam.getProvince())
.areaCode(saveParam.getAreaCode())
.realAccount(saveParam.getAccount())
@ -65,16 +70,17 @@ public class TaxAgentTaxReturnBO {
public static void convertParam2Po4Update(TaxDeclarationApiConfigPO apiConfig, TaxAgentTaxReturnPO po, TaxAgentTaxReturnSaveParam saveParam) throws Exception {
Date now = new Date();
po.setTaxCode(saveParam.getTaxCode())
.setNation(saveParam.getNation())
.setCity(saveParam.getCity())
.setProvince(saveParam.getProvince())
.setAreaCode(saveParam.getAreaCode())
.setRealAccount(saveParam.getAccount())
.setPwd(Sm4Utils.encryptEcb(apiConfig.getAppSecret(), saveParam.getPassword()))
.setPasswordType(TaxAgentTaxReturnPasswordTypeEnum.valueOf(saveParam.getPasswordType()).getValue())
.setTaxAgentId(saveParam.getTaxAgentId())
.setUpdateTime(now);
po.setTaxCode(saveParam.getTaxCode());
po.setNation(saveParam.getNation());
po.setCity(saveParam.getCity());
po.setCityName(saveParam.getCityName());
po.setProvince(saveParam.getProvince());
po.setAreaCode(saveParam.getAreaCode());
po.setRealAccount(saveParam.getAccount());
po.setPwd(Sm4Utils.encryptEcb(apiConfig.getAppSecret(), saveParam.getPassword()));
po.setPasswordType(TaxAgentTaxReturnPasswordTypeEnum.valueOf(saveParam.getPasswordType()).getValue());
po.setTaxAgentId(saveParam.getTaxAgentId());
po.setUpdateTime(now);
}
public static Map<String, Object> convert2RequestMap(TaxAgentPO taxAgent, TaxAgentTaxReturnPO taxAgentTaxReturn) {

View File

@ -3,7 +3,6 @@ package com.engine.salary.entity.taxagent.dto;
import com.engine.salary.enums.taxagent.TaxAgentTaxReturnStatusEnum;
import com.engine.salary.util.SalaryI18nUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
@ -12,10 +11,12 @@ import java.util.List;
/**
* 税友验证成功信息
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date: 2022-08-31 15:25:44
*/
* @author qiantao
* @version 1.0
**/
@Data
@Accessors(chain = true)
@ApiModel("税友验证成功信息")

View File

@ -4,7 +4,6 @@ import com.engine.salary.enums.SalaryOnOffEnum;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
@ -13,10 +12,12 @@ import lombok.NoArgsConstructor;
/**
* 税友验证信息表单
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date: 2022-08-31 15:25:44
*/
* @author qiantao
* @version 1.0
**/
@Data
@AllArgsConstructor
@NoArgsConstructor

View File

@ -9,10 +9,12 @@ import lombok.NoArgsConstructor;
/**
* 税友报税信息列表
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date: 2022-09-02 15:31:10
*/
* @author qiantao
* @version 1.0
**/
@Data
@Builder
@NoArgsConstructor

View File

@ -5,18 +5,19 @@ import com.engine.salary.enums.taxagent.TaxAgentTaxReturnStatusEnum;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
/**
* 报税信息表单
* 报税信息表单
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date: 2022-09-02 09:39:05
*/
* @author qiantao
* @version 1.0
**/
@Data
@Accessors(chain = true)
@NoArgsConstructor
@ -36,6 +37,7 @@ public class TaxAgentTaxReturnMainFormDTO {
//报税所属区域")
private String city;
private String cityName;
//省份")
private String province;

View File

@ -9,10 +9,12 @@ import lombok.experimental.Accessors;
/**
* 税友验证成功信息
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date: 2022-08-31 15:25:44
*/
* @author qiantao
* @version 1.0
**/
@Data
@Accessors(chain = true)
@Builder

View File

@ -5,59 +5,64 @@ import com.engine.salary.util.SalaryAssert;
import com.engine.salary.util.SalaryI18nUtil;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author chengliming
* @desc: 个税扣缴义务人-报税信息-保存参数
* @date: 2022-08-31 10:23:29
*/
* 个税扣缴义务人-报税信息-保存参数
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author qiantao
* @version 1.0
**/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("个税扣缴义务人-报税信息-保存参数")
public class TaxAgentTaxReturnSaveParam {
//个税扣缴义务人id")
//个税扣缴义务人id
private Long taxAgentId;
//税号")
//税号
private String taxCode;
//登记序号")
//登记序号
private String taxRegistrationNumber;
//省级")
//省级
private String province;
//市级")
//市级
private String city;
//国家")
//浏览按钮显示
private String cityName;
//国家
private String nation;
//密码校验类型")
//密码校验类型
private String passwordType;
//密码")
//密码
private String password;
//实名账号")
//实名账号
private String account;
//部门编码分部门备案时填入")
//部门编码分部门备案时填入
private String departmentCode;
//部门名称分部门备案时填入")
//部门名称分部门备案时填入
private String departmentName;
//请求类型 1.保存并验证 2.仅保存")
//请求类型 1.保存并验证 2.仅保存
private Integer requestType = 1;
//验证类型 1.请求税友验证报税信息 2.请求税友验证登记序号+税号 3.请求税友验证部门编码")
//验证类型 1.请求税友验证报税信息 2.请求税友验证登记序号+税号 3.请求税友验证部门编码
@JsonIgnore
private Integer type;

View File

@ -6,7 +6,6 @@ import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Collection;
@ -22,7 +21,6 @@ import java.util.Date;
**/
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
//hrsa_tax_agent_tax_return
@ -79,6 +77,7 @@ public class TaxAgentTaxReturnPO implements Serializable {
* 市级
*/
private String city;
private String cityName;
/**
* 市级

View File

@ -4,9 +4,11 @@ import lombok.Data;
/**
* 神州云合接口返回状态实体
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-10-18 10:39 AM
* @author qiantao
* @version 1.0
**/
@Data
public class CheckPasswordResponse {

View File

@ -6,9 +6,11 @@ import java.util.List;
/**
* 神州云合接口返回状态实体
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-10-18 10:39 AM
* @author qiantao
* @version 1.0
**/
@Data
public class CompanyRegisterInfoResponse {

View File

@ -4,9 +4,11 @@ import lombok.Data;
/**
* 神州云合接口返回状态实体
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-10-18 10:39 AM
* @author qiantao
* @version 1.0
**/
@Data
public class SzyhResponseHead {

View File

@ -6,9 +6,11 @@ import java.util.List;
/**
* 缴款凭证反馈
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-12-06 17:25:32
* @author qiantao
* @version 1.0
**/
@Data
public class WithholdingVoucherFeedbackResponse extends BaseResponse {

View File

@ -6,10 +6,12 @@ import java.util.Objects;
/**
* 个税辅助缴款-请求类型
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-12-08 19:08:17
*/
* @author qiantao
* @version 1.0
**/
public enum TaxPaymentTypeEnum implements BaseEnum {
/**
* 三方协议缴款反馈

View File

@ -6,10 +6,12 @@ import java.util.List;
/**
* 个税扣缴义务人报税信息
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date: 2022-08-31 11:20:32
*/
* @author qiantao
* @version 1.0
**/
public interface TaxAgentTaxReturnMapper {
/**
* 查询所有记录

View File

@ -5,6 +5,7 @@
<result column="area_code" property="areaCode"/>
<result column="check_status" property="checkStatus"/>
<result column="city" property="city"/>
<result column="city_name" property="cityName"/>
<result column="create_time" property="createTime"/>
<result column="creator" property="creator"/>
<result column="delete_type" property="deleteType"/>
@ -48,6 +49,7 @@
, t.tax_registration_number
, t.tenant_key
, t.update_time
, t.city_name
</sql>
<!-- 查询全部 -->
@ -219,6 +221,9 @@
<if test="updateTime != null">
update_time,
</if>
<if test="cityName != null">
city_name,
</if>
</trim>
<trim prefix="VALUES (" suffix=")" suffixOverrides=",">
<if test="areaCode != null">
@ -281,6 +286,9 @@
<if test="updateTime != null">
#{updateTime},
</if>
<if test="cityName != null">
#{cityName},
</if>
</trim>
</insert>
@ -291,6 +299,7 @@
area_code=#{areaCode},
check_status=#{checkStatus},
city=#{city},
city_name=#{cityName},
create_time=#{createTime},
creator=#{creator},
delete_type=#{deleteType},
@ -325,6 +334,9 @@
<if test="city != null">
city=#{city},
</if>
<if test="cityName != null">
city_name=#{cityName},
</if>
<if test="createTime != null">
create_time=#{createTime},
</if>
@ -399,6 +411,7 @@
area_code=#{areaCode},
check_status=#{checkStatus},
city=#{city},
city_name=#{cityName},
create_time=#{createTime},
creator=#{creator},
delete_type=#{deleteType},

View File

@ -7,10 +7,12 @@ import java.util.Collection;
/**
* 个税申报-接口流量使用记录
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-08-31 11:20:32
*/
* @author qiantao
* @version 1.0
**/
public interface TaxDeclarationApiFlowRecordMapper {
/**
* 批量插入

View File

@ -8,10 +8,12 @@ import java.util.Collection;
/**
* 个税申报-接口流量使用记录
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-08-31 11:20:32
*/
* @author qiantao
* @version 1.0
**/
@Mapper
public interface TaxDeclarationApiFlowRecordMapper {
/**

View File

@ -9,9 +9,11 @@ import java.util.List;
/**
* 个税扣缴义务人-报税信息service接口
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-09-02 9:26 AM
* @author qiantao
* @version 1.0
**/
public interface TaxAgentTaxReturnService {
/**

View File

@ -4,10 +4,12 @@ import com.engine.salary.service.impl.TaxDeclarationApiBillingServiceImpl;
/**
* 个税申报计费service
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-11-11 14:54:14
*/
* @author qiantao
* @version 1.0
**/
public interface TaxDeclarationApiBillingService {
/**

View File

@ -5,10 +5,12 @@ import com.engine.salary.entity.taxdeclaration.po.TaxDeclarationApiConfigPO;
/**
* 个税申报api配置service
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-11-09 10:09:22
*/
* @author qiantao
* @version 1.0
**/
public interface TaxDeclarationApiConfigService {
/**

View File

@ -12,10 +12,12 @@ import java.util.List;
/**
* 流量不足提醒
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-11-11 14:54:14
*/
* @author qiantao
* @version 1.0
**/
public interface TaxDeclarationApiFlowWarnService {
/**

View File

@ -11,9 +11,11 @@ import java.util.Map;
/**
* 个税辅助缴款
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-12-06 17:27:59
* @author qiantao
* @version 1.0
**/
public interface TaxPaymentService {
/**

View File

@ -8,10 +8,6 @@ import com.engine.salary.service.impl.TaxReturnCheckMainServiceImpl;
import com.engine.salary.service.impl.TaxReturnCheckRegistrationServiceImpl;
import weaver.hrm.User;
/**
* @author chengliming
* @date 2022-09-09 2:09 PM
**/
public class TaxAgentTaxReturnCheckServiceFactory {
private User user;

View File

@ -5,10 +5,6 @@ import com.engine.salary.service.TaxPaymentService;
import com.engine.salary.service.impl.*;
import weaver.hrm.User;
/**
* @author chengliming
* @date 2022-12-08 19:05:16
**/
public class TaxPaymentServiceFactory {
private User user;

View File

@ -12,10 +12,6 @@ import com.engine.salary.util.db.MapperProxyFactory;
import java.util.Collection;
import java.util.List;
/**
* @author chengliming
* @date 2022-09-02 9:27 AM
**/
public class TaxAgentTaxReturnServiceImpl extends Service implements TaxAgentTaxReturnService {
private TaxAgentTaxReturnMapper getTaxAgentTaxReturnMapper() {
return MapperProxyFactory.getProxy(TaxAgentTaxReturnMapper.class);

View File

@ -24,10 +24,6 @@ import java.util.Date;
import java.util.List;
import java.util.Map;
/**
* @author chengliming
* @date 2022-11-11 2:57 PM
**/
@Slf4j
public class TaxDeclarationApiBillingServiceImpl extends Service implements TaxDeclarationApiBillingService {

View File

@ -22,8 +22,12 @@ import org.apache.commons.lang3.StringUtils;
import java.util.*;
/**
* @author chengliming
* @date 2022-11-09 10:09 AM
* chengliming
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author qiantao
* @version 1.0
**/
@Slf4j
public class TaxDeclarationApiConfigServiceImpl extends Service implements TaxDeclarationApiConfigService {

View File

@ -23,9 +23,11 @@ import java.util.*;
/**
* 三方信息查询
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-09-02 9:27 AM
* @author qiantao
* @version 1.0
**/
@Slf4j
public class TaxPaymentAgreementServiceImpl extends AbstractTaxPaymentService {

View File

@ -22,9 +22,11 @@ import java.util.*;
/**
* 完税证明
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-09-02 9:27 AM
* @author qiantao
* @version 1.0
**/
@Slf4j
public class TaxPaymentWithheldVoucherServiceImpl extends AbstractTaxPaymentService {

View File

@ -28,9 +28,11 @@ import java.util.Optional;
/**
* 三方缴款
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-09-02 9:27 AM
* @author qiantao
* @version 1.0
**/
@Slf4j
public class TaxPaymentWithholdingServiceImpl extends AbstractTaxPaymentService {

View File

@ -34,9 +34,11 @@ import java.util.stream.Collectors;
/**
* 缴款凭证
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-09-02 9:27 AM
* @author qiantao
* @version 1.0
**/
@Slf4j
public class TaxPaymentWithholdingVoucherServiceImpl extends AbstractTaxPaymentService {

View File

@ -10,10 +10,12 @@ import lombok.extern.slf4j.Slf4j;
/**
* 验证部门编码相关方法
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-09-15 17:21:41
*/
* @author qiantao
* @version 1.0
**/
@Slf4j
public class TaxReturnCheckDepartmentServiceImpl extends AbstractTaxAgentTaxReturnCheckService {

View File

@ -18,11 +18,13 @@ import java.util.List;
import java.util.Objects;
/**
* 验证主题报税信息相关方法
* 验证主体报税信息相关方法
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-09-15 17:21:23
*/
* @author qiantao
* @version 1.0
**/
@Slf4j
public class TaxReturnCheckMainServiceImpl extends AbstractTaxAgentTaxReturnCheckService {
@ -78,7 +80,9 @@ public class TaxReturnCheckMainServiceImpl extends AbstractTaxAgentTaxReturnChec
TaxAgentTaxReturnBO.convertParam2Po4Update(apiConfig, po, saveParam);
getTaxAgentTaxReturnMapper().updateByTaxAgentId(po);
} else {
po = TaxAgentTaxReturnBO.convertParam2Po4Insert(apiConfig, saveParam).setCreator((long) user.getUID()).setTenantKey("");
po = TaxAgentTaxReturnBO.convertParam2Po4Insert(apiConfig, saveParam);
po.setCreator((long) user.getUID());
po.setTenantKey("");
getTaxAgentTaxReturnMapper().insertIgnoreNull(po);
}
return po;

View File

@ -12,10 +12,12 @@ import java.util.List;
/**
* 验证税号+序号相关方法
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-09-15 17:22:14
*/
* @author qiantao
* @version 1.0
**/
public class TaxReturnCheckRegistrationServiceImpl extends AbstractTaxAgentTaxReturnCheckService {
@Override

View File

@ -18,10 +18,12 @@ import javax.ws.rs.core.MediaType;
/**
* 个税扣缴义务人-报税信息
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date: 2022-08-31 11:49:38
*/
* @author qiantao
* @version 1.0
**/
public class TaxAgentTaxReturnController {
private TaxAgentTaxReturnWrapper getTaxAgentTaxReturnWrapper(User user) {

View File

@ -23,10 +23,12 @@ import javax.ws.rs.core.MediaType;
/**
* 智能算薪-计费
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-11-15 16:05:40
*/
* @author qiantao
* @version 1.0
**/
public class TaxDeclarationApiFlowController {
private TaxDeclarationApiFlowBillingWrapper getTaxDeclarationApiFlowBillingWrapper(User user) {

View File

@ -23,10 +23,12 @@ import javax.ws.rs.core.MediaType;
/**
* 个税辅助缴款
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date: 2022-08-31 11:49:38
*/
* @author qiantao
* @version 1.0
**/
@Slf4j
public class TaxPaymentController {

View File

@ -30,11 +30,12 @@ import java.util.stream.Collectors;
/**
* 个税扣缴义务人-报税信息包装类
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date: 2022-08-31 13:29:14
*/
* @author qiantao
* @version 1.0
**/
@Slf4j
public class TaxAgentTaxReturnWrapper extends Service {

View File

@ -18,10 +18,12 @@ import weaver.hrm.User;
/**
* 个税申报计费
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date 2022-11-11 15:16:22
*/
* @author qiantao
* @version 1.0
**/
@Slf4j
public class TaxDeclarationApiFlowBillingWrapper extends Service {

View File

@ -11,10 +11,12 @@ import lombok.extern.slf4j.Slf4j;
/**
* 个税辅助缴款
* <p>Copyright: Copyright (c) 2023</p>
* <p>Company: 泛微软件</p>
*
* @author chengliming
* @date: 2022-08-31 13:29:14
*/
* @author qiantao
* @version 1.0
**/
@Slf4j
public class TaxPaymentWrapper extends Service {
private final TaxPaymentServiceFactory taxPaymentServiceFactory = new TaxPaymentServiceFactory(user);