Commit f6d57301 by ilal Committed by chenzg

提交数据

parent 9f6ca0a7
...@@ -2191,24 +2191,28 @@ public class SalaryManagementController { ...@@ -2191,24 +2191,28 @@ public class SalaryManagementController {
gsmx.setCurrentSpecialDeduction(cuspde == null ? 0 : Double.valueOf(cuspde.getGrjltotal()));//本期专项扣除 【个人的社保公积金缴纳扣除】 gsmx.setCurrentSpecialDeduction(cuspde == null ? 0 : Double.valueOf(cuspde.getGrjltotal()));//本期专项扣除 【个人的社保公积金缴纳扣除】
gsmx.setCumSre(wages_payable+(sygs == null ? 0 : sygs.getCumSre()));//累计收入额 【本期收入+累计收入额(上月)】 gsmx.setCumSre(wages_payable+(sygs == null ? 0 : sygs.getCumSre()));//累计收入额 【本期收入+累计收入额(上月)】
double cumjcfy = 0; double cumjcfy = 0;
int xcy = 0; if(sygs.getCumJcfy() > 0) {
YgglMainEmp xzrz = YgglMainEmp.builder().build().selectOne(new QueryWrapper<YgglMainEmp>().lambda().eq(YgglMainEmp::getEmpNum, gsus).eq(YgglMainEmp::getOrgCode, orgcode)); cumjcfy = sygs.getCumJcfy() + 5000;
if(xzrz != null) { }else {
String entry_date = ClockInTool.SunNovCSTYMD(xzrz.getRzTime());//yyyyMMdd int xcy = 0;
if(bssz.getTaxReturnCycle().equals(1)) {//当月报税 YgglMainEmp xzrz = YgglMainEmp.builder().build().selectOne(new QueryWrapper<YgglMainEmp>().lambda().eq(YgglMainEmp::getEmpNum, gsus).eq(YgglMainEmp::getOrgCode, orgcode));
if(entry_date.substring(0,4).equals(strY)) {//判断是否是本年 if(xzrz != null) {
xcy = SalaryTool.getMonthDiff(entry_date, salary_month+"-01"); String entry_date = ClockInTool.SunNovCSTYMD(xzrz.getRzTime());//yyyyMMdd
}else { if(bssz.getTaxReturnCycle().equals(1)) {//当月报税
xcy = SalaryTool.getMonthDiff(strY+"-01-01", salary_month+"-01"); if(entry_date.substring(0,4).equals(strY)) {//判断是否是本年
} xcy = SalaryTool.getMonthDiff(entry_date, salary_month+"-01");
cumjcfy = xcy*5000; }else {
}else {//次月报税 xcy = SalaryTool.getMonthDiff(strY+"-01-01", salary_month+"-01");
if(entry_date.substring(0,4).equals(strY)) {//判断是否是本年 }
xcy = SalaryTool.getMonthDiff(entry_date, salary_month+"-01")+1; cumjcfy = xcy*5000;
}else { }else {//次月报税
xcy = SalaryTool.getMonthDiff(strY+"-01-01", salary_month+"-01")+1; if(entry_date.substring(0,4).equals(strY)) {//判断是否是本年
xcy = SalaryTool.getMonthDiff(entry_date, salary_month+"-01")+1;
}else {
xcy = SalaryTool.getMonthDiff(strY+"-01-01", salary_month+"-01")+1;
}
cumjcfy = xcy*5000;
} }
cumjcfy = xcy*5000;
} }
} }
gsmx.setCumJcfy(cumjcfy);//累计减除费用 【5000*在职月份数】 gsmx.setCumJcfy(cumjcfy);//累计减除费用 【5000*在职月份数】
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment