filterMap.put("sqlwhere","(pid='469000000000' or pid='46000000000' or pid='460000000000' or pid like '%#N/A%') and code<>'469000000000' and code<>'460000000001' and code<>'460000000000' AND (isparent='TRUE' OR isparent='true')");
// filterMap.put("sqlwhere","(pid='469000000000' or pid='46000000000' or pid='460000000000' or pid like '%#N/A%') and code<>'469000000000' and code<>'460000000001' and code<>'460000000000' AND (isparent='TRUE' OR isparent='true')");
}else{
// }else{
filterMap.put("sqlwhere","(pid='"+unitcode+"' or pid like '#N/A') AND (isparent='TRUE' OR isparent='true')");
// filterMap.put("sqlwhere","(pid='"+unitcode+"' or pid like '#N/A') AND (isparent='TRUE' OR isparent='true')");
}
// }
}else{
// }else{
filterMap.put("sqlwhere","pid='"+unitcode+"'");
// filterMap.put("sqlwhere","pid='"+unitcode+"' or code ='"+unitcode+"'");
}
filterMap.put("sqlwhere","code like '"+getTjdw(unitcode)+"'");
// }
unitCodeBean=khtjDao.getUnitCodeList(filterMap);
unitCodeBean=khtjDao.getUnitCodeList(filterMap);
if(unitCodeBean==null||unitCodeBean.size()<=0){
if(unitCodeBean==null||unitCodeBean.size()<=0){
filterMap.put("sqlwhere","code='"+unitcode+"'");
filterMap.put("sqlwhere","code='"+unitcode+"'");
unitCodeBean=khtjDao.getUnitCodeList(filterMap);
unitCodeBean=khtjDao.getUnitCodeList(filterMap);
}
}
returnunitCodeBean;
returnunitCodeBean;
}
}
...
@@ -208,11 +213,11 @@ public class IRycjtjServiceImpl implements IRycjtjService {
...
@@ -208,11 +213,11 @@ public class IRycjtjServiceImpl implements IRycjtjService {