| | |
| | | import android.widget.Toast;
|
| | |
|
| | | import cn.com.basic.face.base.BaseApplication;
|
| | | import cn.com.basic.face.fragment.HomeFragment;
|
| | | import cn.com.basic.face.fragment.CheckInFragment;
|
| | | import cn.com.basic.face.fragment.SupervisoryFragment;
|
| | | import cn.com.basic.face.util.AppApi;
|
| | |
|
| | | import org.xutils.http.RequestParams;
|
| | |
| | | /**
|
| | | * 查询来访人员列表
|
| | | */
|
| | | public void findVisitorList(String pageNum, String name, final boolean isClear) {
|
| | | public void findSupervisoryBottomList(String pageNum, String name, final boolean isClear) {
|
| | | //id,名称,头像路径,联系电话,公司名称,证件编号
|
| | | RequestParams params = new RequestParams(AppApi.BASEURL+AppApi.CheckInQuery);
|
| | | params.addBodyParameter(VisitorQueryCondition.FieldNames.notCompanyId, BaseApplication.getInstance().getPlace().getCompanyId());
|
| | |
| | | /**
|
| | | * 查询来访人员列表
|
| | | */
|
| | | public void findVisitorList() {
|
| | | public void findSupervisoryBottomList() {
|
| | | //id,名称,头像路径,联系电话,公司名称,证件编号
|
| | | RequestParams params = new RequestParams(AppApi.BASEURL+AppApi.CheckInQuery);
|
| | | params.addBodyParameter(VisitorQueryCondition.FieldNames.notCompanyId, BaseApplication.getInstance().getPlace().getCompanyId());
|
| | | x.http().post(params, new BaseCommonCallBack() {
|
| | | public void success() {
|
| | | //HomeFragment.getInstance().visitorListChanged(getList(CheckInQueryItem.class));
|
| | | //SupervisoryFragment.getInstance().visitorListChanged(getList(CheckInQueryItem.class));
|
| | | }
|
| | | });
|
| | | }
|