private void getLoadData() { for (int i = 0; i < 2; i++) { PatroledTask entity = new PatroledTask(); entity.setTaskName("B片区巡检"); entity.setTaskArea("B片区"); entity.setExecuteMan("李弘一"); entity.setDeadline("2015-9-1"); entity.setFinalState(1); patroledList.add(entity); } }
private void getData() { for (int i = 0; i < 10; i++) { PatroledTask entity = new PatroledTask(); entity.setTaskName("A片区巡检"); entity.setTaskArea("A片区"); entity.setExecuteMan("张默默"); entity.setDeadline("2015-8-15"); entity.setFinalState(0); patroledList.add(entity); } }