Search in sources :

Example 1 with PdcaItemOwnerVO

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

the class PdcaLogicServiceImpl method createItemOwner.

private void createItemOwner(PdcaItemVO pdcaItem) throws ServiceException, Exception {
    for (String oid : pdcaItem.getEmployeeOids()) {
        EmployeeVO employee = this.findEmployeeData(oid);
        PdcaItemOwnerVO itemOwner = new PdcaItemOwnerVO();
        itemOwner.setPdcaOid(pdcaItem.getPdcaOid());
        itemOwner.setItemOid(pdcaItem.getOid());
        itemOwner.setEmpId(employee.getEmpId());
        this.pdcaItemOwnerService.saveObject(itemOwner);
    }
}
Also used : PdcaItemOwnerVO(com.netsteadfast.greenstep.vo.PdcaItemOwnerVO) EmployeeVO(com.netsteadfast.greenstep.vo.EmployeeVO)

Aggregations

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