git-svn-id: http://192.168.1.226/svn/proxy@394 454eff88-639b-444f-9e54-f578c98de674
| | |
| | | fragment_visit_left_person_row_check_box.setChecked(true);
|
| | | }
|
| | |
|
| | | fragment_visit_left_person_row_name.setText(item.getName());
|
| | | fragment_visit_left_person_row_name.setText(item.getUsername());
|
| | |
|
| | | //fragment_visit_left_person_row_status.setText(item.getStatus());
|
| | | fragment_visit_left_person_row_photo.setImageURI(AppApi.IMAGE_URL_BASE +item.getImagePath());
|
| | |
| | | Object data = getList().get(position);
|
| | | if (data instanceof CheckInQueryItem) {
|
| | | CheckInQueryItem item = (CheckInQueryItem) data;
|
| | | fragment_check_in_left_visitor_row_name.setText(item.getName());
|
| | | fragment_check_in_left_visitor_row_name.setText(item.getUsername());
|
| | | fragment_check_in_left_visitor_row_photo.setImageURI(Uri.parse(AppApi.IMAGE_URL_BASE + item.getImagePath()));
|
| | | }
|
| | | }
|
| | |
| | | Object data = getList().get(position);
|
| | | if (data instanceof CheckInQueryItem) {
|
| | | CheckInQueryItem item = (CheckInQueryItem) data;
|
| | | fragment_check_in_left_interviewee_row_name.setText(item.getName());
|
| | | fragment_check_in_left_interviewee_row_name.setText(item.getUsername());
|
| | | fragment_check_in_left_interviewee_row_dept.setText(item.getDeptName());
|
| | | fragment_check_in_left_interviewee_row_photo.setImageURI(Uri.parse(AppApi.IMAGE_URL_BASE + item.getImagePath()));
|
| | | }
|
| | |
| | | fragment_phone_call_left_row_dept.setTextColor(MainActivity.getInstance().getResources().getColor(R.color.colorText_b));
|
| | | }
|
| | | final PhoneCallQueryItem item = getItem(position);
|
| | | fragment_phone_call_left_row_name.setText(item.getName());
|
| | | fragment_phone_call_left_row_name.setText(item.getUsername());
|
| | | fragment_phone_call_left_row_dept.setText(item.getDeptName());
|
| | | SimpleDraweeView fragment_phone_call_left_row_photo = viewHolder.findViewById(R.id.fragment_phone_call_left_row_photo);
|
| | | fragment_phone_call_left_row_photo.setImageURI(AppApi.IMAGE_URL_BASE +item.getImagePath());
|
| | |
| | | if (lastIndex == position) {
|
| | | fragment_visit_left_person_row_check_box.setChecked(true);
|
| | | }
|
| | | fragment_visit_left_person_row_name.setText(item.getName());
|
| | | fragment_visit_left_person_row_status.setText(item.getStatus());
|
| | | fragment_visit_left_person_row_name.setText(item.getUsername());
|
| | | fragment_visit_left_person_row_status.setText("");
|
| | | fragment_visit_left_person_row_photo.setImageURI(AppApi.IMAGE_URL_BASE +item.getImagePath());
|
| | |
|
| | | View fragment_visit_left_line = viewHolder.findViewById(R.id.fragment_visit_left_line);
|
| | |
| | |
|
| | | public class AttendanceQueryItem {
|
| | |
|
| | | // 证件编号
|
| | | private String identifyNum;
|
| | | // 人员主键
|
| | | private String registerId;
|
| | | // 人员名字
|
| | | private String name;
|
| | | // 名称
|
| | | private String gender;
|
| | | // 职位名称
|
| | | private String postName;
|
| | | // 部门名称
|
| | | private String deptName;
|
| | | private String username;
|
| | | // 图片地址
|
| | | private String imagePath;
|
| | | // 公司名称
|
| | | private String companyName;
|
| | | // 座机电话
|
| | | private String tel;
|
| | | // 证件编号
|
| | | private String identifyNum;
|
| | | // 部门名称
|
| | | private String deptName;
|
| | | // 公司主键
|
| | | private String companyId;
|
| | | // 职位名称
|
| | | private String postName;
|
| | | // 移动电话
|
| | | private String mobilePhone;
|
| | | // |
| | | private String type;
|
| | |
|
| | | /**
|
| | | * Get 人员主键
|
| | | */
|
| | | public String getRegisterId() {
|
| | | return registerId;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 人员主键
|
| | | */
|
| | | public void setRegisterId(String registerId) {
|
| | | this.registerId = registerId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 人员名字
|
| | | */
|
| | | public String getUsername() {
|
| | | return username;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 人员名字
|
| | | */
|
| | | public void setUsername(String username) {
|
| | | this.username = username;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 图片地址
|
| | | */
|
| | | public String getImagePath() {
|
| | | return imagePath;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 图片地址
|
| | | */
|
| | | public void setImagePath(String imagePath) {
|
| | | this.imagePath = imagePath;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 公司名称
|
| | | */
|
| | | public String getCompanyName() {
|
| | | return companyName;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 公司名称
|
| | | */
|
| | | public void setCompanyName(String companyName) {
|
| | | this.companyName = companyName;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 座机电话
|
| | | */
|
| | | public String getTel() {
|
| | | return tel;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 座机电话
|
| | | */
|
| | | public void setTel(String tel) {
|
| | | this.tel = tel;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 证件编号
|
| | |
| | | */
|
| | | public void setIdentifyNum(String identifyNum) {
|
| | | this.identifyNum = identifyNum;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 人员名字
|
| | | */
|
| | | public String getName() {
|
| | | return name;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 人员名字
|
| | | */
|
| | | public void setName(String name) {
|
| | | this.name = name;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 名称
|
| | | */
|
| | | public String getGender() {
|
| | | return gender;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 名称
|
| | | */
|
| | | public void setGender(String gender) {
|
| | | this.gender = gender;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 职位名称
|
| | | */
|
| | | public String getPostName() {
|
| | | return postName;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 职位名称
|
| | | */
|
| | | public void setPostName(String postName) {
|
| | | this.postName = postName;
|
| | | }
|
| | |
|
| | | /**
|
| | |
| | | }
|
| | |
|
| | | /**
|
| | | * Get 图片地址
|
| | | * Get 公司主键
|
| | | */
|
| | | public String getImagePath() {
|
| | | return imagePath;
|
| | | public String getCompanyId() {
|
| | | return companyId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 图片地址
|
| | | * Set 公司主键
|
| | | */
|
| | | public void setImagePath(String imagePath) {
|
| | | this.imagePath = imagePath;
|
| | | public void setCompanyId(String companyId) {
|
| | | this.companyId = companyId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 职位名称
|
| | | */
|
| | | public String getPostName() {
|
| | | return postName;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 职位名称
|
| | | */
|
| | | public void setPostName(String postName) {
|
| | | this.postName = postName;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 移动电话
|
| | | */
|
| | | public String getMobilePhone() {
|
| | | return mobilePhone;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 移动电话
|
| | | */
|
| | | public void setMobilePhone(String mobilePhone) {
|
| | | this.mobilePhone = mobilePhone;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get |
| | | */
|
| | | public String getType() {
|
| | | return type;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set |
| | | */
|
| | | public void setType(String type) {
|
| | | this.type = type;
|
| | | }
|
| | |
|
| | | public String toString() {
|
| | | return
|
| | | ",证件编号 =" + identifyNum + ",人员名字 =" + name + ",名称 =" + gender + |
| | | ",职位名称 =" + postName + ",部门名称 =" + deptName + ",图片地址 =" + imagePath |
| | | ;
|
| | | ",人员主键 =" + registerId + ",人员名字 =" + username + ",图片地址 =" + imagePath + |
| | | ",公司名称 =" + companyName + ",座机电话 =" + tel + ",证件编号 =" + identifyNum + |
| | | ",部门名称 =" + deptName + ",公司主键 =" + companyId + ",职位名称 =" + postName + |
| | | ",移动电话 =" + mobilePhone + ", =" + type ;
|
| | | }
|
| | | }
|
| | |
| | | public class CheckInQueryItem {
|
| | |
|
| | | // 人员主键
|
| | | private String id;
|
| | | private String registerId;
|
| | | // 人员名字
|
| | | private String name;
|
| | | private String username;
|
| | | // 图片地址
|
| | | private String imagePath;
|
| | | // 公司名称
|
| | | private String companyName;
|
| | | // 座机电话
|
| | | private String phone;
|
| | | private String tel;
|
| | | // 证件编号
|
| | | private String identify;
|
| | | private String identifyNum;
|
| | | // 部门名称
|
| | | private String deptName;
|
| | | // 公司主键
|
| | |
| | | // 移动电话
|
| | | private String mobilePhone;
|
| | | //
|
| | | private int type;
|
| | | private String type;
|
| | |
|
| | | /**
|
| | | * Get 人员主键
|
| | | */
|
| | | public String getId() {
|
| | | return id;
|
| | | public String getRegisterId() {
|
| | | return registerId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 人员主键
|
| | | */
|
| | | public void setId(String id) {
|
| | | this.id = id;
|
| | | public void setRegisterId(String registerId) {
|
| | | this.registerId = registerId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 人员名字
|
| | | */
|
| | | public String getName() {
|
| | | return name;
|
| | | public String getUsername() {
|
| | | return username;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 人员名字
|
| | | */
|
| | | public void setName(String name) {
|
| | | this.name = name;
|
| | | public void setUsername(String username) {
|
| | | this.username = username;
|
| | | }
|
| | |
|
| | | /**
|
| | |
| | | /**
|
| | | * Get 座机电话
|
| | | */
|
| | | public String getPhone() {
|
| | | return phone;
|
| | | public String getTel() {
|
| | | return tel;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 座机电话
|
| | | */
|
| | | public void setPhone(String phone) {
|
| | | this.phone = phone;
|
| | | public void setTel(String tel) {
|
| | | this.tel = tel;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 证件编号
|
| | | */
|
| | | public String getIdentify() {
|
| | | return identify;
|
| | | public String getIdentifyNum() {
|
| | | return identifyNum;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 证件编号
|
| | | */
|
| | | public void setIdentify(String identify) {
|
| | | this.identify = identify;
|
| | | public void setIdentifyNum(String identifyNum) {
|
| | | this.identifyNum = identifyNum;
|
| | | }
|
| | |
|
| | | /**
|
| | |
| | | /**
|
| | | * Get
|
| | | */
|
| | | public int getType() {
|
| | | public String getType() {
|
| | | return type;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set
|
| | | */
|
| | | public void setType(int type) {
|
| | | public void setType(String type) {
|
| | | this.type = type;
|
| | | }
|
| | |
|
| | | public String toString() {
|
| | | return
|
| | | ",人员主键 =" + id + ",人员名字 =" + name + ",图片地址 =" + imagePath +
|
| | | ",公司名称 =" + companyName + ",座机电话 =" + phone + ",证件编号 =" + identify +
|
| | | ",人员主键 =" + registerId + ",人员名字 =" + username + ",图片地址 =" + imagePath + |
| | | ",公司名称 =" + companyName + ",座机电话 =" + tel + ",证件编号 =" + identifyNum + |
| | | ",部门名称 =" + deptName + ",公司主键 =" + companyId + ",职位名称 =" + postName +
|
| | | ",移动电话 =" + mobilePhone + ", =" + type ;
|
| | | }
|
New file |
| | |
| | | package cn.com.basic.face.discern.query.item;
|
| | |
|
| | |
|
| | | public class DeviceQueryItem {
|
| | |
|
| | | // 设备主键
|
| | | private String id;
|
| | | // 公司主键
|
| | | private String companyId;
|
| | | // 设备地点
|
| | | private String deviceName;
|
| | | // 设备授权码
|
| | | private String authorizationId;
|
| | |
|
| | | /**
|
| | | * Get 设备主键
|
| | | */
|
| | | public String getId() {
|
| | | return id;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 设备主键
|
| | | */
|
| | | public void setId(String id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 公司主键
|
| | | */
|
| | | public String getCompanyId() {
|
| | | return companyId;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 公司主键
|
| | | */
|
| | | public void setCompanyId(String companyId) {
|
| | | this.companyId = companyId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 设备地点
|
| | | */
|
| | | public String getDeviceName() {
|
| | | return deviceName;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 设备地点
|
| | | */
|
| | | public void setDeviceName(String deviceName) {
|
| | | this.deviceName = deviceName;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 设备授权码
|
| | | */
|
| | | public String getAuthorizationId() {
|
| | | return authorizationId;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 设备授权码
|
| | | */
|
| | | public void setAuthorizationId(String authorizationId) {
|
| | | this.authorizationId = authorizationId;
|
| | | }
|
| | |
|
| | | public String toString() {
|
| | | return |
| | | ",设备主键 =" + id + ",公司主键 =" + companyId + ",设备地点 =" + deviceName + |
| | | ",设备授权码 ="+ authorizationId;
|
| | | }
|
| | | }
|
| | |
| | | public class PhoneCallQueryItem {
|
| | |
|
| | | // 人员主键
|
| | | private String id;
|
| | | private String registerId;
|
| | | // 人员名字
|
| | | private String name;
|
| | | private String username;
|
| | | // 图片地址
|
| | | private String imagePath;
|
| | | // 公司名称
|
| | |
| | | /**
|
| | | * Get 人员主键
|
| | | */
|
| | | public String getId() {
|
| | | return id;
|
| | | public String getRegisterId() {
|
| | | return registerId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 人员主键
|
| | | */
|
| | | public void setId(String id) {
|
| | | this.id = id;
|
| | | public void setRegisterId(String registerId) {
|
| | | this.registerId = registerId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 人员名字
|
| | | */
|
| | | public String getName() {
|
| | | return name;
|
| | | public String getUsername() {
|
| | | return username;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 人员名字
|
| | | */
|
| | | public void setName(String name) {
|
| | | this.name = name;
|
| | | public void setUsername(String username) {
|
| | | this.username = username;
|
| | | }
|
| | |
|
| | | /**
|
| | |
| | |
|
| | | public String toString() {
|
| | | return
|
| | | ",人员主键 =" + id + ",人员名字 =" + name + ",图片地址 =" + imagePath + |
| | | ",人员主键 =" + registerId + ",人员名字 =" + username + ",图片地址 =" + imagePath + |
| | | ",公司名称 =" + companyName + ",座机电话 =" + tel + ",证件编号 =" + identifyNum +
|
| | | ",部门名称 =" + deptName + ",公司主键 =" + companyId + ",职位名称 =" + postName +
|
| | | ",移动电话 =" + mobilePhone + ", =" + type ;
|
New file |
| | |
| | | package cn.com.basic.face.discern.query.item;
|
| | |
|
| | |
|
| | | public class RegisterQueryItem {
|
| | |
|
| | | // 人员主键
|
| | | private String registerId;
|
| | | // 人员名字
|
| | | private String username;
|
| | | // 图片地址
|
| | | private String imagePath;
|
| | | // 公司名称
|
| | | private String companyName;
|
| | | // 座机电话
|
| | | private String tel;
|
| | | // 证件编号
|
| | | private String identifyNum;
|
| | | // 部门名称
|
| | | private String deptName;
|
| | | // 公司主键
|
| | | private String companyId;
|
| | | // 职位名称
|
| | | private String postName;
|
| | | // 移动电话
|
| | | private String mobilePhone;
|
| | | // |
| | | private String type;
|
| | |
|
| | | /**
|
| | | * Get 人员主键
|
| | | */
|
| | | public String getRegisterId() {
|
| | | return registerId;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 人员主键
|
| | | */
|
| | | public void setRegisterId(String registerId) {
|
| | | this.registerId = registerId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 人员名字
|
| | | */
|
| | | public String getUsername() {
|
| | | return username;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 人员名字
|
| | | */
|
| | | public void setUsername(String username) {
|
| | | this.username = username;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 图片地址
|
| | | */
|
| | | public String getImagePath() {
|
| | | return imagePath;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 图片地址
|
| | | */
|
| | | public void setImagePath(String imagePath) {
|
| | | this.imagePath = imagePath;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 公司名称
|
| | | */
|
| | | public String getCompanyName() {
|
| | | return companyName;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 公司名称
|
| | | */
|
| | | public void setCompanyName(String companyName) {
|
| | | this.companyName = companyName;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 座机电话
|
| | | */
|
| | | public String getTel() {
|
| | | return tel;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 座机电话
|
| | | */
|
| | | public void setTel(String tel) {
|
| | | this.tel = tel;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 证件编号
|
| | | */
|
| | | public String getIdentifyNum() {
|
| | | return identifyNum;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 证件编号
|
| | | */
|
| | | public void setIdentifyNum(String identifyNum) {
|
| | | this.identifyNum = identifyNum;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 部门名称
|
| | | */
|
| | | public String getDeptName() {
|
| | | return deptName;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 部门名称
|
| | | */
|
| | | public void setDeptName(String deptName) {
|
| | | this.deptName = deptName;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 公司主键
|
| | | */
|
| | | public String getCompanyId() {
|
| | | return companyId;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 公司主键
|
| | | */
|
| | | public void setCompanyId(String companyId) {
|
| | | this.companyId = companyId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 职位名称
|
| | | */
|
| | | public String getPostName() {
|
| | | return postName;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 职位名称
|
| | | */
|
| | | public void setPostName(String postName) {
|
| | | this.postName = postName;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 移动电话
|
| | | */
|
| | | public String getMobilePhone() {
|
| | | return mobilePhone;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 移动电话
|
| | | */
|
| | | public void setMobilePhone(String mobilePhone) {
|
| | | this.mobilePhone = mobilePhone;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get |
| | | */
|
| | | public String getType() {
|
| | | return type;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set |
| | | */
|
| | | public void setType(String type) {
|
| | | this.type = type;
|
| | | }
|
| | |
|
| | | public String toString() {
|
| | | return |
| | | ",人员主键 =" + registerId + ",人员名字 =" + username + ",图片地址 =" + imagePath + |
| | | ",公司名称 =" + companyName + ",座机电话 =" + tel + ",证件编号 =" + identifyNum + |
| | | ",部门名称 =" + deptName + ",公司主键 =" + companyId + ",职位名称 =" + postName + |
| | | ",移动电话 =" + mobilePhone + ", =" + type ;
|
| | | }
|
| | | }
|
| | |
| | | package cn.com.basic.face.discern.query.item;
|
| | |
|
| | | import java.util.Date;
|
| | |
|
| | |
|
| | | public class VisitQueryItem {
|
| | |
|
| | | // 人员主键
|
| | | private String registerId;
|
| | | // 人员名字
|
| | | private String name;
|
| | | // 移动电话
|
| | | private String mobilePhone;
|
| | | // 名称
|
| | | private String gender;
|
| | | // 名称
|
| | | private String identityType;
|
| | | // 名称
|
| | | private String countryName;
|
| | | // 证件编号
|
| | | private String identifyNum;
|
| | | // 出生日期
|
| | | private String birthday;
|
| | | // 公司名称
|
| | | private String compnayName;
|
| | | // 人员名字
|
| | | private String toPerson;
|
| | | // 来访时间
|
| | | private String startTime;
|
| | | // 签离时间
|
| | | private String lastTime;
|
| | | // 访问事由
|
| | | private String bfsq;
|
| | | // 部门名称
|
| | | private String deptName;
|
| | | // 最新的访问状态
|
| | | private String status;
|
| | | private String username;
|
| | | // 图片地址
|
| | | private String imagePath;
|
| | | // 公司名称
|
| | | private String companyName;
|
| | | // 座机电话
|
| | | private String tel;
|
| | | // 证件编号
|
| | | private String identifyNum;
|
| | | // 部门名称
|
| | | private String deptName;
|
| | | // 公司主键
|
| | | private String companyId;
|
| | | // 职位名称
|
| | | private String postName;
|
| | | // 移动电话
|
| | | private String mobilePhone;
|
| | | // |
| | | private String type;
|
| | |
|
| | | /**
|
| | | * Get 人员主键
|
| | | */
|
| | | public String getRegisterId() {
|
| | | return registerId;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 人员主键
|
| | | */
|
| | | public void setRegisterId(String registerId) {
|
| | | this.registerId = registerId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 人员名字
|
| | | */
|
| | | public String getName() {
|
| | | return name;
|
| | | public String getUsername() {
|
| | | return username;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 人员名字
|
| | | */
|
| | | public void setName(String name) {
|
| | | this.name = name;
|
| | | public void setUsername(String username) {
|
| | | this.username = username;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 移动电话
|
| | | * Get 图片地址
|
| | | */
|
| | | public String getMobilePhone() {
|
| | | return mobilePhone;
|
| | | public String getImagePath() {
|
| | | return imagePath;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 移动电话
|
| | | * Set 图片地址
|
| | | */
|
| | | public void setMobilePhone(String mobilePhone) {
|
| | | this.mobilePhone = mobilePhone;
|
| | | public void setImagePath(String imagePath) {
|
| | | this.imagePath = imagePath;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 名称
|
| | | * Get 公司名称
|
| | | */
|
| | | public String getGender() {
|
| | | return gender;
|
| | | public String getCompanyName() {
|
| | | return companyName;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 名称
|
| | | * Set 公司名称
|
| | | */
|
| | | public void setGender(String gender) {
|
| | | this.gender = gender;
|
| | | public void setCompanyName(String companyName) {
|
| | | this.companyName = companyName;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 名称
|
| | | * Get 座机电话
|
| | | */
|
| | | public String getIdentityType() {
|
| | | return identityType;
|
| | | public String getTel() {
|
| | | return tel;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 名称
|
| | | * Set 座机电话
|
| | | */
|
| | | public void setIdentityType(String identityType) {
|
| | | this.identityType = identityType;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 名称
|
| | | */
|
| | | public String getCountryName() {
|
| | | return countryName;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 名称
|
| | | */
|
| | | public void setCountryName(String countryName) {
|
| | | this.countryName = countryName;
|
| | | public void setTel(String tel) {
|
| | | this.tel = tel;
|
| | | }
|
| | |
|
| | | /**
|
| | |
| | | }
|
| | |
|
| | | /**
|
| | | * Get 出生日期
|
| | | */
|
| | | public String getBirthday() {
|
| | | return birthday;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 出生日期
|
| | | */
|
| | | public void setBirthday(String birthday) {
|
| | | this.birthday = birthday;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 公司名称
|
| | | */
|
| | | public String getCompnayName() {
|
| | | return compnayName;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 公司名称
|
| | | */
|
| | | public void setCompnayName(String compnayName) {
|
| | | this.compnayName = compnayName;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 人员名字
|
| | | */
|
| | | public String getToPerson() {
|
| | | return toPerson;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 人员名字
|
| | | */
|
| | | public void setToPerson(String toPerson) {
|
| | | this.toPerson = toPerson;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 来访时间
|
| | | */
|
| | | public String getStartTime() {
|
| | | return startTime;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 来访时间
|
| | | */
|
| | | public void setStartTime(String startTime) {
|
| | | this.startTime = startTime;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 签离时间
|
| | | */
|
| | | public String getLastTime() {
|
| | | return lastTime;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 签离时间
|
| | | */
|
| | | public void setLastTime(String lastTime) {
|
| | | this.lastTime = lastTime;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 访问事由
|
| | | */
|
| | | public String getBfsq() {
|
| | | return bfsq;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 访问事由
|
| | | */
|
| | | public void setBfsq(String bfsq) {
|
| | | this.bfsq = bfsq;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 部门名称
|
| | | */
|
| | | public String getDeptName() {
|
| | |
| | | }
|
| | |
|
| | | /**
|
| | | * Get 最新的访问状态
|
| | | * Get 公司主键
|
| | | */
|
| | | public String getStatus() {
|
| | | return status;
|
| | | public String getCompanyId() {
|
| | | return companyId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 最新的访问状态
|
| | | * Set 公司主键
|
| | | */
|
| | | public void setStatus(String status) {
|
| | | this.status = status;
|
| | | public void setCompanyId(String companyId) {
|
| | | this.companyId = companyId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 图片地址
|
| | | * Get 职位名称
|
| | | */
|
| | | public String getImagePath() {
|
| | | return imagePath;
|
| | | public String getPostName() {
|
| | | return postName;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 图片地址
|
| | | * Set 职位名称
|
| | | */
|
| | | public void setImagePath(String imagePath) {
|
| | | this.imagePath = imagePath;
|
| | | public void setPostName(String postName) {
|
| | | this.postName = postName;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 移动电话
|
| | | */
|
| | | public String getMobilePhone() {
|
| | | return mobilePhone;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set 移动电话
|
| | | */
|
| | | public void setMobilePhone(String mobilePhone) {
|
| | | this.mobilePhone = mobilePhone;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get |
| | | */
|
| | | public String getType() {
|
| | | return type;
|
| | | }
|
| | | |
| | | /**
|
| | | * Set |
| | | */
|
| | | public void setType(String type) {
|
| | | this.type = type;
|
| | | }
|
| | |
|
| | | public String toString() {
|
| | | return
|
| | | ",人员名字 =" + name + ",移动电话 =" + mobilePhone + ",名称 =" + gender +
|
| | | ",名称 =" + identityType + ",名称 =" + countryName + ",证件编号 =" + identifyNum +
|
| | | ",出生日期 =" + birthday + ",公司名称 =" + compnayName + ",人员名字 =" + toPerson +
|
| | | ",来访时间 =" + startTime + ",签离时间 =" + lastTime + ",访问事由 =" + bfsq +
|
| | | ",部门名称 =" + deptName + ",最新的访问状态 ="+ status + ",图片地址 =" + imagePath
|
| | | ;
|
| | | ",人员主键 =" + registerId + ",人员名字 =" + username + ",图片地址 =" + imagePath + |
| | | ",公司名称 =" + companyName + ",座机电话 =" + tel + ",证件编号 =" + identifyNum + |
| | | ",部门名称 =" + deptName + ",公司主键 =" + companyId + ",职位名称 =" + postName + |
| | | ",移动电话 =" + mobilePhone + ", =" + type ;
|
| | | }
|
| | | }
|
| | |
| | |
|
| | | public void setVisitorInfo(AttendanceQueryItem item) {
|
| | | fragment_attendance_right_id_num.setText(item.getIdentifyNum());
|
| | | fragment_attendance_right_name.setText(item.getName());
|
| | | fragment_attendance_right_gender.setText(item.getGender());
|
| | | fragment_attendance_right_name.setText(item.getUsername());
|
| | | fragment_attendance_right_gender.setText("");
|
| | | fragment_attendance_right_post.setText(item.getPostName());
|
| | | fragment_attendance_right_dept.setText(item.getDeptName());
|
| | | fragment_attendance_right_photo.setImageURI(AppApi.IMAGE_URL_BASE +item.getImagePath());
|
| | |
| | | RequestParams params = new RequestParams();
|
| | | params.addBodyParameter(Visit.FieldNames.matterId, DictionaryMng.getInstance().getId(CommonVariables.DictionaryType.VISIT_REASON + fragment_check_in_right_visitor_reason.getText().toString()));
|
| | | params.addBodyParameter(Visit.FieldNames.remark, fragment_check_in_right_remark.getText().toString());
|
| | | params.addBodyParameter(Visit.FieldNames.visitorPersonId, visitor.getId());
|
| | | params.addBodyParameter(Visit.FieldNames.visiteePersonId, interviewee.getId());
|
| | | params.addBodyParameter(Visit.FieldNames.visitorPersonId, visitor.getRegisterId());
|
| | | params.addBodyParameter(Visit.FieldNames.visiteePersonId, interviewee.getRegisterId());
|
| | | params.addBodyParameter(Visit.FieldNames.visitorCompanyId, visitor.getCompanyId());
|
| | | params.addBodyParameter(Visit.FieldNames.visiteeCompanyId, interviewee.getCompanyId());
|
| | |
|
| | |
| | | }
|
| | |
|
| | | public void setVisitInfo(VisitQueryItem item) {
|
| | | fragment_visit_right_name.setText(item.getName());
|
| | | fragment_visit_right_name.setText(item.getUsername());
|
| | | fragment_visit_right_phone.setText(item.getMobilePhone());
|
| | | fragment_visit_right_gender.setText(item.getGender());
|
| | | fragment_visit_right_id_type.setText(item.getIdentityType());
|
| | | fragment_visit_right_country.setText(item.getCountryName());
|
| | | fragment_visit_right_id_num.setText(item.getIdentifyNum());
|
| | | fragment_visit_right_birthday.setText(item.getBirthday());
|
| | | fragment_visit_right_company.setText(item.getCompnayName());
|
| | | fragment_visit_right_person.setText(item.getToPerson());
|
| | | fragment_visit_right_visit_reason.setText(item.getBfsq());
|
| | | fragment_visit_right_from_dept.setText(item.getDeptName());
|
| | | fragment_visit_right_status.setText(item.getStatus());
|
| | | fragment_visit_right_visit_time.setText(item.getStartTime());
|
| | | fragment_visit_right_exit_time.setText(item.getLastTime());
|
| | | // fragment_visit_right_gender.setText(item.);
|
| | | // fragment_visit_right_id_type.setText(item.getIdentityType());
|
| | | // fragment_visit_right_country.setText(item.getCountryName());
|
| | | // fragment_visit_right_id_num.setText(item.getIdentifyNum());
|
| | | // fragment_visit_right_birthday.setText(item.getBirthday());
|
| | | // fragment_visit_right_company.setText(item.getCompnayName());
|
| | | // fragment_visit_right_person.setText(item.getToPerson());
|
| | | // fragment_visit_right_visit_reason.setText(item.getBfsq());
|
| | | // fragment_visit_right_from_dept.setText(item.getDeptName());
|
| | | // fragment_visit_right_status.setText(item.getStatus());
|
| | | // fragment_visit_right_visit_time.setText(item.getStartTime());
|
| | | // fragment_visit_right_exit_time.setText(item.getLastTime());
|
| | | fragment_visit_right_head_photo.setImageURI(AppApi.IMAGE_URL_BASE +item.getImagePath());
|
| | | fragment_visit_right_card_photo.setImageURI(AppApi.IMAGE_URL_BASE +item.getImagePath());
|
| | | }
|
| | |
| | | if (isSortByDept) {
|
| | | name = CharacterParser.getInstance().getSelling(item.getDeptName()).substring(0, 1);
|
| | | } else {
|
| | | name = CharacterParser.getInstance().getSelling(item.getName()).substring(0, 1);
|
| | | name = CharacterParser.getInstance().getSelling(item.getUsername()).substring(0, 1);
|
| | | }
|
| | | if (!name.equals(prev)) {
|
| | | allItems.add(name);
|
| | |
| | | return dept1Name_a.compareTo(dept1Name_b);
|
| | | }
|
| | | }
|
| | | String name1 = t1.getName()==null?"":t1.getName();
|
| | | String name2 = t2.getName()==null?"":t2.getName();
|
| | | String name1 = t1.getUsername()==null?"":t1.getUsername();
|
| | | String name2 = t2.getUsername()==null?"":t2.getUsername();
|
| | | String dept1Name_a = CharacterParser.getInstance().getSelling(name1).toLowerCase();
|
| | | String dept1Name_b = CharacterParser.getInstance().getSelling(name2).toLowerCase();
|
| | | return dept1Name_a.compareTo(dept1Name_b);
|
| | |
| | | if (isSortByDept) {
|
| | | name = CharacterParser.getInstance().getSelling(item.getDeptName()).substring(0, 1);
|
| | | } else {
|
| | | name = CharacterParser.getInstance().getSelling(item.getName()).substring(0, 1);
|
| | | name = CharacterParser.getInstance().getSelling(item.getUsername()).substring(0, 1);
|
| | | }
|
| | | if (!name.equals(prev)) {
|
| | | allItems.add(name);
|
| | |
| | | return dept1Name_a.compareTo(dept1Name_b);
|
| | | }
|
| | | }
|
| | | String name1 = t1.getName()==null?"":t1.getName();
|
| | | String name2 = t2.getName()==null?"":t2.getName();
|
| | | String name1 = t1.getUsername()==null?"":t1.getUsername();
|
| | | String name2 = t2.getUsername()==null?"":t2.getUsername();
|
| | | String dept1Name_a = CharacterParser.getInstance().getSelling(name1).toLowerCase();
|
| | | String dept1Name_b = CharacterParser.getInstance().getSelling(name2).toLowerCase();
|
| | | return dept1Name_a.compareTo(dept1Name_b);
|
| | |
| | |
|
| | | public final static String SURVEILLANCE_QUERY = "queryCheckIn/v_list.do";
|
| | |
|
| | | public final static String REGISTER_QUERY = "queryRegistry/v_list.do";
|
| | | public final static String REGISTER_QUERY = "queryRegister/v_list.do";
|
| | |
|
| | | public final static String CHECK_IN_QUERY = "queryCheckIn/v_list.do";
|
| | |
|
| | |
| | | public void setIntervieweeInfo(final CheckInQueryItem item) {
|
| | | if (item == null) return;
|
| | | this.item = item;
|
| | | fragment_check_in_right_interviewee_cell_name.setText(item.getName());
|
| | | fragment_check_in_right_interviewee_cell_name.setText(item.getUsername());
|
| | | fragment_check_in_right_interviewee_cell_dept.setText(item.getDeptName());
|
| | | fragment_check_in_right_interviewee_cell_post.setText(item.getPostName());
|
| | | fragment_check_in_right_interviewee_cell_photo.setImageURI(Uri.parse(AppApi.IMAGE_URL_BASE + item.getImagePath()));
|
| | |
| | |
|
| | | @OnClick(R.id.fragment_check_in_right_interviewee_cell_call_tel)
|
| | | public void fragment_check_in_right_interviewee_cell_call_tel_click(View view) {
|
| | | Toast.makeText(MainActivity.getInstance(), "正在呼叫座机"+item.getPhone(), Toast.LENGTH_SHORT).show();
|
| | | Toast.makeText(MainActivity.getInstance(), "正在呼叫座机"+item.getMobilePhone(), Toast.LENGTH_SHORT).show();
|
| | | }
|
| | |
|
| | | @OnClick(R.id.fragment_check_in_right_interviewee_cell_call_mobile)
|
| | | public void fragment_check_in_right_interviewee_cell_call_mobile_click(View view) {
|
| | | Toast.makeText(MainActivity.getInstance(), "正在呼叫手机"+item.getPhone(), Toast.LENGTH_SHORT).show();
|
| | | Toast.makeText(MainActivity.getInstance(), "正在呼叫手机"+item.getMobilePhone(), Toast.LENGTH_SHORT).show();
|
| | | }
|
| | |
|
| | | }
|
| | |
| | |
|
| | | public void setVisitorInfo(CheckInQueryItem item) {
|
| | | this.item = item;
|
| | | fragment_check_in_right_visitor_cell_name.setText(item.getName());
|
| | | fragment_check_in_right_visitor_cell_name.setText(item.getUsername());
|
| | | fragment_check_in_right_visitor_cell_company_name.setText(item.getCompanyName());
|
| | | fragment_check_in_right_visitor_cell_identity_number.setText(item.getIdentify());
|
| | | fragment_check_in_right_visitor_cell_mobile_phone.setText(item.getPhone());
|
| | | fragment_check_in_right_visitor_cell_identity_number.setText(item.getIdentifyNum());
|
| | | fragment_check_in_right_visitor_cell_mobile_phone.setText(item.getMobilePhone());
|
| | | fragment_check_in_right_visitor_cell_photo.setImageURI(Uri.parse(AppApi.IMAGE_URL_BASE + item.getImagePath()));
|
| | | }
|
| | |
|
| | |
| | | public void setIntervieweeInfo(final PhoneCallQueryItem item) {
|
| | | if (item == null) return;
|
| | | this.item = item;
|
| | | fragment_check_in_right_interviewee_cell_name.setText(item.getName());
|
| | | fragment_check_in_right_interviewee_cell_name.setText(item.getUsername());
|
| | | fragment_check_in_right_interviewee_cell_dept.setText(item.getDeptName());
|
| | | fragment_check_in_right_interviewee_cell_post.setText(item.getPostName());
|
| | | fragment_check_in_right_interviewee_cell_photo.setImageURI(Uri.parse(AppApi.IMAGE_URL_BASE + item.getImagePath()));
|