|
|
@@ -107,7 +107,7 @@ public class ExpenseAccountServiceImpl extends BaseMybatisDao<ExpenseAccountMapp
|
|
|
ExpenseAccountExamine eae=new ExpenseAccountExamine(id,i);
|
|
|
Admin admin2 = adminMapper.selectFinanceAdminByAid(aid);
|
|
|
if (admin2==null){
|
|
|
- throw new BusinessException("部门财务专员必须指定");
|
|
|
+ throw new BusinessException("发起人部门财务专员不存在。");
|
|
|
}
|
|
|
eae.setAuditor(admin2.getId());
|
|
|
eae.setAuditorname(admin2.getName());
|
|
|
@@ -116,7 +116,7 @@ public class ExpenseAccountServiceImpl extends BaseMybatisDao<ExpenseAccountMapp
|
|
|
list.add(eae);
|
|
|
}else if (i==3){
|
|
|
List<Admin> admins = adminMapper.listAdminBydepIdAndRoleType(admin.getDepartmentId(), AFTConstants.SALESMAN_ADMIN);
|
|
|
- if (admins.isEmpty())throw new BusinessException("部门营销管理员必须指定");
|
|
|
+ if (admins.isEmpty())throw new BusinessException("发起人部门营销管理员不存在。");
|
|
|
for (Admin e : admins) {
|
|
|
ExpenseAccountExamine eae=new ExpenseAccountExamine(id,i);
|
|
|
eae.setAuditor(e.getId());
|