@@ -79,14 +79,14 @@ public class IRycjtjServiceImpl implements IRycjtjService {
if(unitgrade==10){
}elseif(ifslgzd==1){
filterMap.put("sqlwhere","(lrdwdm like '"+unit_matchstring.substring(0,4)+"%s%' or lrdwdm like '"+unit_matchstring.substring(0,4)+"%S%' or lrdwdm like '"+unit_matchstring.substring(0,4)+"%88____')");
filterMap.put("sqlwhere","(lrdwdm like '"+unitMatchstring.substring(0,4)+"%s%' or lrdwdm like '"+unitMatchstring.substring(0,4)+"%S%' or lrdwdm like '"+unitMatchstring.substring(0,4)+"%88____')");
}elseif(ifslgzd==2){
filterMap.put("sqlwhere","(lrdwdm like '"+unit_matchstring.substring(0,4)+"%g%' or lrdwdm like '"+unit_matchstring.substring(0,4)+"%G%')");
filterMap.put("sqlwhere","(lrdwdm like '"+unitMatchstring.substring(0,4)+"%g%' or lrdwdm like '"+unitMatchstring.substring(0,4)+"%G%')");
}else{
filterMap.put("sqlwhere","lrdwdm not like '"+unit_matchstring.substring(0,4)+"%s%' and lrdwdm not like '"+unit_matchstring.substring(0,4)+"%S%' and lrdwdm not like '"+unit_matchstring.substring(0,4)+"%G%' and lrdwdm not like '"+unit_matchstring.substring(0,4)+"%g%' and lrdwdm not like '"+unit_matchstring.substring(0,4)+"%88____'");
filterMap.put("sqlwhere","lrdwdm not like '"+unitMatchstring.substring(0,4)+"%s%' and lrdwdm not like '"+unitMatchstring.substring(0,4)+"%S%' and lrdwdm not like '"+unitMatchstring.substring(0,4)+"%G%' and lrdwdm not like '"+unitMatchstring.substring(0,4)+"%g%' and lrdwdm not like '"+unitMatchstring.substring(0,4)+"%88____'");
}
filterMap1.put("sqlwhere","(lrdwdm like '"+unit_matchstring.substring(0,4)+"%s%' or lrdwdm like '"+unit_matchstring.substring(0,4)+"%S%' or lrdwdm like '"+unit_matchstring.substring(0,4)+"%88____')");
filterMap2.put("sqlwhere","(lrdwdm like '"+unit_matchstring.substring(0,4)+"%G%' or lrdwdm like '"+unit_matchstring.substring(0,4)+"%g%')");
filterMap1.put("sqlwhere","(lrdwdm like '"+unitMatchstring.substring(0,4)+"%s%' or lrdwdm like '"+unitMatchstring.substring(0,4)+"%S%' or lrdwdm like '"+unitMatchstring.substring(0,4)+"%88____')");
filterMap2.put("sqlwhere","(lrdwdm like '"+unitMatchstring.substring(0,4)+"%G%' or lrdwdm like '"+unitMatchstring.substring(0,4)+"%g%')");
if(nuitCodes!=null){
if(ifslgzd==0){
...
...
@@ -331,6 +331,7 @@ public class IRycjtjServiceImpl implements IRycjtjService {
@@ -516,14 +518,14 @@ public class IRycjtjServiceImpl implements IRycjtjService {
if(unitgrade==10){
}elseif(ifslgzd==1){
filterMap.put("sqlwhere","(lrdwdm like '"+unit_matchstring.substring(0,4)+"%s%' or lrdwdm like '"+unit_matchstring.substring(0,4)+"%S%' or lrdwdm like '"+unit_matchstring.substring(0,4)+"%88____')");
filterMap.put("sqlwhere","(lrdwdm like '"+unitMatchstring.substring(0,4)+"%s%' or lrdwdm like '"+unitMatchstring.substring(0,4)+"%S%' or lrdwdm like '"+unitMatchstring.substring(0,4)+"%88____')");
}elseif(ifslgzd==2){
filterMap.put("sqlwhere","(lrdwdm like '"+unit_matchstring.substring(0,4)+"%g%' or lrdwdm like '"+unit_matchstring.substring(0,4)+"%G%')");
filterMap.put("sqlwhere","(lrdwdm like '"+unitMatchstring.substring(0,4)+"%g%' or lrdwdm like '"+unitMatchstring.substring(0,4)+"%G%')");
}else{
filterMap.put("sqlwhere","lrdwdm not like '"+unit_matchstring.substring(0,4)+"%s%' and lrdwdm not like '"+unit_matchstring.substring(0,4)+"%S%' and lrdwdm not like '"+unit_matchstring.substring(0,4)+"%G%' and lrdwdm not like '"+unit_matchstring.substring(0,4)+"%g%' and lrdwdm not like '"+unit_matchstring.substring(0,4)+"%88____'");
filterMap.put("sqlwhere","lrdwdm not like '"+unitMatchstring.substring(0,4)+"%s%' and lrdwdm not like '"+unitMatchstring.substring(0,4)+"%S%' and lrdwdm not like '"+unitMatchstring.substring(0,4)+"%G%' and lrdwdm not like '"+unitMatchstring.substring(0,4)+"%g%' and lrdwdm not like '"+unitMatchstring.substring(0,4)+"%88____'");
}
filterMap1.put("sqlwhere","(lrdwdm like '"+unit_matchstring.substring(0,4)+"%s%' or lrdwdm like '"+unit_matchstring.substring(0,4)+"%S%' or lrdwdm like '"+unit_matchstring.substring(0,4)+"%88____')");
filterMap2.put("sqlwhere","(lrdwdm like '"+unit_matchstring.substring(0,4)+"%G%' or lrdwdm like '"+unit_matchstring.substring(0,4)+"%g%')");
filterMap1.put("sqlwhere","(lrdwdm like '"+unitMatchstring.substring(0,4)+"%s%' or lrdwdm like '"+unitMatchstring.substring(0,4)+"%S%' or lrdwdm like '"+unitMatchstring.substring(0,4)+"%88____')");
filterMap2.put("sqlwhere","(lrdwdm like '"+unitMatchstring.substring(0,4)+"%G%' or lrdwdm like '"+unitMatchstring.substring(0,4)+"%g%')");
//根据用户等级判断
if(unitgrade==10){//省——>市
...
...
@@ -559,7 +561,7 @@ public class IRycjtjServiceImpl implements IRycjtjService {
filterMap.put("sqlwhere","(code like '"+unit_matchstring.substring(0,4)+"%s%' or code like '"+unit_matchstring.substring(0,4)+"%S%' or code like '"+unit_matchstring.substring(0,4)+"%88____')");
filterMap.put("sqlwhere","(code like '"+unitMatchstring.substring(0,4)+"%s%' or code like '"+unitMatchstring.substring(0,4)+"%S%' or code like '"+unitMatchstring.substring(0,4)+"%88____')");
}elseif(ifslgzd==2){
filterMap.put("sqlwhere","(code like '"+unit_matchstring.substring(0,4)+"%g%' or code like '"+unit_matchstring.substring(0,4)+"%G%')");
filterMap.put("sqlwhere","(code like '"+unitMatchstring.substring(0,4)+"%g%' or code like '"+unitMatchstring.substring(0,4)+"%G%')");
}else{
filterMap.put("sqlwhere","code not like '"+unit_matchstring.substring(0,4)+"%s%' and code not like '"+unit_matchstring.substring(0,4)+"%S%' and code not like '"+unit_matchstring.substring(0,4)+"%G%' and code not like '"+unit_matchstring.substring(0,4)+"%g%' and code not like '"+unit_matchstring.substring(0,4)+"%88____'");
filterMap.put("sqlwhere","code not like '"+unitMatchstring.substring(0,4)+"%s%' and code not like '"+unitMatchstring.substring(0,4)+"%S%' and code not like '"+unitMatchstring.substring(0,4)+"%G%' and code not like '"+unitMatchstring.substring(0,4)+"%g%' and code not like '"+unitMatchstring.substring(0,4)+"%88____'");