This commit is contained in:
2021-01-20 21:51:15 +08:00
parent 29f2f2f7ef
commit 52a82c50ab
10 changed files with 114 additions and 43 deletions

View File

@@ -35,6 +35,7 @@ public class DBUser {
this.name = d.getString("name");
this.phone = d.getString("extn");
this.status = d.getString("sip_state");
status = status == null ? "" : status;
String weight = d.getString("weight");
if (weight != null) {
this.isManager = weight.equals("1") ? true : false;