VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/adapter/AttendanceFragment.java
@@ -74,7 +74,7 @@ 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()); VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/adapter/CheckInFragment.java
@@ -54,7 +54,7 @@ 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())); } } @@ -90,7 +90,7 @@ 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())); } VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/adapter/PhoneCallFragment.java
@@ -42,7 +42,7 @@ 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()); VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/adapter/VisitFragment.java
@@ -52,8 +52,8 @@ 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); VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/query/item/AttendanceQueryItem.java
@@ -3,18 +3,98 @@ 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 证件编号 @@ -28,48 +108,6 @@ */ 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; } /** @@ -87,23 +125,66 @@ } /** * 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 ; } } VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/query/item/CheckInQueryItem.java
@@ -4,17 +4,17 @@ 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; // 公司主键 @@ -23,35 +23,35 @@ private String postName; // 移动电话 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; } /** @@ -60,7 +60,7 @@ public String getImagePath() { return imagePath; } /** * Set 图片地址 */ @@ -74,7 +74,7 @@ public String getCompanyName() { return companyName; } /** * Set 公司名称 */ @@ -85,29 +85,29 @@ /** * 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; } /** @@ -116,7 +116,7 @@ public String getDeptName() { return deptName; } /** * Set 部门名称 */ @@ -130,7 +130,7 @@ public String getCompanyId() { return companyId; } /** * Set 公司主键 */ @@ -144,7 +144,7 @@ public String getPostName() { return postName; } /** * Set 职位名称 */ @@ -158,7 +158,7 @@ public String getMobilePhone() { return mobilePhone; } /** * Set 移动电话 */ @@ -167,24 +167,24 @@ } /** * Get * Get */ public int getType() { public String getType() { return type; } /** * Set * Set */ public void setType(int type) { public void setType(String type) { this.type = type; } public String toString() { return ",人员主键 =" + id + ",人员名字 =" + name + ",图片地址 =" + imagePath + ",公司名称 =" + companyName + ",座机电话 =" + phone + ",证件编号 =" + identify + ",部门名称 =" + deptName + ",公司主键 =" + companyId + ",职位名称 =" + postName + ",移动电话 =" + mobilePhone + ", =" + type ; return ",人员主键 =" + registerId + ",人员名字 =" + username + ",图片地址 =" + imagePath + ",公司名称 =" + companyName + ",座机电话 =" + tel + ",证件编号 =" + identifyNum + ",部门名称 =" + deptName + ",公司主键 =" + companyId + ",职位名称 =" + postName + ",移动电话 =" + mobilePhone + ", =" + type ; } } VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/query/item/DeviceQueryItem.java
New file @@ -0,0 +1,76 @@ 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; } } VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/query/item/PhoneCallQueryItem.java
@@ -4,9 +4,9 @@ public class PhoneCallQueryItem { // 人员主键 private String id; private String registerId; // 人员名字 private String name; private String username; // 图片地址 private String imagePath; // 公司名称 @@ -29,29 +29,29 @@ /** * 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; } /** @@ -182,7 +182,7 @@ public String toString() { return ",人员主键 =" + id + ",人员名字 =" + name + ",图片地址 =" + imagePath + ",人员主键 =" + registerId + ",人员名字 =" + username + ",图片地址 =" + imagePath + ",公司名称 =" + companyName + ",座机电话 =" + tel + ",证件编号 =" + identifyNum + ",部门名称 =" + deptName + ",公司主键 =" + companyId + ",职位名称 =" + postName + ",移动电话 =" + mobilePhone + ", =" + type ; VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/query/item/RegisterQueryItem.java
New file @@ -0,0 +1,190 @@ 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 ; } } VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/query/item/VisitQueryItem.java
@@ -1,235 +1,57 @@ 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 人员名字 * Get 人员主键 */ public String getName() { return name; public String getRegisterId() { return registerId; } /** * Set 人员名字 * Set 人员主键 */ public void setName(String name) { this.name = name; } /** * Get 移动电话 */ public String getMobilePhone() { return mobilePhone; } /** * Set 移动电话 */ public void setMobilePhone(String mobilePhone) { this.mobilePhone = mobilePhone; } /** * Get 名称 */ public String getGender() { return gender; } /** * Set 名称 */ public void setGender(String gender) { this.gender = gender; } /** * Get 名称 */ public String getIdentityType() { return identityType; } /** * Set 名称 */ public void setIdentityType(String identityType) { this.identityType = identityType; } /** * Get 名称 */ public String getCountryName() { return countryName; } /** * Set 名称 */ public void setCountryName(String countryName) { this.countryName = countryName; } /** * Get 证件编号 */ public String getIdentifyNum() { return identifyNum; } /** * Set 证件编号 */ public void setIdentifyNum(String identifyNum) { this.identifyNum = identifyNum; } /** * 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; public void setRegisterId(String registerId) { this.registerId = registerId; } /** * Get 人员名字 */ public String getToPerson() { return toPerson; public String getUsername() { return username; } /** * 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() { return deptName; } /** * Set 部门名称 */ public void setDeptName(String deptName) { this.deptName = deptName; } /** * Get 最新的访问状态 */ public String getStatus() { return status; } /** * Set 最新的访问状态 */ public void setStatus(String status) { this.status = status; public void setUsername(String username) { this.username = username; } /** @@ -238,7 +60,7 @@ public String getImagePath() { return imagePath; } /** * Set 图片地址 */ @@ -246,13 +68,123 @@ 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 ",人员名字 =" + name + ",移动电话 =" + mobilePhone + ",名称 =" + gender + ",名称 =" + identityType + ",名称 =" + countryName + ",证件编号 =" + identifyNum + ",出生日期 =" + birthday + ",公司名称 =" + compnayName + ",人员名字 =" + toPerson + ",来访时间 =" + startTime + ",签离时间 =" + lastTime + ",访问事由 =" + bfsq + ",部门名称 =" + deptName + ",最新的访问状态 ="+ status + ",图片地址 =" + imagePath ; return ",人员主键 =" + registerId + ",人员名字 =" + username + ",图片地址 =" + imagePath + ",公司名称 =" + companyName + ",座机电话 =" + tel + ",证件编号 =" + identifyNum + ",部门名称 =" + deptName + ",公司主键 =" + companyId + ",职位名称 =" + postName + ",移动电话 =" + mobilePhone + ", =" + type ; } } VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/AttendanceFragment.java
@@ -93,8 +93,8 @@ 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()); VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/CheckInFragment.java
@@ -138,8 +138,8 @@ 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()); VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/VisitFragment.java
@@ -97,20 +97,20 @@ } 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()); } VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/service/CheckInMng.java
@@ -57,7 +57,7 @@ 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); @@ -87,8 +87,8 @@ 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); VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/service/PhoneCallMng.java
@@ -37,7 +37,7 @@ 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); @@ -63,8 +63,8 @@ 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); VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/util/AppApi.java
@@ -16,7 +16,7 @@ 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"; VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/widget/checkin/CheckInRightIntervieweeCell.java
@@ -46,7 +46,7 @@ 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())); @@ -58,12 +58,12 @@ @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(); } } VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/widget/checkin/CheckInRightVisitorCell.java
@@ -44,10 +44,10 @@ 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())); } VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/widget/phonecall/PhoneCallRightIntervieweeCell.java
@@ -46,7 +46,7 @@ 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()));