diff --git a/src/main/java/com/zcloud/controller/mkmj/MkmjRelationController.java b/src/main/java/com/zcloud/controller/mkmj/MkmjRelationController.java index 25f36574..6a7f76fe 100644 --- a/src/main/java/com/zcloud/controller/mkmj/MkmjRelationController.java +++ b/src/main/java/com/zcloud/controller/mkmj/MkmjRelationController.java @@ -7,6 +7,7 @@ import com.zcloud.service.mkmj.MkmjRelationService; import com.zcloud.util.DateUtil; import com.zcloud.util.Jurisdiction; import com.zcloud.util.Tools; +import org.apache.commons.lang.StringUtils; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; @@ -181,7 +182,14 @@ public class MkmjRelationController extends BaseController { String errInfo = "success"; PageData pd = this.getPageData(); List varList = mkmjRelationService.getAllCarAndPeopleInfoCountByArea(pd); //列出人闸机信息列表 - map.put("varList", varList); + List returnList = new ArrayList<>(); + for(PageData pageData:varList){ + if(StringUtils.equals(pageData.getString("AREA_NAME"),"辅建区")&&StringUtils.equals(pageData.getString("TYPE"),"person")){ + continue; + } + returnList.add(pageData); + } + map.put("varList", returnList); map.put("result", errInfo); return map; }