Search in sources :

Example 6 with BscMixDataVO

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

the class KpiServiceImpl method findForMixData.

@Override
public DefaultResult<List<BscMixDataVO>> findForMixData(String visionOid, String orgId, String empId, String nextType, String nextId, List<String> kpiIds) throws ServiceException, Exception {
    DefaultResult<List<BscMixDataVO>> result = new DefaultResult<List<BscMixDataVO>>();
    List<BscMixDataVO> searchList = this.kpiDAO.findForMixData(this.getMixDataQueryParam(visionOid, orgId, empId, nextType, nextId, kpiIds));
    if (null != searchList && searchList.size() > 0) {
        result.setValue(searchList);
    } else {
        result.setSystemMessage(new SystemMessage(SysMessageUtil.get(GreenStepSysMsgConstants.SEARCH_NO_DATA)));
    }
    return result;
}
Also used : SystemMessage(com.netsteadfast.greenstep.base.model.SystemMessage) ArrayList(java.util.ArrayList) List(java.util.List) DefaultResult(com.netsteadfast.greenstep.base.model.DefaultResult) BscMixDataVO(com.netsteadfast.greenstep.bsc.vo.BscMixDataVO)

Aggregations

BscMixDataVO (com.netsteadfast.greenstep.bsc.vo.BscMixDataVO)6 VisionVO (com.netsteadfast.greenstep.vo.VisionVO)4 PerspectiveVO (com.netsteadfast.greenstep.vo.PerspectiveVO)3 ObjectiveVO (com.netsteadfast.greenstep.vo.ObjectiveVO)2 List (java.util.List)2 DefaultResult (com.netsteadfast.greenstep.base.model.DefaultResult)1 SystemMessage (com.netsteadfast.greenstep.base.model.SystemMessage)1 BscStructTreeObj (com.netsteadfast.greenstep.bsc.model.BscStructTreeObj)1 AggregationMethodVO (com.netsteadfast.greenstep.vo.AggregationMethodVO)1 FormulaVO (com.netsteadfast.greenstep.vo.FormulaVO)1 KpiVO (com.netsteadfast.greenstep.vo.KpiVO)1 ArrayList (java.util.ArrayList)1