|
@@ -62,7 +62,7 @@ public class SearchYljgJcxxServiceImpl implements ISearchYljgJcxxService
|
|
public Map<String,Object> selectYljgTj()
|
|
public Map<String,Object> selectYljgTj()
|
|
{
|
|
{
|
|
Map<String,Object> res = new HashMap<>();
|
|
Map<String,Object> res = new HashMap<>();
|
|
- res.put("yljg", gztMapper.selectYljg(SecurityUtils.getUserUnitId()));
|
|
|
|
|
|
+ res.put("yljg", gztMapper.selectYljg(SecurityUtils.getUserToUnitId()));
|
|
return res;
|
|
return res;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -70,7 +70,7 @@ public class SearchYljgJcxxServiceImpl implements ISearchYljgJcxxService
|
|
@Override
|
|
@Override
|
|
public Map<String, Object> selectSqylTj() {
|
|
public Map<String, Object> selectSqylTj() {
|
|
Map<String,Object> res = new HashMap<>();
|
|
Map<String,Object> res = new HashMap<>();
|
|
- res.put("sqylfwjghss", gztMapper.selectYljgSq(SecurityUtils.getUserUnitId()));
|
|
|
|
|
|
+ res.put("sqylfwjghss", gztMapper.selectYljgSq(SecurityUtils.getUserToUnitId()));
|
|
return res;
|
|
return res;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -78,7 +78,7 @@ public class SearchYljgJcxxServiceImpl implements ISearchYljgJcxxService
|
|
@Override
|
|
@Override
|
|
public Map<String, Object> selectDbTj() {
|
|
public Map<String, Object> selectDbTj() {
|
|
Map<String,Object> res = new HashMap<>();
|
|
Map<String,Object> res = new HashMap<>();
|
|
- Map<String,Object> wddb = gztMapper.selectWddb(SecurityUtils.getUserUnitId());
|
|
|
|
|
|
+ Map<String,Object> wddb = gztMapper.selectWddb(SecurityUtils.getUserToUnitId());
|
|
wddb.put("djpd", gztMapper.selectDjpdDbCount(String.valueOf(SecurityUtils.getUserId())));
|
|
wddb.put("djpd", gztMapper.selectDjpdDbCount(String.valueOf(SecurityUtils.getUserId())));
|
|
res.put("wddb", wddb);
|
|
res.put("wddb", wddb);
|
|
return res;
|
|
return res;
|
|
@@ -169,7 +169,7 @@ public class SearchYljgJcxxServiceImpl implements ISearchYljgJcxxService
|
|
Map<String,Object> res = new HashMap<>();
|
|
Map<String,Object> res = new HashMap<>();
|
|
String level = ssMap.get("level");
|
|
String level = ssMap.get("level");
|
|
if ("3".equals(level)) {
|
|
if ("3".equals(level)) {
|
|
- res.put("YljgYyztTj", gztMapper.selectYljgYyztTjQx(SecurityUtils.getUserUnitId()));
|
|
|
|
|
|
+ res.put("YljgYyztTj", gztMapper.selectYljgYyztTjQx(SecurityUtils.getUserToUnitId()));
|
|
} else {
|
|
} else {
|
|
res.put("YljgYyztTj", gztMapper.selectYljgYyztTj(SecurityUtils.getAreaCode()));
|
|
res.put("YljgYyztTj", gztMapper.selectYljgYyztTj(SecurityUtils.getAreaCode()));
|
|
}
|
|
}
|
|
@@ -182,7 +182,7 @@ public class SearchYljgJcxxServiceImpl implements ISearchYljgJcxxService
|
|
Map<String, Object> res = new HashMap<>();
|
|
Map<String, Object> res = new HashMap<>();
|
|
String level = ssMap.get("level");
|
|
String level = ssMap.get("level");
|
|
if ("3".equals(level)) {
|
|
if ("3".equals(level)) {
|
|
- res.put("YljgSqYyztTj", gztMapper.selectYljgSqYyztTjQx(SecurityUtils.getUserUnitId()));
|
|
|
|
|
|
+ res.put("YljgSqYyztTj", gztMapper.selectYljgSqYyztTjQx(SecurityUtils.getUserToUnitId()));
|
|
} else {
|
|
} else {
|
|
res.put("YljgSqYyztTj", gztMapper.selectYljgSqYyztTj(SecurityUtils.getAreaCode()));
|
|
res.put("YljgSqYyztTj", gztMapper.selectYljgSqYyztTj(SecurityUtils.getAreaCode()));
|
|
}
|
|
}
|