Merge branch 'release/个税版本' into release/个税&业务线
This commit is contained in:
commit
d35b6df42b
|
|
@ -62,6 +62,11 @@ public class EmployeeDeclareRequest {
|
|||
// *任职受雇类型
|
||||
EmploymentTypeEnum employmentTypeEnum = SalaryEnumUtil.enumMatchByValue(employeeDeclare.getEmploymentType(), EmploymentTypeEnum.class);
|
||||
employeeInfoMap.put("sfgy", employmentTypeEnum == null ? "" : employmentTypeEnum.getDefaultLabel());
|
||||
//其他情况说明“qtqksm”,有3个选择的值,可选择"扣缴申报利息股息红利所得”、“扣缴申报偶然所得”、”申报其他所得”
|
||||
//一般劳务所得处理,可以统一用”申报其他所得”作为默认就好
|
||||
if (employmentTypeEnum == EmploymentTypeEnum.OTHER) {
|
||||
employeeInfoMap.put("qtqksm", "申报其他所得");
|
||||
}
|
||||
// 入职年度就业情形
|
||||
employeeInfoMap.put("rzndjyqk", employeeDeclare.getEmploymentFirstYear());
|
||||
// *手机号码
|
||||
|
|
|
|||
|
|
@ -75,6 +75,7 @@ public class TaxDeclarationRequest {
|
|||
} else if (incomeCategoryEnum == IncomeCategoryEnum.COMPENSATION_FOR_DISMISS) {
|
||||
// 解除劳动合同一次性补偿金
|
||||
List<Map<String, Object>> employeeRequestParams = listRequestParam.computeIfAbsent("jcldhtycxbcjlb", k -> Lists.newArrayList());
|
||||
employeeRequestParam.put("sfzdscmsfb","是");
|
||||
employeeRequestParams.add(employeeRequestParam);
|
||||
} else if (incomeCategoryEnum == IncomeCategoryEnum.INCOME_FOR_INDIVIDUAL_EQUITY_INCENTIVE) {
|
||||
// 个人股权激励收入
|
||||
|
|
@ -125,6 +126,7 @@ public class TaxDeclarationRequest {
|
|||
} else if (incomeCategoryEnum == IncomeCategoryEnum.REMUNERATION_FOR_AUTHOR) {
|
||||
// 稿酬所得
|
||||
List<Map<String, Object>> employeeRequestParams = listRequestParam.computeIfAbsent("gcsdlb", k -> Lists.newArrayList());
|
||||
employeeRequestParam.put("sfzdscmsfb","是");
|
||||
employeeRequestParams.add(employeeRequestParam);
|
||||
} else if (incomeCategoryEnum == IncomeCategoryEnum.ROYALTIES) {
|
||||
// 特许权使用费所得
|
||||
|
|
@ -167,9 +169,6 @@ public class TaxDeclarationRequest {
|
|||
}
|
||||
}
|
||||
|
||||
String string = employeeRequestParam.getOrDefault("syjkbx", "0").toString();
|
||||
System.out.println();
|
||||
|
||||
if (new BigDecimal(employeeRequestParam.getOrDefault("syjkbx", "0").toString()).compareTo(new BigDecimal("0")) > 0) {
|
||||
Map<String, ? extends List> healthInsuranceMap = taxFreeMap.get(TaxFreeTypeEnum.HEALTH_INSURANCE);
|
||||
List<HealthInsurancePO> pos = (List<HealthInsurancePO>) healthInsuranceMap.get(employeeDeclare.getTaxAgentId() + "-" + employeeDeclare.getEmployeeId() + "-" + SalaryDateUtil.getFormatYearMonth(employeeDeclare.getTaxCycle()));
|
||||
|
|
|
|||
|
|
@ -571,7 +571,6 @@ public class DateTimeServiceImpl implements DateTimeService {
|
|||
cale.set(cale.get(Calendar.YEAR), month, 1);
|
||||
|
||||
String lastday = formatTemp.format(cale.getTime());
|
||||
System.out.println(lastday);
|
||||
return new DataType(DataType.STRING, lastday);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue