Commit 87da53e7 by yangliang

修改统计选择海南公安厅不显示下属单位的问题

parent db3cb685
......@@ -166,7 +166,7 @@ public class IRycjtjServiceImpl implements IRycjtjService {
filterMap.put("code",unitcode);
if("0000000000".equals(unitcode.substring(2,12))){
if("460000000000".equals(unitcode)){
filterMap.put("sqlwhere","(pid='469000000000' or pid='46000000000' 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{
filterMap.put("sqlwhere","(pid='"+unitcode+"' or pid like '#N/A') AND (isparent='TRUE' OR isparent='true')");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment