Search in sources :

Example 1 with KpiEmplVO

use of com.netsteadfast.greenstep.vo.KpiEmplVO in project bamboobsc by billchen198318.

the class KpiLogicServiceImpl method createKpiEmployee.

private void createKpiEmployee(KpiVO kpi, List<String> employeeOids) throws ServiceException, Exception {
    if (kpi == null || employeeOids == null || employeeOids.size() < 1) {
        return;
    }
    for (String oid : employeeOids) {
        EmployeeVO employee = this.findEmployeeData(oid);
        KpiEmplVO kpiEmpl = new KpiEmplVO();
        kpiEmpl.setKpiId(kpi.getId());
        kpiEmpl.setEmpId(employee.getEmpId());
        this.kpiEmplService.saveObject(kpiEmpl);
    }
}
Also used : KpiEmplVO(com.netsteadfast.greenstep.vo.KpiEmplVO) EmployeeVO(com.netsteadfast.greenstep.vo.EmployeeVO)

Aggregations

EmployeeVO (com.netsteadfast.greenstep.vo.EmployeeVO)1 KpiEmplVO (com.netsteadfast.greenstep.vo.KpiEmplVO)1