@SuppressWarnings("unchecked") @Override public DeptContactMainVo viewForward(DeptContactParamVo params) { String sql = "select t.p_id,t.c_id,t.type from t_dept_contact_tree t where t.c_id=? and t.removed != 1"; // log.debug("cname:"+cname + " cincident:" +cincident); List<Map<String, Object>> list = dbUtil.getJdbcTemplate().queryForList(sql, new Object[] {params.mainVo.getId()}); return this.forward(list, params); }
@SuppressWarnings("unchecked") @Override public DeptContactMainVo flowStepForward(DeptContactParamVo params) { if (!resultInfo.checkFlag) { return null; } String cname = params.getProcessParamValue("cname"); String cincident = params.getProcessParamValue("cincident"); String sql = "select t.p_id,t.c_id,t.type from t_dept_contact_tree t where t.cname=? and t.cincident=? and t.removed != 1"; // log.debug("cname:"+cname + " cincident:" +cincident); List<Map<String, Object>> list = dbUtil.getJdbcTemplate().queryForList(sql, new Object[] {cname, cincident}); return this.forward(list, params); }