|
|
@@ -123,17 +123,17 @@ public class ExpenseAccountServiceImpl extends BaseMybatisDao<ExpenseAccountMapp
|
|
|
eae.setAuditorname(examineName);
|
|
|
ea.setExamineName(examineName);
|
|
|
}else if (i==2){
|
|
|
- if (dep.getManagerId()==null|| StringUtils.isBlank(dep.getManagerId())){
|
|
|
+ if (StringUtils.isBlank(dep.getManagerName())){
|
|
|
throw new BusinessException("报销申请部门管理员不存在。");
|
|
|
}
|
|
|
eae.setAuditor(dep.getManagerId());
|
|
|
eae.setAuditorname(dep.getManagerName());
|
|
|
}else if (i==3){
|
|
|
- if (dep.getExpenseFinanceId()==null)throw new BusinessException("报销部门财务审核人不存在。");
|
|
|
+ if (StringUtils.isBlank(dep.getExpenseFinanceName()))throw new BusinessException("报销部门财务审核人不存在。");
|
|
|
eae.setAuditor(dep.getExpenseFinanceId());
|
|
|
eae.setAuditorname(dep.getExpenseFinanceName());
|
|
|
}else if (i==4){
|
|
|
- if (dep.getExpenseRetrialFinanceId()==null)throw new BusinessException("报销部门财务复审人不存在。");
|
|
|
+ if (StringUtils.isBlank(dep.getExpenseRetrialFinanceId()))throw new BusinessException("报销部门财务复审人不存在。");
|
|
|
eae.setAuditor(dep.getExpenseRetrialFinanceId());
|
|
|
eae.setAuditorname(dep.getExpenseRetrialFinanceName());
|
|
|
}else if (i==6){
|
|
|
@@ -149,7 +149,7 @@ public class ExpenseAccountServiceImpl extends BaseMybatisDao<ExpenseAccountMapp
|
|
|
eae.setAuditorname(admin.getName());
|
|
|
}
|
|
|
}else if (i==8){
|
|
|
- if (dep.getCashierId()==null)throw new BusinessException("报销部门出纳不存在。");
|
|
|
+ if (StringUtils.isBlank(dep.getCashierName()))throw new BusinessException("报销部门出纳不存在。");
|
|
|
eae.setAuditor(dep.getCashierId());
|
|
|
eae.setAuditorname(dep.getCashierName());
|
|
|
}
|