|
@@ -5,6 +5,7 @@ import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
import java.util.stream.Collectors;
|
|
import java.util.stream.Collectors;
|
|
import javax.annotation.Resource;
|
|
import javax.annotation.Resource;
|
|
|
|
+import javax.swing.text.TabExpander;
|
|
|
|
|
|
import cn.ezhizao.common.exception.ServiceException;
|
|
import cn.ezhizao.common.exception.ServiceException;
|
|
import cn.ezhizao.common.utils.StringUtils;
|
|
import cn.ezhizao.common.utils.StringUtils;
|
|
@@ -90,7 +91,7 @@ public class BizFinancialSalaryServiceImpl extends ServiceImpl<BizFinancialSalar
|
|
salary.setCompanyName(salaryDetai.getCompanyName());
|
|
salary.setCompanyName(salaryDetai.getCompanyName());
|
|
salary.setTenantId(tenantId);
|
|
salary.setTenantId(tenantId);
|
|
salary.setIsZero(isZero);
|
|
salary.setIsZero(isZero);
|
|
- List<BizFinancialSalary> salaryList = getList(salary);
|
|
|
|
|
|
+ List<BizFinancialSalary> salaryList = bizFinancialSalaryMapper.getSalary(salary);
|
|
//是否存在该客户
|
|
//是否存在该客户
|
|
if (salaryList.size() == 0) {
|
|
if (salaryList.size() == 0) {
|
|
failureNum++;
|
|
failureNum++;
|
|
@@ -146,7 +147,7 @@ public class BizFinancialSalaryServiceImpl extends ServiceImpl<BizFinancialSalar
|
|
//新增人员明细
|
|
//新增人员明细
|
|
bizFinancialSalaryDetailEmployeeMapper.insert(l);
|
|
bizFinancialSalaryDetailEmployeeMapper.insert(l);
|
|
successNum++;
|
|
successNum++;
|
|
- successMsg.append("<br/>").append(successNum).append("、工资 ").append(l.getCompanyName()).append(" 导入成功");
|
|
|
|
|
|
+ successMsg.append("<br/>").append(successNum).append("、工资 ").append(l.getEmployeeName()).append(" 导入成功");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (failureNum > 0) {
|
|
if (failureNum > 0) {
|