@@ -705,6 +705,9 @@ public class ExpenseAccountServiceImpl extends BaseMybatisDao<ExpenseAccountMapp
@Override
public Object selectByCheckNo(String checkNo) {
OutExpenseAccount useEa = expenseAccountMapper.selectByCheckNo(checkNo);
+ if (useEa==null){
+ throw new BusinessException("报销编号不存在,请客对后再查询。");
+ }
if (useEa.getProcessStatus()<3){
throw new BusinessException("报销单财务未审核,不可以根据编号查看打印。");
}
@@ -67,7 +67,6 @@ public class OrganizationServiceImpl extends BaseMybatisDao<DepartmentMapper> im
hideSign=null;
List<DepOut> depList=departmentMapper.selectSuperId(hideSign,null,null);
-
return listSort(depList);