Intent myIntent = new Intent();//插入参数
Bundle bundle = new Bundle();
bundle.putInt(Constant.INTENT_ID, event.getOrderId());
bundle.putInt("GroupId",event.getGroupId());
bundle.putInt("OrderId",event.getOrderId());
bundle.putSerializable("list",(Serializable)event.getEmployeeList());
myIntent.putExtras(bundle);
myIntent.setClass(this.getActivity(), SelectRoleActivity.class);
startActivity(myIntent);
Bundle bundle = this.getIntent().getExtras();//读取
groupId = bundle.getInt("GroupId");
orderId = bundle.getInt("OrderId");
rowList = new ArrayList<>();
rowList = (List<Employee>)bundle.getSerializable("list");
employeeId = getPreferenceHelper().getInt(Constant.SHARED_EMPLOYEE_ID, -1);