xuxiuxi
2017-04-01 ab21640bc7d6fad0b1f7f119d9562e6436642d72


git-svn-id: http://192.168.1.226/svn/proxy@320 454eff88-639b-444f-9e54-f578c98de674
1个文件已修改
53 ■■■■■ 已修改文件
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/service/CheckInMng.java 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/service/CheckInMng.java
@@ -26,55 +26,7 @@
        return instance;
    }
    /**
     * 查询来访人员列表
     */
    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());
        params.addBodyParameter(VisitorQueryCondition.FieldNames.name, name);
        x.http().post(params, new BaseCommonCallBack() {
            public void success() {
                //CheckInFragment.getInstance().listChanged(getList(CheckInQueryItem.class), isClear);
            }
        });
    }
    /**
     * 查询来访人员列表
     */
    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() {
                //SupervisoryFragment.getInstance().visitorListChanged(getList(CheckInQueryItem.class));
            }
        });
    }
    /**
     * 查询被访问人员列表
     */
    public void findIntervieweeList(String pageNum, String name, final boolean isClear) {
        RequestParams params = new RequestParams(AppApi.BASEURL+AppApi.CheckInQuery);
        params.addBodyParameter(VisitorQueryCondition.FieldNames.companyId, BaseApplication.getInstance().getPlace().getCompanyId());
        params.addBodyParameter(VisitorQueryCondition.FieldNames.name, name);
        x.http().post(params, new BaseCommonCallBack() {
            public void success() {
                //CheckInFragment.getInstance().listChanged(getList(CheckInQueryItem.class), isClear);
            }
        });
    }
    /**
     * 添加访客记录
     * @param params
     */
    public void add(RequestParams params) {
        params.setUri(AppApi.BASEURL+AppApi.CHECK_IN_ADD);
        x.http().post(params, new BaseCommonCallBack() {
            @Override
@@ -82,7 +34,6 @@
                Toast.makeText(BaseApplication.getInstance(),"添加成功", Toast.LENGTH_SHORT).show();
            }
        });
    }
    public void findCheckInLeftList(final boolean isVisitorList, final boolean isSortByDept, String searchText) {
@@ -119,9 +70,5 @@
            }
        });
    }
    /**
     * 查询拜访事由列表
     */
}