|
@@ -287,7 +287,7 @@ public class MaterialReportOverViewServiceImpl implements IMaterialReportOverVie
|
|
|
public PageInfo<JSONObject> getTopDesignList(String startDate, String endDate, String userId, String target, String order, int pageSize, int pageNo) {
|
|
|
PageInfo<JSONObject> result = new PageInfo<>();
|
|
|
Set<String> subordinate = this.recursiveQuerySubordinate(userId);
|
|
|
- if (subordinate.isEmpty()) {
|
|
|
+ if (subordinate.size()==1) {
|
|
|
subordinate = materialReportOverViewMapper.recursiveQuerySubordinateByUserId(userId);
|
|
|
}
|
|
|
PageHelper.startPage(pageNo, pageSize, false);
|