Search in sources :

Example 11 with BbEmployee

use of com.netsteadfast.greenstep.po.hbm.BbEmployee in project bamboobsc by billchen198318.

the class DegreeFeedbackProjectListAction method loadDataForList.

private void loadDataForList() throws ServiceException, Exception {
    BbEmployee employee = this.employeeService.findByAccountId(this.getAccountId());
    if (null == employee) {
        throw new ServiceException(SysMessageUtil.get(GreenStepSysMsgConstants.DATA_ERRORS));
    }
    DefaultResult<List<DegreeFeedbackProjectVO>> result = this.degreeFeedbackProjectService.findByPublishFlag2ValueObject(YesNo.YES, employee.getEmpId());
    if (result.getValue() != null) {
        this.projects = result.getValue();
    }
}
Also used : BbEmployee(com.netsteadfast.greenstep.po.hbm.BbEmployee) ServiceException(com.netsteadfast.greenstep.base.exception.ServiceException) ArrayList(java.util.ArrayList) List(java.util.List)

Aggregations

BbEmployee (com.netsteadfast.greenstep.po.hbm.BbEmployee)11 ServiceException (com.netsteadfast.greenstep.base.exception.ServiceException)8 HashMap (java.util.HashMap)5 BbOrganization (com.netsteadfast.greenstep.po.hbm.BbOrganization)3 EmployeeVO (com.netsteadfast.greenstep.vo.EmployeeVO)3 List (java.util.List)3 DefaultResult (com.netsteadfast.greenstep.base.model.DefaultResult)2 ServiceMethodAuthority (com.netsteadfast.greenstep.base.model.ServiceMethodAuthority)2 SystemMessage (com.netsteadfast.greenstep.base.model.SystemMessage)2 DegreeFeedbackAssignVO (com.netsteadfast.greenstep.vo.DegreeFeedbackAssignVO)2 KpiVO (com.netsteadfast.greenstep.vo.KpiVO)2 OrganizationVO (com.netsteadfast.greenstep.vo.OrganizationVO)2 ArrayList (java.util.ArrayList)2 LinkedHashMap (java.util.LinkedHashMap)2 IEmployeeService (com.netsteadfast.greenstep.bsc.service.IEmployeeService)1 IOrganizationService (com.netsteadfast.greenstep.bsc.service.IOrganizationService)1 IVisionService (com.netsteadfast.greenstep.bsc.service.IVisionService)1 BscApiServiceResponse (com.netsteadfast.greenstep.bsc.vo.BscApiServiceResponse)1 BbDegreeFeedbackLevel (com.netsteadfast.greenstep.po.hbm.BbDegreeFeedbackLevel)1 BbKpi (com.netsteadfast.greenstep.po.hbm.BbKpi)1