Merge remote-tracking branch 'origin/0205cmt' into 0205cmt
commit
1881570348
|
@ -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<PageData> varList = mkmjRelationService.getAllCarAndPeopleInfoCountByArea(pd); //列出人闸机信息列表
|
||||
map.put("varList", varList);
|
||||
List<PageData> 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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue