fix
This commit is contained in:
parent
e1629a021e
commit
fc35eff75d
|
|
@ -124,7 +124,7 @@ public class AddUpSituationBiz extends BaseBean {
|
|||
SqlSession sqlSession = MyBatisFactory.sqlSessionFactory.openSession();
|
||||
try {
|
||||
AddUpSituationMapper mapper = sqlSession.getMapper(AddUpSituationMapper.class);
|
||||
AddUpSituationEncrypt.decryptAddUpSituationList(param);
|
||||
AddUpSituationEncrypt.encryptAddUpSituationList(param);
|
||||
List<List<AddUpSituation>> partition = Lists.partition(param, 100);
|
||||
partition.forEach(mapper::updateData);
|
||||
sqlSession.commit();
|
||||
|
|
|
|||
|
|
@ -293,7 +293,7 @@ public class AddUpDeductionServiceImpl extends Service implements AddUpDeduction
|
|||
} else {
|
||||
//个税扣缴义务人不存在
|
||||
Map<String, String> errorMessageMap = Maps.newHashMap();
|
||||
errorMessageMap.put("message", rowIndex + "个税扣缴义务人不存在");
|
||||
errorMessageMap.put("message", rowIndex + "个税扣缴义务人不存在或不在权限范围内");
|
||||
errorData.add(errorMessageMap);
|
||||
errorSum += 1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -666,7 +666,7 @@ public class AddUpSituationServiceImpl extends Service implements AddUpSituation
|
|||
} else {
|
||||
//个税扣缴义务人不存在
|
||||
Map<String, String> errorMessageMap = Maps.newHashMap();
|
||||
errorMessageMap.put("message", rowIndex + "个税扣缴义务人不存在");
|
||||
errorMessageMap.put("message", rowIndex + "个税扣缴义务人不存在或不在权限范围内");
|
||||
errorData.add(errorMessageMap);
|
||||
errorSum += 1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -272,7 +272,7 @@ public class OtherDeductionServiceImpl extends Service implements OtherDeduction
|
|||
} else {
|
||||
//个税扣缴义务人不存在
|
||||
Map<String, String> errorMessageMap = Maps.newHashMap();
|
||||
errorMessageMap.put("message", rowIndex + "个税扣缴义务人不存在");
|
||||
errorMessageMap.put("message", rowIndex + "个税扣缴义务人不存在或不在权限范围内");
|
||||
errorData.add(errorMessageMap);
|
||||
errorSum += 1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -959,7 +959,7 @@ public class SalaryArchiveServiceImpl extends Service implements SalaryArchiveSe
|
|||
Set<Long> taxAgents = SalaryEntityUtil.properties(taxAgentList, TaxAgentPO::getId);
|
||||
if (taxAgentId == null) {
|
||||
Map<String, String> errorMessageMap = Maps.newHashMap();
|
||||
errorMessageMap.put("message", rowindex + "个税扣缴义务人不存在");
|
||||
errorMessageMap.put("message", rowindex + "个税扣缴义务人不存在或不在权限范围内");
|
||||
excelComments.add(errorMessageMap);
|
||||
isError = true;
|
||||
} else if (!taxAgents.contains(taxAgentId)) {
|
||||
|
|
|
|||
|
|
@ -364,7 +364,7 @@ public class TaxAgentManageRangeServiceImpl extends Service implements TaxAgentM
|
|||
// 查询薪资账套
|
||||
TaxAgentPO taxAgent = getTaxAgentV2Service(user).getById(saveParam.getTaxAgentId());
|
||||
if (Objects.isNull(taxAgent)) {
|
||||
throw new SalaryRunTimeException(SalaryI18nUtil.getI18nLabel(108605, "参数错误,个税扣缴义务人不存在或者已被删除"));
|
||||
throw new SalaryRunTimeException(SalaryI18nUtil.getI18nLabel(108605, "参数错误,个税扣缴义务人不存在或不在权限范围内"));
|
||||
}
|
||||
// 查询已有的管理范围
|
||||
List<TaxAgentManageRangePO> taxAgentManageAllRanges = listByTaxAgentId(saveParam.getTaxAgentId());
|
||||
|
|
|
|||
|
|
@ -344,7 +344,7 @@ public class TaxAgentServiceImpl extends Service implements TaxAgentService {
|
|||
|
||||
TaxAgentPO taxAgent = getById(saveParam.getId());
|
||||
if (taxAgent == null) {
|
||||
throw new SalaryRunTimeException(SalaryI18nUtil.getI18nLabel(100545, "个税扣缴义务人不存在"));
|
||||
throw new SalaryRunTimeException(SalaryI18nUtil.getI18nLabel(100545, "个税扣缴义务人不存在或不在权限范围内"));
|
||||
}
|
||||
// 是否开启分权
|
||||
boolean isOpenDevolution = getTaxAgentBaseService(user).isOpenDevolution();
|
||||
|
|
|
|||
Loading…
Reference in New Issue